Changeset 11600 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-02-22T23:41:08+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r11587 r11600 1353 1353 */ 1354 1354 public final boolean hasAreaTags() { 1355 return hasKey("landuse" )1355 return hasKey("landuse", "amenity", "leisure", "building", "building:part") 1356 1356 || "yes".equals(get("area")) 1357 1357 || "riverbank".equals(get("waterway")) 1358 || hasKey("natural", "amenity", "leisure", "building", "building:part"); 1358 || hasTag("natural", "water", "wood", "scrub", "wetland", "grassland", "heath", "rock", "bare_rock", 1359 "sand", "beach", "scree", "bay", "glacier", "shingle", "fell", "reef", "stone", 1360 "mud", "landslide", "sinkhole", "crevasse", "desert"); 1359 1361 } 1360 1362
Note:
See TracChangeset
for help on using the changeset viewer.