Changeset 19068 in josm for trunk/src


Ignore:
Timestamp:
2024-05-02T06:50:23+02:00 (5 months ago)
Author:
GerdP
Message:

fix #23652 Wrong warning for elevator

  • don't check different layers when the node is tagged with highway=elevator
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/Highways.java

    r19034 r19068  
    310310     */
    311311    private void testDifferentLayers(Node connection) {
     312        if (connection.hasTag("highway", "elevator"))
     313            return;
    312314        List<Way> ways = connection.getParentWays();
    313315        ways.removeIf(w -> !w.hasTag("highway") || w.hasTag("highway", "steps") || isSpecialArea(w));
Note: See TracChangeset for help on using the changeset viewer.