Changeset 15093 in josm for trunk/src


Ignore:
Timestamp:
2019-05-18T19:44:52+02:00 (5 years ago)
Author:
Klumbumbus
Message:

see #17727, fix #17731 - add natural=strait (icon self created, CC0 and PD licensed)

Location:
trunk/src/org/openstreetmap/josm/data/validation/tests
Files:
2 edited

Legend:

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

    r15081 r15093  
    8484
    8585    private boolean ignoreWay(Way w) {
    86         return visitedWays.contains(w) || w.hasTag("route", "ferry") || w.hasTag("bay", "fjord");
     86        return visitedWays.contains(w) || w.hasTag("route", "ferry") || w.hasTag("bay", "fjord") || w.hasTag("natural", "strait");
    8787    }
    8888
  • trunk/src/org/openstreetmap/josm/data/validation/tests/UnclosedWays.java

    r15081 r15093  
    139139        new UnclosedWaysCheck(1101, "natural", marktr("natural type {0}"),
    140140            new HashSet<>(Arrays.asList("arete", "bay", "cave", "cliff", "coastline", "gorge", "gully", "peak",
    141                             "ridge", "saddle", "tree", "tree_row", "valley", "volcano"))),
     141                            "ridge", "saddle", "strait", "tree", "tree_row", "valley", "volcano"))),
    142142
    143143        new UnclosedWaysCheck(1102, "landuse", marktr("landuse type {0}")),
Note: See TracChangeset for help on using the changeset viewer.