Hi all. This is the first time I have to map bicycle lanes on one way streets.
I consulted https://wiki.openstreetmap.org/wiki/Bicycle and checked the options.
Are the following tags correct for the linked picture below?
highway=residential + oneway=yes + cycleway:right=lane + cycleway:left=opposite_lane
Thanks
Martin

hadw
2
The easy part is that there is no right hand cycle lane.
Apart from that, I canât work out whether the whole road is one way, or this is just a restricted access junction. In the latter case, there is a specific way of mapping a junction with a cycle counterflow. Unfortunately someone has gone and micromapped my reference example.
In the former case, I still have the problem that there doesnât seem to be a lane on the left, except for the length of the yellow marking.
Tordanik
(Tobias Knerr)
3
I donât see any physical cycle lanes there (although Iâm not familiar with that style of markings, so take that with a grain of salt). Therefore, Iâd tag it as follows:
highway=residential
- oneway=yes
- oneway:bicycle=no
Add cycleway=opposite (older synonym of oneway:bicycle=no) for backwards compatibility.
I assume oneway:bicycle=no means that bicycles are not allowed in the direction of the one way?
But if you take a look on the traffic sign in the picture, bicycles are allowed in both directions whereas the opposite lane got additional markings on the road.
Maybe I should have been more precise in my first post âŠ

hadw
5
A reversed oneway is done with oneway=-1. oneway=no means two way.
Thanks hadw. So the correct tagging would be
highway=residential
oneway=yes
oneway:bicycle=-1
I would recommend: âoneway:bicycle=noâ as oneway:bicycle=no means, as intended, two way for bicycles.
Most likely â-1â would be read by navigation software as ânoâ, but ânoâ is preferred and more readable.
Thanks Martin. I have updated osm and the referenced street.
Can someone check if this is ok?
http://www.openstreetmap.org/way/5086421#map=17/47.36104/8.53291
escada
(Escada)
9
I would expect that oneway:bicycle means a one way street for cyclists in the opposite direction the OSM way is drawn.
muralito
(Muralito)
10
Isnât cicleway=shared_lane a better option? https://wiki.openstreetmap.org/wiki/Proposed_features/shared_lane
Also, donât forget to set tag maxpeed=30 (assuming the sign â30â in the asphalt), so car navigation avoid this street.
If you look at https://wiki.openstreetmap.org/wiki/Bicycle#Bicycle_Restrictions, then oneway:bicycle=no is THE solution to indicate that the street generally has oneway traffic, except for bicycles.
The shared_lane does not give any clue that for bicycles two directional traffic is allowed.
One could use cycleway=opposite, but the tagging oneway;bicycle=no is imho more explicit towards the (no) oneway feature as there is no opposite cycleway often
Tags as opposite_lane do not necessarily have to be true; at least in many small streets in Netherlands, Belgium, Germany opposite to general oneway restriction of bicycle traffic is allowed without a separate lane for the opposite bicycle traffic, where âlaneâ suggests differently.
That is a really strange behaviour!
I donât know the details of Graphhopper; you should ask them. Apparently Mapzen does the correct job.
Why (if?) Grashopper prefers service roads over residential is unclear as that would then be the behaviour in the other direction as well.
Maybe wait a moment to allow all databases to be updated?
Sure Martin. The strange behavior is still there. I assume after an hour the databases are updated.
Therefore I created a bug for graphhopper: https://github.com/graphhopper/graphhopper/issues/1255
escada
(Escada)
15
@sandstorm, the routing databases take much more time than 1 hour to update, typically a day or more.