New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Render incline on roads #4180
Comments
Can you explain how that is mapped, how often, and how the percentage is measured in OSM? |
The key "incline=*" has been used 600k times, but 80% are the value "up" or "down", which does not specify how steep of an incline is involved. The next most common value is "0%" with 22k uses, followed by "10%" with 12k uses, "15%" with 6k and "20%" with 4k. There are about 50k which have a non-zero numerical value with a %: https://taginfo.openstreetmap.org/keys/incline#values Of those with And there are 4135 So if we focused on paths and tracks, we might find 30k or more features which could have a rendering based on incline >9% (or perhaps >6%?). Would that be worth considering? |
Nice analysis, but I think it is not logical to focus on paths and tracks. A lot of paths in mountain regions will have incline >10% and are only accessible on foot, which everyone knows and is therefor largely non-information. This information is most useful for roads accessible by car, to know if e.g. a heavily loaded truck will encounter a non passible road with an incline to steep to take. So instead of paths and tracks, I would suggest to render this stuff on roads of type "unclassified" up to "primary" or possibly "trunk" (motorway should always be accessible to any type of motorized vehicle, so rendering it there isn't useful). |
I'm following @mboeringa to render them only on roads where you can found dedicated traffic signs in several European countries (for example: https://fr.wikipedia.org/wiki/Panneau_de_signalisation_de_descente_dangereuse_en_France#/media/Fichier:France_road_sign_A16.svg). At least in France and Switzerland, these traffic signs are present when slope exceeds 10% (4% for motorways and trunks in France) and possibly less in Germany. |
Just roads would suit me. |
Looking at highway=motorway/trunk/primary/secondary/tertiary/unclassified/residential, there are 2691 features with incline=10%, and there are 495 highway=service with this value: so this information is more common on paths and tracks. There might be 15k or 20k roads (excluding tracks) with As a bike rider I'm much more interested in the incline of roads compared to when I'm driving a car. If one is driving a HGV or bus you would want to avoid roads with steep inclines, but in personal motor vehicles it is not so significant. |
The last argument by @jeisenbe is an important point: we are a general interest map, and should not focus on one particular traffic class. There are other maps and routers that do that. |
We have had the discussion on if it is even possible to render both road surface type and access restriction at the same time in this style (#3399/ #4137). Adding yet another subclassification of roads seems out of the question. Therefore closing this as very unlikely to gather sufficient support or a viable styling idea. |
Ordnance Survey (UK) maps mark inclines with a chevron pointing uphill for 14% - 20%, double for 20% +
The text was updated successfully, but these errors were encountered: