You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Beside the retrieving the maxspeed.* tags for legal speeds, this library is able to calculate the max speed for a specific vehicle type at a specific GPS location and time.
We are planning to use this along with GH, in order to have more accurate speed limits, but if you like you could incorporate it here.
Activity
otbutz commentedon Oct 7, 2022
@easbar should we incorporate #2637 into the maxspeed resolution?
Looking at the OSM wiki this would be enough to properly resolve speedlimits.
easbar commentedon Oct 10, 2022
Yes, the urban_density and country encoded values should be used to determine the maxspeed. I think we just did not decide how to do this exactly yet. In this branch I tried calling the Kotlin lib that extracts the maxspeed from the json file that is created from the wiki table: https://github.com/graphhopper/graphhopper/compare/default_legal_speeds, but maybe we could also 'just' put this into the country rules.
cosmin-petrescu commentedon Nov 10, 2022
Based on osm-legal-default-speeds we developed our own library for legal max speed limits.
Beside the retrieving the
maxspeed.*tags for legal speeds, this library is able to calculate the max speed for a specific vehicle type at a specific GPS location and time.We are planning to use this along with GH, in order to have more accurate speed limits, but if you like you could incorporate it here.