Hello everyone, I want to extract maxspeed from a way information is there any route or function that i can use?
Care to elaborate a bit more?
In the profiles (e.g. car.lua) you calculate a max speed based on all available OSM tags (such as the maxspeed tag, lane tag, surface tag, etc.) - where do you want to extract a maxspeed now?
If you're looking for speeds along the route geometry, see the annotations=speee
flag:
If you only want the maxspeed tag you don't need a routing engine at all.
Either make an overpass turbo query or write a small osmium handler to walk over all ways and fetch the maxspeed tag from there.
Thanks for your time @daniel-j-h
Most helpful comment
If you only want the maxspeed tag you don't need a routing engine at all.
Either make an overpass turbo query or write a small osmium handler to walk over all ways and fetch the maxspeed tag from there.