Ignore:
Timestamp:
2009-11-02T08:53:38+01:00 (15 years ago)
Author:
jttt
Message:

Replace Dataset.nodes with getNodes(), etc

Location:
applications/editors/josm/plugins/routing
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/routing/build.xml

    r18404 r18415  
    4444                <attribute name="Plugin-Description" value="Provides routing capabilities."/>
    4545                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Routing"/>
    46                 <attribute name="Plugin-Mainversion" value="2323"/>
     46                <attribute name="Plugin-Mainversion" value="2381"/>
    4747                <attribute name="Plugin-Stage" value="50"/>
    4848                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
  • applications/editors/josm/plugins/routing/src/com/innovant/josm/jrt/core/RoutingGraph.java

    r17544 r18415  
    130130        rgDelegator.setRouteType(this.routeType);
    131131        // iterate all ways and segments for all nodes:
    132         for (Way way : data.ways) {
     132        for (Way way : data.getWays()) {
    133133            if (way != null && !way.isDeleted() && this.isvalidWay(way)) {
    134134                Node from = null;
  • applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingLayer.java

    r17544 r18415  
    133133        Node nearest = null;
    134134        double minDist = 0;
    135         for (Way w : dataLayer.data.ways) {
     135        for (Way w : dataLayer.data.getWays()) {
    136136            if (w.isDeleted() || w.incomplete || w.get("highway")==null) continue;
    137137            for (Node n : w.getNodes()) {
Note: See TracChangeset for help on using the changeset viewer.