Ignore:
Timestamp:
2016-01-06T09:33:48+01:00 (10 years ago)
Author:
malcolmh
Message:

[Seachart] update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachart/src/s57/S57osm.java

    r31846 r31955  
    4747                OSMtags.put("landuse=industrial", new KeyVal<>(Obj.BUAARE, Att.UNKATT, null, null)); OSMtags.put("landuse=commercial", new KeyVal<>(Obj.BUAARE, Att.UNKATT, null, null));
    4848                OSMtags.put("landuse=retail", new KeyVal<>(Obj.BUAARE, Att.UNKATT, null, null)); OSMtags.put("landuse=residential", new KeyVal<>(Obj.BUAARE, Att.UNKATT, null, null));
    49         }
     49                OSMtags.put("place=city", new KeyVal<>(Obj.BUAARE, Att.CATBUA, Conv.E, CatBUA.BUA_CITY)); OSMtags.put("place=town", new KeyVal<>(Obj.BUAARE, Att.CATBUA, Conv.E, CatBUA.BUA_TOWN));
     50                OSMtags.put("place=village", new KeyVal<>(Obj.BUAARE, Att.CATBUA, Conv.E, CatBUA.BUA_VLLG));
     51                }
    5052       
    5153        public static KeyVal<?> OSMtag(String key, String val) {
     
    142144                                                                }
    143145                                                        }
    144                                                         map.addToEdge(ref);
     146                                                        try {
     147                                                                map.addToEdge(ref);
     148                                                        } catch (Exception e) {
     149                                                                inWay = false;
     150                                                        }
    145151                                                }
    146152                                                if (ln.contains("</way")) {
Note: See TracChangeset for help on using the changeset viewer.