Changeset 33505 in osm for applications/editors/josm/plugins
- Timestamp:
- 2017-08-17T13:05:50+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/validation/WayChecker.java
r33453 r33505 80 80 isUnderConstruction = true; 81 81 } 82 } else if (relation.hasTag("route", "subway")) { 83 if (!way.hasTag("railway", "subway")) { 84 isCorrectRoadType = false; 85 } 86 if (way.hasTag("railway", "construction")) { 87 isUnderConstruction = true; 88 } 89 } else if (relation.hasTag("route", "light_rail")) { 82 } else if (relation.hasTag("route", "subway", "light_rail")) { 90 83 if (!way.hasTag("railway", "subway")) { 91 84 isCorrectRoadType = false; … … 102 95 } 103 96 } else if (relation.hasTag("route", "train")) { 104 if (!way.hasTag("railway", "rail" )) {97 if (!way.hasTag("railway", "rail", "narrow_gauge")) { 105 98 isCorrectRoadType = false; 106 99 }
Note:
See TracChangeset
for help on using the changeset viewer.