mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-30 01:16:30 +02:00
Refine area detection.
This commit is contained in:
parent
6fd81909a4
commit
2a723f74bd
1 changed files with 1 additions and 0 deletions
|
@ -282,6 +282,7 @@ class Constructor:
|
||||||
)
|
)
|
||||||
if not (
|
if not (
|
||||||
line.get_tag("area") == "yes"
|
line.get_tag("area") == "yes"
|
||||||
|
or line.get_tag("type") == "multipolygon"
|
||||||
or is_cycle(outers[0])
|
or is_cycle(outers[0])
|
||||||
and line.get_tag("area") != "no"
|
and line.get_tag("area") != "no"
|
||||||
and self.scheme.is_area(line.tags)
|
and self.scheme.is_area(line.tags)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue