Changeset 14452 in josm


Ignore:
Timestamp:
2018-11-25T18:18:55+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #16889 - better handling of trams in CrossingWays test

File:
1 edited

Legend:

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

    r14386 r14452  
    330330
    331331    static boolean isSubwayOrTramOrRazed(OsmPrimitive w) {
    332         return w.hasTag(RAILWAY, "subway", "tram", "razed");
     332        return w.hasTag(RAILWAY, "subway", "tram", "razed") ||
     333              (w.hasTag(RAILWAY, "construction") && w.hasTag("construction", "tram")) ||
     334              (w.hasTag(RAILWAY, "disused") && w.hasTag("disused", "tram"));
    333335    }
    334336
Note: See TracChangeset for help on using the changeset viewer.