- Timestamp:
- 2019-02-09T21:02:50+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/Highways.java
r14772 r14775 250 250 Node n = way.getNode(nodePos); 251 251 int oneway = way.isOneway(); 252 if (oneway == 0) { 253 if ("roundabout".equals(way.get("junction"))) { 254 oneway = 1; 255 } 252 if (oneway == 0 && "roundabout".equals(way.get("junction"))) { 253 oneway = 1; 256 254 } 257 255 … … 291 289 private static boolean onlySharpAngle(Node common, Node from, Way toWay) { 292 290 int oneway = toWay.isOneway(); 293 if (oneway == 0) { 294 if ("roundabout".equals(toWay.get("junction"))) { 295 oneway = 1; 296 } 291 if (oneway == 0 && "roundabout".equals(toWay.get("junction"))) { 292 oneway = 1; 297 293 } 298 294
Note:
See TracChangeset
for help on using the changeset viewer.