Changeset 17425 in josm for trunk


Ignore:
Timestamp:
2020-12-23T08:02:18+01:00 (2 months ago)
Author:
GerdP
Message:

fix #20031: area:highway validation produces false positive "Overlapping ways"

  • add area:highway to the list of tags that describe an area so that it is ignored by the OverlappingWays test
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java

    r17350 r17425  
    11181118     */
    11191119    public final boolean hasAreaTags() {
    1120         return hasKey("building", "landuse", "amenity", "shop", "building:part", "boundary", "historic", "place")
     1120        return hasKey("building", "landuse", "amenity", "shop", "building:part", "boundary", "historic", "place", "area:highway")
    11211121                || hasTag("area", OsmUtils.TRUE_VALUE)
    11221122                || hasTag("waterway", "riverbank")
Note: See TracChangeset for help on using the changeset viewer.