The data for truck routing is still challenging :)
Even the basic tags like maxwidth, maxheight and maxweight are missing in a lot of places to make truck routing unusable there, especially when using smaller roads.
One problem is that the missing tags are often not obvious or visible on openstreetmap.org. There are some efforts to improve them like the tool from Geofabrik or this tool (which sometimes stops working because the overpass API is overloaded).
Also another problem is that the number of them could be too overwhelming to even start with.
And so I took the opportunity with my own special set of ideas and created this tool:
https://osmtool.graphhopper.org/maps/osm-issues/#12/49.44834/11.09600
which helps making missing maxheight, maxweight and bridge tags obvious.
Currently only using european PBF from geofabrik and my intend is to update it weekly. Ie. no real time data. This is currently necessary because 1. overpass API is too often down when I needed it in the past and I don’t want to let me or the mapper wait and 2. I don’t know postgis and 3. we need a routing graph to do the elevation import and interpolation for the importance estimate (see below).
The tool is highly focussed and does not include maxwidth or hgv=no tags because we have to start somewhere. Also it was created and AI helped.
I never created a tool that does edits to the database, so I’m seeking for constructive feedback that helps to improve it and make it safer and according to the guidelines :)
How to use it?
You can use the red circles as indication to look in your area or even remote via mapillary etc to fix the missing tags. Pick the bigger circles first.
Another approach is to zoom in until the mapillary-found maxheight signs appear and everywhere where no green circle (already mapped maxheight) is near it is likely that you found a missing tag. The tricky part is that often times there are several signs several dozen meters away and “near” is tricky to define.
Then there are missing bridge tags. First disable everything else in the filter and enable “bridge tag missing”. These spots are rare, but because two ways cross each other the chance that something has to be mapped or fixed is nearly 100%.
The last opportunity are hundreds of possible missing maxweight tags but for them it is not yet clear to me how to filter or sort them as only a tiny subset is important.
What do the different colors mean?
Just different tags. Should be self explanatory.
What do the different sizes of the red circles mean?
The red circle marks a missing maxheight tag. But there are also bigger and smaller sizes, where bigger means a higher chance that there is a maxheight tag necessary.
Obviously a maxheight tag is necessary if there is a bridge crossing the street or if there is a tunnel. But bridges crossing motorway are often very uninteresting to map because they are high enough (maxheight=default) and so additionally to the highway tag I’m using some heuristics to estimate “high enough”.
For that procedure I use GraphHopper’s precise elevation data. And although the result cannot be used as a strict filter it works rather well for a sorting procedure. Also note I currently use “only” zoom level 12 elevation data and the estimates would be a bit better with zoom level 13, but the disk requirements would explode for this project, even if it is just for Europe.
I found a bug or have a problem
Please reply to this topic and let me know. Do not create an issue on github until the project’s future is clear.
What is the project’s future?
I would find it more interesting to have it directly integrated in one of the bigger editors and offering some data in the background. Or let this feature integrate in something more popular like the OSM Inspector instead of creating yet another special tool :)
