Changeset 31027 in osm for applications/editors/josm/plugins/seachart/src/s57/S57obj.java
- Timestamp:
- 2015-02-19T21:52:40+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/src/s57/S57obj.java
r31014 r31027 178 178 } 179 179 180 private static final HashMap<String, Obj> OSMtags = new HashMap<String, Obj>();181 static {182 OSMtags.put("natural=coastline", Obj.COALNE); OSMtags.put("natural=water", Obj.LAKARE);183 OSMtags.put("waterway=riverbank", Obj.RIVBNK); OSMtags.put("waterway=river", Obj.RIVERS); OSMtags.put("waterway=canal", Obj.CANALS);184 OSMtags.put("wetland=tidalflat", Obj.DEPARE);185 }186 187 public static Obj OSMobj(String key, String val) {188 Obj obj = OSMtags.get(key + "=" + val);189 if (obj != null) {190 return obj;191 }192 return Obj.UNKOBJ;193 }194 195 180 }
Note:
See TracChangeset
for help on using the changeset viewer.
