Changeset 11155 in josm for trunk/src/org
- Timestamp:
- 2016-10-23T22:21:34+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/CrossingWays.java
r11136 r11155 59 59 && ((w.hasKey(HIGHWAY) && !w.hasTag(HIGHWAY, "rest_area", "services")) 60 60 || w.hasKey(WATERWAY) 61 || (w.hasKey(RAILWAY) && !isSubwayOrTram (w))61 || (w.hasKey(RAILWAY) && !isSubwayOrTramOrRazed(w)) 62 62 || isCoastline(w) 63 63 || isBuilding(w)); … … 74 74 return true; 75 75 } 76 if (isSubwayOrTram (w2)) {76 if (isSubwayOrTramOrRazed(w2)) { 77 77 return true; 78 78 } … … 240 240 } 241 241 242 static boolean isSubwayOrTram (OsmPrimitive w) {243 return w.hasTag(RAILWAY, "subway", "tram" );242 static boolean isSubwayOrTramOrRazed(OsmPrimitive w) { 243 return w.hasTag(RAILWAY, "subway", "tram", "razed"); 244 244 } 245 245
Note:
See TracChangeset
for help on using the changeset viewer.