Changeset 9442 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2016-01-14T17:46:39+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java
r9245 r9442 610 610 if (rm.isWay() && rm.getMember() == way) { 611 611 boolean insert = true; 612 if ("restriction".equals(type) ) {612 if ("restriction".equals(type) || "destination_sign".equals(type)) { 613 613 /* this code assumes the restriction is correct. No real error checking done */ 614 614 String role = rm.getRole(); … … 616 616 OsmPrimitive via = null; 617 617 for (RelationMember rmv : r.getMembers()) { 618 if ("via".equals(rmv.getRole())) { 618 if ("restriction".equals(type) && "via".equals(rmv.getRole()) 619 || "destination_sign".equals(type) && "sign".equals(rmv.getRole())) { 619 620 via = rmv.getMember(); 620 621 }
Note:
See TracChangeset
for help on using the changeset viewer.