Changeset 18415 in osm for applications/editors/josm/plugins/routing/src/com
- Timestamp:
- 2009-11-02T08:53:38+01:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/routing/src/com/innovant/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/routing/src/com/innovant/josm/jrt/core/RoutingGraph.java
r17544 r18415 130 130 rgDelegator.setRouteType(this.routeType); 131 131 // iterate all ways and segments for all nodes: 132 for (Way way : data. ways) {132 for (Way way : data.getWays()) { 133 133 if (way != null && !way.isDeleted() && this.isvalidWay(way)) { 134 134 Node from = null; -
applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingLayer.java
r17544 r18415 133 133 Node nearest = null; 134 134 double minDist = 0; 135 for (Way w : dataLayer.data. ways) {135 for (Way w : dataLayer.data.getWays()) { 136 136 if (w.isDeleted() || w.incomplete || w.get("highway")==null) continue; 137 137 for (Node n : w.getNodes()) {
Note:
See TracChangeset
for help on using the changeset viewer.