30.06.2026 | Michael Reichert

We’ve added a new turn restrictions view to OSM Inspector showing (almost) all restrictions and highlighting invalid ones.
There are some turn restriction validators around already but they tend to be based on live Overpass queries and therefore are negatively affected by recent performance issues.
The turn restriction validator we have added to our tool osmi_simple_views (which already creates the tagging, highways, geometry and places views from an up-to-date copy of the OpenStreetMap planet dump) does not require Overpass but instead writes its results to SQlite files in one go. These are then served to OSMI users as a slippy map (currently using Mapserver but this is subject to change as we’re preparing a move to vector tiles).
The code validates the number, types and roles of relation members. Tag values are checked except for conditional restrictions, no_entry and no_exit restrictions.
We hope that you find this validator useful in improving the quality of OpenStreetMap data in your region.
See the wiki page for a description of all potential validation errors and suggestions how to fix them, and feel free to open an issue on GitHub if you find something amiss.