[OSM-talk] Validator tags
Patrick Kilian
osm at petschge.de
Fri Nov 21 14:00:57 GMT 2008
Hi all,
I want to propose a technically clean way to deal with unnamed streets
and other false positives of the maplint checks.
The patch at http://www.petschge.de/osm/ignore-tags/maplint.patch
modifies the maplint checks to suppress the warning / error if a tag
with validate:$testname=ignore is present on the object.
For a street which does not have a name (for whatever reason) one would
you k="validate:residential-without-name" v="ignore".
The following new tags are recognized by maplint using this patch:
validate:empty-tag-key
validate:empty-tag-value
validate:untagged-way
validate:bridge-or-tunnel-without-layer
validate:deprecated-tags
validate:motorway-without-ref
validate:place-of-worship-without-religion
validate:poi-without-name
validate:residential-without-name
validate
A tag of k="validate" v="ignore" would disable ALL checks in maplint for
this object. This should only be used if no other more specific tag work.
Please note that the patch file is large than strictly necessary because
it contains the changes to tests.xml and tests.xsl which are
auto-generated from the individual (changed) test files.
Please also note that the mapfeatures page in the wiki would have to be
extended with an "validator key" category containing the keys listed
above. Otherwise maplint is going to complain about the fact that those
keys are not in mapfeatures.
Technical feedback from the developers of other validation tools is welcome.
Patrick "Petschge" Kilian
More information about the talk
mailing list