Changeset 19985 in osm
- Timestamp:
- 2010-02-13T10:11:36+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/tracer/src/org/openstreetmap/josm/plugins/tracer/ConnectWays.java
r19927 r19985 143 143 continue; 144 144 } 145 146 if(m.get(ww) != null){ 147 ww = m.get(ww); 148 } 149 145 150 for (Pair<Node, Node> np : ww.getNodePairs(false)) { 146 151 double dist = TracerGeometry.distanceFromSegment(ll, np.a.getCoor(), np.b.getCoor()); … … 155 160 if (minDist < MIN_DISTANCE_TW) { 156 161 Way newNWay = new Way(nearestWay); 157 158 if(m.get(nearestWay) != null){159 newNWay = m.get(nearestWay);160 m.remove(nearestWay);161 }162 162 163 163 newNWay.addNode(nearestNodeIndex + 1, node);
Note:
See TracChangeset
for help on using the changeset viewer.