diff --git a/map_machine/feature/road.py b/map_machine/feature/road.py index a9de30c..20005fe 100644 --- a/map_machine/feature/road.py +++ b/map_machine/feature/road.py @@ -393,12 +393,15 @@ class Road(Tagged): pass if "width:lanes" in tags: - widths: list[float] = list( - map(float, tags["width:lanes"].split("|")) - ) - if len(widths) == len(self.lanes): - for index, lane in enumerate(self.lanes): - lane.width = widths[index] + try: + widths: list[float] = list( + map(float, tags["width:lanes"].split("|")) + ) + if len(widths) == len(self.lanes): + for index, lane in enumerate(self.lanes): + lane.width = widths[index] + except ValueError: + pass number: int if "lanes:forward" in tags: diff --git a/map_machine/icons/icons.svg b/map_machine/icons/icons.svg index 8ce750a..0714200 100644 --- a/map_machine/icons/icons.svg +++ b/map_machine/icons/icons.svg @@ -148,9 +148,9 @@ showgrid="true" inkscape:document-units="px" inkscape:current-layer="layer1" - inkscape:cy="241.03502" - inkscape:cx="152.29312" - inkscape:zoom="11.313708" + inkscape:cy="172.5" + inkscape:cx="421" + inkscape:zoom="8" inkscape:pageshadow="2" inkscape:pageopacity="0.0" borderopacity="1.0" @@ -24009,5 +24009,34 @@