Skip to content

Commit

Permalink
OSMUtils: Treat amenity as area in heuristic
Browse files Browse the repository at this point in the history
  • Loading branch information
devemux86 committed Nov 28, 2016
1 parent 24dbae4 commit 240f3d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public static boolean isArea(Way way) {
} }
} }
// as specified by http://wiki.openstreetmap.org/wiki/Key:area // as specified by http://wiki.openstreetmap.org/wiki/Key:area
if ("aeroway".equals(key) || "building".equals(key) || "landuse".equals(key) || "leisure".equals(key) || "natural".equals(key)) { if ("aeroway".equals(key) || "building".equals(key) || "landuse".equals(key) || "leisure".equals(key) || "natural".equals(key) || "amenity".equals(key)) {
return true; return true;
} }
if ("highway".equals(key) || "barrier".equals(key)) { if ("highway".equals(key) || "barrier".equals(key)) {
Expand Down

0 comments on commit 240f3d7

Please sign in to comment.