Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

cycle track is auto-filled to cycle lane #223

Open
westnordost opened this issue Jun 12, 2022 · 1 comment
Open

cycle track is auto-filled to cycle lane #223

westnordost opened this issue Jun 12, 2022 · 1 comment

Comments

@westnordost
Copy link

Inputting in https://a-b-street.github.io/osm2lanes/

highway=residential
cycleway=track

auto-fills to

cycleway:both=lane
cycleway:left:oneway=-1
cycleway:right:oneway=yes
highway=residential
lanes=2
lanes:backward=1
lanes:forward=1
shoulder=no
sidewalk=no

Now, where does the cycle lane come from?

@droogmic
Copy link
Collaborator

the lanes to tags parsing does not yet know how to differentiate a lane from a track, so it defaults to lane:
https://github.com/a-b-street/osm2lanes/blob/main/osm2lanes/src/transform/lanes_to_tags/mod.rs#L355-L357

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants