Changeset 10528 in josm


Ignore:
Timestamp:
2016-07-13T00:04:04+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #13069 - "Crossing waterways" reported for waterway=stream + waterway=riverbank (patch by Klumbumbus)

File:
1 edited

Legend:

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

    r10250 r10528  
    8383                return true;
    8484            }
    85             if ((w1.hasTag(WATERWAY, "river") && w2.hasTag(WATERWAY, "riverbank"))
    86                     || (w2.hasTag(WATERWAY, "river") && w1.hasTag(WATERWAY, "riverbank"))) {
     85            if ((w1.hasTag(WATERWAY, "river", "stream", "canal", "drain", "ditch") && w2.hasTag(WATERWAY, "riverbank"))
     86             || (w2.hasTag(WATERWAY, "river", "stream", "canal", "drain", "ditch") && w1.hasTag(WATERWAY, "riverbank"))) {
    8787                return true;
    8888            }
Note: See TracChangeset for help on using the changeset viewer.