Refine area detection.

This commit is contained in:
Sergey Vartanov 2021-10-14 23:43:55 +03:00
parent 6fd81909a4
commit 2a723f74bd

View file

@ -282,6 +282,7 @@ class Constructor:
)
if not (
line.get_tag("area") == "yes"
or line.get_tag("type") == "multipolygon"
or is_cycle(outers[0])
and line.get_tag("area") != "no"
and self.scheme.is_area(line.tags)