Changeset 11608 in josm for trunk/src/org/openstreetmap/josm/data/validation/tests/Coastlines.java
- Timestamp:
- 2017-02-25T03:14:20+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/Coastlines.java
r11129 r11608 251 251 252 252 private static boolean isCoastline(OsmPrimitive osm) { 253 return osm instanceof Way && "coastline".equals(osm.get("natural"));253 return osm instanceof Way && osm.hasTag("natural", "coastline"); 254 254 } 255 255
Note:
See TracChangeset
for help on using the changeset viewer.