[OSM-talk] Area tags in Overpass API

Tobias Knerr osm at tobias-knerr.de
Sun Mar 24 14:40:18 UTC 2013


On 23.03.2013 02:13, Paul Norman wrote:
> The canonical list of areas is all "polygon" entries in
> http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/default.sty
> le
> 
> Anything with those tags will be considered an area by the osm2pgsql style
> used for rendering tile.osm.org, which is the largest consumer.

But that list is quite short - surely there are more area keys and tags
documented in the wiki and used in the database than that.

The wiki actually offers machine readable templates on the Key:* and
Tag:* pages with boolean flags such as onWay and onArea, which are
currently parsed by Taginfo and offered though the Taginfo API. Without
doubt there are errors in these wiki templates, but I believe that they
are the most comprehensive source of documented area tags.

Whether it's suitable for Overpass is a different question, of course.
If stable behaviour is a vital goal, that might not be fully achieved
when using a source as potentially volatile as our wiki.

Tobias



More information about the talk mailing list