Project-OSRM / osrm-backend

Open Source Routing Machine - C++ backend
http://map.project-osrm.org
BSD 2-Clause "Simplified" License
6.36k stars 3.37k forks source link

bicycle=use_sidepath #1171

Open ghost opened 10 years ago

ghost commented 10 years ago

Is it possible to include highway=use_sidepath http://wiki.openstreetmap.org/wiki/Tag:bicycle%3Duse_sidepath for proritizing routes for bicycles?

Is it possible to manually proritize some way in lua? Like i dont like cyclying on secondary and primary even it is permited and would choos highway=path bicycle=designated instead.

The use_sidepath is not consideed right now, i have just checked with v0.4.2b osrm.

DennisOSRM commented 10 years ago

Cc: @emiltin

emiltin commented 10 years ago

the reason osrm uses lua scripts is to make it easy for you to modify how various tags are handled, without having to recompile osrm. i agree the bike profile should handle bicycle=use_sidepath, although it's a newer tag, and has little use so far: http://taginfo.openstreetmap.org/tags/bicycle=use_sidepath.

daniel-j-h commented 7 years ago

More then 36k tags now @emiltin want to include this for bike routing? :)

emiltin commented 7 years ago

yes, working on refactoring the bike profile anyways (it's a bit more complicated than the car profile though..)

jdhoek commented 4 years ago

The tag bicycle=use_sidepath is currently taken to mean that routers should not use roads tagged with it for bicycles at all, and implies that a parallel road suitable for cyclists is drawn on the map and available for routing.

This is fixed in #5622 .

Should there be any exceptions to this rule, please update the documentation on the OpenStreetMap wiki.

fqdb commented 3 years ago

It still appears to route over roads tagged with use_sidepath, or is the OSM website still using an old OSRM version?

https://www.openstreetmap.org/directions?engine=fossgis_osrm_bike&route=52.29963%2C4.91194%3B52.30357%2C4.92012#map=17/52.30115/4.91532

datendelphin commented 3 years ago

The current backend server for osm.org has its separate profile repository: https://github.com/fossgis-routing-server/cbf-routing-profiles sorry for the confusion

jdhoek commented 3 years ago

@datendelphin openstreetmap.org says it uses 'Bicycle/Car/Foot OSRM', so that is indeed rather confusing. Are you tracking upstream (this repo) for fixes?

Are the changes made in that repo not desirable upstream (i.e., here)?

datendelphin commented 3 years ago

osm.org does show you a link to the about page where all is explained and linked. It would be great if someone would go through both profiles and pick the good sides from both I think. They are not so far apart.