Changeset 15364 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2019-09-19T16:37:15+02:00 (5 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r15007 r15364 74 74 "waterway=stream | waterway=river | waterway=ditch | waterway=drain | "+ 75 75 "(\"piste:type\"=downhill & -area=yes) | (\"piste:type\"=sled & -area=yes) | (man_made=\"piste:halfpipe\" & -area=yes) | "+ 76 "junction= roundabout | (highway=motorway & -oneway=no & -oneway=reversible) | "+76 "junction=circular | junction=roundabout | (highway=motorway & -oneway=no & -oneway=reversible) | "+ 77 77 "(highway=motorway_link & -oneway=no & -oneway=reversible)"; 78 78 -
trunk/src/org/openstreetmap/josm/data/validation/tests/Highways.java
r14779 r15364 97 97 public void visit(Way w) { 98 98 if (w.isUsable()) { 99 if (w.isClosed() && w.hasTag(HIGHWAY, CLASSIFIED_HIGHWAYS) && w.hasTag("junction", " roundabout")99 if (w.isClosed() && w.hasTag(HIGHWAY, CLASSIFIED_HIGHWAYS) && w.hasTag("junction", "circular", "roundabout") 100 100 && IN_DOWNLOADED_AREA_STRICT.test(w)) { 101 101 // TODO: find out how to handle splitted roundabouts (see #12841) … … 191 191 // But if we have more than a single adjacent class, and one of them is a roundabout, that's an error 192 192 for (Way w : sameClass) { 193 if (w.hasTag("junction", " roundabout")) {193 if (w.hasTag("junction", "circular", "roundabout")) { 194 194 return false; 195 195 } -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/RelationSortUtils.java
r12658 r15364 32 32 33 33 static Direction roundaboutType(Way w) { 34 if (w != null && w.hasTag("junction", " roundabout")) {34 if (w != null && w.hasTag("junction", "circular", "roundabout")) { 35 35 int nodesCount = w.getNodesCount(); 36 36 if (nodesCount > 2 && nodesCount < 200) {
Note:
See TracChangeset
for help on using the changeset viewer.