osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.67k stars 1.02k forks source link

One way rode, zone 30, and biking #10462

Closed letypequividelespoubelles closed 3 years ago

letypequividelespoubelles commented 3 years ago

🚀 feature request

Description

In France, in "zone 30", one way road are always bidirectionnal for bike, unless it is explicitly written it's not. This come from a 2018 law. But OSMAnd doesn't take this law into account and so the bike routing in France in city is usually not so good.

Describe the solution you'd like

OSMAnd should consider french one-way zone 30 road as bidirectional for bikes, unless it is explicitly tagged as also one-way for bike.

For information, a french zone 30 way is tagged with "source:maxspeed=FR:zone30". Beware, take all road with "maxspeed=30" is not enough because it can not be a "zone 30". A one-way zone 30 which is explicitly also one-way for bike (it's not common, but it happens) is tagged with "oneway:bicycle=yes"

Describe alternatives you've considered

None. Thank you all for this wonderfull app.

xmd5a2 commented 3 years ago

Can you give an example of problematic road? Do I understand correctly that ALL roads are bidirectional in zone 30? If yes, why not just remove all oneway tags from OSM database?

letypequividelespoubelles commented 3 years ago

Do I understand correctly that ALL roads are bidirectional in zone 30?

No, in zone 30 you can have one way or bidirectionnal ways for cars. But, the huge majority of one-way road that are one-way for cars are bidirectional for bikes, thanks to the law given in my previous comment.

Can you give an example of problematic road?

Someone just added (10 hours ago ) oneway:bycicle=no in all zone 30 roads of my neighborhood (but it's normaly not needed). I'll search and tell you.

vshcherb commented 3 years ago

I think that's an OSM issue, so I hope guys @xmd5a2 @letypequividelespoubelles you will figure out how to deal with it via OSM Notes / OSM Forum.

letypequividelespoubelles commented 3 years ago

I think that's an OSM issue

I don't get your point. French one way zone 30 are bidirectional for bikes unless it's explicitly tagged as oneway:bycicle=yes. FYI, this has been discussed and agreed via the French OSM telegram chat.

xmd5a2 commented 3 years ago

@letypequividelespoubelles Do I understand correctly than adding oneway:bicycle=no during OsmAnd maps generation process to ways with source:maxspeed=FR:zone30 solves issue?

letypequividelespoubelles commented 3 years ago

@xmd5a2 yes. it should solve it I guess. But when adding oneway:bicycle=no , take care that the oneway:bicycle=yes is not already here ! :)

Thanks

foux commented 1 year ago

Hello there! I reopen this issue, because the law is quite clear (for those who reads french) : https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000045025523/

So all roads with a maxspeed of 30km/h or less, in France, are authorized in both ways for cyclists, unless told otherwise. So we don't have to have source:maxspeed=FR:zone30 in the metadatas, but just check that the max speed is less or equal to 30 km/h

AdrienJaguenet commented 1 year ago

Hi, contrary to what OP initially said, since 2016, French road law makes no distinction between "zone 30" and a simple 30 km/h limit, when it comes to one-way streets. This means OSMAnd should take into account all maxspeed=30 ways. The relevant law can be found here.