Yet another validation tool for osm data

From OpenStreetMap Wiki
Jump to: navigation, search

Contents

Key functionalities

Where to find it or information about it?

Base layers

no name overlay

This layer is working a bit like the noname one with a red line on :

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 :

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 :

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

Notes-map.png notes Fixmes-map.png fixmes

my_own overlay

There is a purple line on :

When there are a validate:my_own=yes (should be extended later to work with any other ways )

Administrative overlays

Note : If you are not aware of OSM Inspector I do recommand 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 :

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 complet 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)

Admin level8 map.png

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)

http://beta.letuffe.org/mapnik-styles/

PS: Those styles are the one currently in use and you will find my password in it, don't worry for me, my postgreSQL is not accessible from outside.

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.

See also

Personal tools
Namespaces
Variants
Actions
site
Toolbox