Changeset 17348 in josm for trunk/src/org


Ignore:
Timestamp:
2020-11-24T07:06:01+01:00 (3 years ago)
Author:
GerdP
Message:

fix #20089: Don't flag railway=rail crossing railway=yard

  • ignore crossings of ways if one is railway=yard and the other is not and both have the railway key
File:
1 edited

Legend:

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

    r16630 r17348  
    127127            if (isSubwayOrTramOrRazed(w2)) {
    128128                return true;
     129            }
     130            if (w1.hasKey(RAILWAY) && w2.hasKey(RAILWAY) && w1.hasTag(RAILWAY, "yard") != w2.hasTag(RAILWAY, "yard")) {
     131                return true; // see #20089
    129132            }
    130133            if (isCoastline(w1) != isCoastline(w2)) {
Note: See TracChangeset for help on using the changeset viewer.