Issue #84: fix default road width.

This commit is contained in:
Sergey Vartanov 2021-09-19 16:35:45 +03:00
parent b235e7b954
commit 5777412441

View file

@ -379,7 +379,7 @@ class Road(Tagged):
self.line: Polyline = Polyline(
[flinger.fling(x.coordinates) for x in self.nodes]
)
self.width: Optional[float] = 5
self.width: Optional[float] = matcher.default_width
self.lanes: list[Lane] = []
if "lanes" in tags: