mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-05 20:31:51 +02:00
Fix area detection.
This commit is contained in:
parent
918e9a7022
commit
3ee56a2f6d
2 changed files with 8 additions and 4 deletions
|
@ -269,9 +269,10 @@ class Constructor:
|
|||
|
||||
road_matcher: RoadMatcher = self.scheme.get_road(line.tags)
|
||||
if road_matcher:
|
||||
self.roads.append(
|
||||
Road(line.tags, outers[0], road_matcher, self.flinger)
|
||||
road: Road = Road(
|
||||
line.tags, outers[0], road_matcher, self.flinger, self.scheme
|
||||
)
|
||||
self.roads.append(road)
|
||||
return
|
||||
|
||||
processed: set[str] = set()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue