[OSM-dev] Multipolygon relation way member without role

Martin Koppenhoefer dieterdreist at gmail.com
Mon Sep 19 08:08:29 UTC 2016


2016-09-19 5:50 GMT+02:00 patrick keshishian <pkeshish at gmail.com>:

> Question: Is there a general rule used when processing role=""?
>


it depends on the type of relation



> OSM wiki for Relation [3] indicates that roles are optional.
>


yes, they are generally optional, save for certain relation types. A
relation is a very generic concept, and can be used for expressing a lot of
different things, For multipoligon relations, a role should be set (but
many tools, e.g. osm2pgsql) ignore them AFAIK.
http://wiki.openstreetmap.org/wiki/Relation:multipolygon#Members

cheers,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20160919/3bb5ab7a/attachment.html>


More information about the dev mailing list