Changeset 34187 in osm
- Timestamp:
- 2018-05-10T22:33:58+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/routing/src/com/innovant/josm/jrt/core/RoutingGraph.java
r33794 r34187 13 13 import org.jgrapht.alg.DijkstraShortestPath; 14 14 import org.jgrapht.graph.DirectedWeightedMultigraph; 15 import org.openstreetmap.josm.data.coor.LatLon;16 15 import org.openstreetmap.josm.data.osm.DataSet; 17 16 import org.openstreetmap.josm.data.osm.Node; … … 219 218 */ 220 219 private void addEdge(Way way, Node from, Node to) { 221 LatLon fromLL = from.getCoor(); 222 LatLon toLL = from.getCoor(); 223 if (fromLL == null || toLL == null) { 220 if (!from.isLatLonKnown() || !to.isLatLonKnown()) { 224 221 return; 225 222 }
Note:
See TracChangeset
for help on using the changeset viewer.