GIScience / openrouteservice

🌍 The open source route planner api with plenty of features.
https://openrouteservice.org
GNU General Public License v3.0
1.47k stars 401 forks source link

Handling complex surface tagging like cycleway:surface=asphalt #895

Open masterofnoroad opened 3 years ago

masterofnoroad commented 3 years ago

If you are bicycle routing and the main surface is cobblestone, but its asphalt shared lane for bicycle. Like road here:

https://www.mapillary.com/map/im/XvFKSELOowmz6V0XKlXZHE

is tagged with: cycleway:surface=asphalt

https://www.openstreetmap.org/way/518516528#map=16/53.8780/14.4548

but unfortunately openrouteservice shows only cobblestones

https://classic-maps.openrouteservice.org/directions?n1=53.879844&n2=14.46142&n3=15&a=53.879591,14.447354,53.88097,14.479079&b=1a&c=0&k1=en-US&k2=km

koebi commented 3 years ago

This is not an issue with the old (or new) client, but rather with the openrouteservice itself. As such, I transferred it over :)

matkoniecz commented 3 years ago

See https://wiki.openstreetmap.org/wiki/Key:cycleway:surface for documentation, it has some noticeable use.

It may also matter on ways like this:

300px-Witosa_bike_2

tagged as

highway=path
segregated=yes
foot=designated
bicycle=designated
surface=paved
cycleway:surface=asphalt
footway:surface=paving_stones