Fix #8584
This commit is contained in:
parent
040cf1c61f
commit
8e6028c6a4
1 changed files with 2 additions and 1 deletions
|
@ -176,7 +176,8 @@ public class EntityParser {
|
||||||
amenitiesList.clear();
|
amenitiesList.clear();
|
||||||
// it could be collection of amenities
|
// it could be collection of amenities
|
||||||
boolean relation = entity instanceof Relation;
|
boolean relation = entity instanceof Relation;
|
||||||
boolean purerelation = relation && !"multipolygon".equals(tags.get("type"));
|
boolean purerelation = relation &&
|
||||||
|
!("multipolygon".equals(tags.get("type")) || "boundary".equals(tags.get("type")));
|
||||||
Collection<Map<String, String>> it = MapRenderingTypes.splitTagsIntoDifferentObjects(tags);
|
Collection<Map<String, String>> it = MapRenderingTypes.splitTagsIntoDifferentObjects(tags);
|
||||||
for (Map<String, String> ts : it) {
|
for (Map<String, String> ts : it) {
|
||||||
for (Map.Entry<String, String> e : ts.entrySet()) {
|
for (Map.Entry<String, String> e : ts.entrySet()) {
|
||||||
|
|
Loading…
Reference in a new issue