Ignore:
Timestamp:
2018-04-23T23:46:31+02:00 (10 months ago)
Author:
Don-vip
Message:

fix #16188 - Detect crossing of residential areas (patch by marxin, modified)

File:
1 edited

Legend:

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

    r12864 r13671  
    347347    }
    348348
     349    /**
     350     * Determines if the specified primitive denotes a residential area.
     351     * @param p The primitive to be tested
     352     * @return True if landuse key is equal to residential
     353     */
     354    protected static final boolean isResidentialArea(OsmPrimitive p) {
     355        return p.hasTag("landuse", "residential");
     356    }
     357
    349358    @Override
    350359    public int hashCode() {
Note: See TracChangeset for help on using the changeset viewer.