[OSM-talk] OSM tagging validation lib

Andy Townsend ajt1047 at gmail.com
Sun Dec 24 12:25:36 UTC 2017


On 24/12/17 11:49, Darafei "Komяpa" Praliaskouski wrote:
>
>
> It would be cool to have such library running on osm2pgsql import, 
> fixing and complaining/skipping all the mistaked tag usage it can 
> detect. This can possibly resurrect some objects that are lost because 
> of typos or old tagging schemes.
>

That already exists - the lua tag transformation process can do exactly 
that.  Here's an example:

https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/style.lua#L2056

Obviously whether a particular map style wants to render typing / 
tagging errors is a different matter entirely.

Best Regards,

Andy






More information about the talk mailing list