Permalink
Browse files

OSMUtils: Treat amenity as area in heuristic

  • Loading branch information...
1 parent 24dbae4 commit 240f3d73d115f242565b47cbed3f6f21ef7783e0 @devemux86 devemux86 committed Nov 28, 2016
@@ -249,7 +249,7 @@ public static boolean isArea(Way way) {
}
}
// 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;
}
if ("highway".equals(key) || "barrier".equals(key)) {

0 comments on commit 240f3d7

Please sign in to comment.