Changeset 33445 in osm for applications


Ignore:
Timestamp:
2017-07-14T17:30:34+02:00 (7 years ago)
Author:
giackserva
Message:

[pt_assistant] changed conditions of the search for close stop positions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/data/PTStop.java

    r33440 r33445  
    155155            if (platformBBox.bounds(currentNode.getBBox())
    156156                    && currentNode.hasTag("public_transport", "stop_position")
    157                     && ((platName == null || nodeName == null)
    158                         || platName.equals(nodeName))) {
    159                     potentialStopPositions.add(currentNode);
     157                    && (platName != null && nodeName != null)
     158                    && platName.equals(nodeName)) {
     159                potentialStopPositions.add(currentNode);
    160160            }
    161161        }
Note: See TracChangeset for help on using the changeset viewer.