a-b-street / osm2lanes

A common library and set of test cases for transforming OSM tags to lane specifications
https://a-b-street.github.io/osm2lanes/
Apache License 2.0
33 stars 2 forks source link

Support Way 246047719 #182

Open droogmic opened 2 years ago

droogmic commented 2 years ago

An interesting road with bus lanes, cycle lanes, and electric vehicle lanes.

It breaks today without warning: the bus lane is sandwiched between 2 car lanes, and the roundtrip has bus:lanes=|||designated||||

As of writing, the input is:

bicycle:lanes=||designated
bus:lanes=|designated|
cycleway:right=lane
cycleway:right:width=2
electric_vehicle:lanes=|no|
highway=trunk
lanes=3
maxspeed=40
motor_vehicle:lanes=|no|no
name=Dronning Eufemias gate
oneway=yes
placement=right_of:1
ref=E 18
surface=asphalt
surface:colour:lanes=||red
width:lanes=3|3|2
wikidata=Q11966089

The roundtrip is:

bus:lanes=|||designated||||
cycleway:right=lane
cycleway:right:oneway=yes
highway=trunk
lanes=3
maxspeed=40
oneway=yes
shoulder=no
sidewalk=no