Changeset 7899 in josm
- Timestamp:
- 2014-12-27T19:17:39+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/Highways.java
r7309 r7899 86 86 public void visit(Node n) { 87 87 if (n.isUsable()) { 88 if (!n.hasTag("highway", "crossing") && !n.hasTag("crossing", "no") && n.isReferredByWays(2)) { 88 if (!n.hasTag("crossing", "no") 89 && !(n.hasKey("crossing") && (n.hasTag("highway", "crossing") || n.hasTag("highway", "traffic_signals"))) 90 && n.isReferredByWays(2)) { 89 91 testMissingPedestrianCrossing(n); 90 92 } … … 151 153 152 154 final HashSet<OsmPrimitive> referrers = new HashSet<>(); 153 154 if (way.isClosed()) { 155 156 if (way.isClosed()) { 155 157 // for closed way we need to check all adjacent ways 156 158 for (Node n: way.getNodes()) {
Note:
See TracChangeset
for help on using the changeset viewer.