[Tagging] area=yes on polygones (was Block names)

Komяpa me at komzpa.net
Wed Apr 25 10:05:26 BST 2012


miau.

OSM does not have "area" object, thus it needs something to mark
object as polygon.

There are some tags that insist that a line/relation is filled inside.
These are area=yes and type=multipolygon.

All the other tags may mean either line or a polygon depending on
context. Sometimes context isn't clear. (Is a circular highway a
roundabout or a filled square?..)

It is rather distinct that highway=*, railway=* are linear usually,
and that landuse=*, amenity=*, shop=*, natural=*, area:highway=* are
polygonal. However, there are some cases when it's not true, like the
platform.

We either need a complete machine-readable list of tags that are
polygons or lines, or need to tag each object separately. For now I
see just the second approach being used; telling that is't invalid
without providing any reasonable fallback is a bad idea.

Currently used list can be found at
http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/default.style

-- 
Darafei "Komяpa" Praliaskouski
OSM BY Team - http://openstreetmap.by/
xmpp:me at komzpa.net mailto:me at komzpa.net



More information about the Tagging mailing list