Yet another validation tool for osm data
Contents |
Status of the layers.openstretmap.fr service (every one is welcome to change it to depict problems you have found)
- 2012-04-15 22:00 :db up to date and server running OK
Key functionalities
- Provide a slippy map with image layers to help people find possible errors in the data.
- Provides layers with roads having no name, no ref, no oneway; Drawing fixmes and notes texts; and layers showing administrative surface by admin_level.
- Coverage : world
Where to find it or information about it?
- The tool is located on layers.openstreetmap.fr
- Main information page is the page you are reading now
- Ask questions on the Talk:Yet another validation tool for osm data
- See the proposal to enhance validation tools based on the osm data itself that is partialy supported by this tool
- See the internals of the installation in my Howto real time rendering with mapnik and mod python (with mapnik)
Base layers
- There is a very basic Openlayers showing you the map !
- Base layer is MapQuest tile service
- overlays are generated in real time from the database's copy
- Database is updated from minutes diff so it shouldn't be too old (check the last DB update date at the bottom of the tool's page)
Highways overlays
no name overlay
This layer is working a bit like the noname one with a red line on :
- unclassified/tertiary/residential/minor
when there is no name set to the highway or the keyword "FIXME"
To avoid false positive this tool take advantage of the Proposed features/Internal quality validate:no_name=no_sign and validate:no_name=yes key value
no oneway overlay
There is a purple line on :
- unclassified/residential/minor/road
When there are no oneway=yes or no oneway=no tag to the highway. (Keep in mind that it does not mean there is an error, it is here to help survey cities for oneway streets)
no ref overlay
There is a blue line on :
- tertiary/secondary/primary/motorway
When there are no ref=* tag on the highway
To avoid false positive this tool take advantage of the Proposed features/Internal quality validate:no_ref=no_sign or validate:no_ref=yes value
fixme/notes overlay
- An overlay is available to display the text of the fixmes and notes
my_own overlay
There is a purple line on :
- unclassified/residential/minor/road
When there are a validate:my_own=yes (should be extended later to work with any other ways )
Voirie/Cadastre
See [1]
Rate of highways in OSM against highways in french Cadastre (only valid for metropolitan France).
The colors are :
| 0-5% | 5-20% | 20-40% | 40-60% | 80-100% | 100-300% | >300% |
- Several reason can explain a blue color : old cadastre, error in OSM, error in computing...
- A black color almost certainly indicate a problem
Administrative overlays
Note : If you are not aware of OSM Inspector I do recommend to give it a try as it is much better though of for geometries detections errors (with direct edit link and much more)
There is a representation of correct (as it imports well with osm2pgsql) relations boundaries. Not colored area have a problem :
- Not closed
- missing a tag
- missing a name
It should respect the proposed : Boundary relations with the use of type=multipolygon OR type=boundary (both are considered correct)
Note however that this tool is only good as an overview of an area, it doesn't tells you where the problem is and what exactly the problem is. If you want a better analyse of a relation you can use :
admin_level=4/5/6/7/10
Filled with one color when the relation is complete and okay.
admin_level=8
Shown in red/orange/yellow or green when the relation is good.
Due to data size restrictions, color based on last modifications are not shown anymore, the 4 colors choice is now only based on the OSM ID number and an arbitrary formula to simulate the creation age (see styles)
Also, areas are shown in gray when there is a topology error : singularity like self intersecting, backward ... (Only active on zoom 12 and more for server load reasons)
TODO
Support for "super-relation" (relations having relations as members ) (I hope that osm2pgsql will support it one day)
Download styles
All my mapnik styles are available to anyone for any purpose. (They might not be optimal at all, feel free to send me back patch if you find ways to improve them)
Just ask me
DISCLAIMER : Don't blame me if, using it, any form of life surounding your house is brought to an end after your computer has melt.
Comments / questions
Please use the Talk:Yet another validation tool for osm data
Those pages are in my watch list, so I will receive an e-mail if you write something in it and if you remove the "minor" flag of your edit, wich is set by defaut when someone edit the page, and no e-mail are sent.


