Changeset 18323 in josm for trunk/src/org
- Timestamp:
- 2021-11-12T11:23:59+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/CrossingWays.java
r17896 r18323 126 126 if (isWaterArea(w1) && isWaterArea(w2)) 127 127 return true; // handled by mapcss tests 128 if (w1.hasKey(RAILWAY) && w2.hasKey(RAILWAY) && w1.hasTag(RAILWAY, "yard") != w2.hasTag(RAILWAY, "yard")) {129 return true; // see #20089130 }128 if (w1.hasKey(RAILWAY) && w2.hasKey(RAILWAY) && (w1.hasTag(RAILWAY, "yard") != w2.hasTag(RAILWAY, "yard") 129 || w1.hasTag(RAILWAY, "halt") != w2.hasTag(RAILWAY, "halt"))) 130 return true; // see #20089, #21541 131 131 return (w1.hasTag(WATERWAY, "river", "stream", "canal", "drain", "ditch") && isWaterArea(w2)) 132 132 || (w2.hasTag(WATERWAY, "river", "stream", "canal", "drain", "ditch") && isWaterArea(w1));
Note:
See TracChangeset
for help on using the changeset viewer.