Changeset 16804 in josm for trunk/src


Ignore:
Timestamp:
2020-07-22T20:11:12+02:00 (4 years ago)
Author:
GerdP
Message:

see #19568: Don't complain about highway ending near other highway for railway platforms

  • treat also highway node that is connected to a railway=platform_edge like one connected to a building.
File:
1 edited

Legend:

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

    r16802 r16804  
    102102                    || n.isKeyTrue("noexit")
    103103                    || n.hasKey("entrance", "barrier")
    104                     || n.getParentWays().stream().anyMatch(p -> isBuilding(p) || p.hasTag(RAILWAY, "platform"));
     104                    || n.getParentWays().stream().anyMatch(p -> isBuilding(p) || p.hasTag(RAILWAY, "platform", "platform_edge"));
    105105        }
    106106    }
Note: See TracChangeset for help on using the changeset viewer.