[OSM-dev] Advice sought on polygon-with-hole drawing

80n 80n80n at gmail.com
Sat Mar 15 08:03:39 GMT 2008

On Sat, Mar 15, 2008 at 5:48 AM, Igor Brejc <igor.brejc at gmail.com> wrote:

> Jon Burgess wrote:
> > >From a pure design perspective the cleanest approach would be (IMO) to
> > have the tags only on the relation. Otherwise there is always the
> > possibility for ambiguity in cases where the tags on the outer ways
> > differ. Yes this is an error, but one which is bound to occur
> > occasionally. It also enables other use cases like re-using a way along
> > a border between 2 country polygons.
> But then we'll end up with non-tagged ways. From the OSM data design
> perspective its not going to be very practical for someone to determine
> whether the way is not tagged because it belongs to a certain relation
> or because it was forgotten. And don't forget that a relation could be
> anything. not just "polygon-with-hole", so you would have to understand
> the semantics of all types of relations.
> Also, since AFAIK osmxapi currently does not support relations,
> renderers which use data collected from it would have to ignore these
> untagged ways completely.

Actually osmxapi does do relations now :)

> Igor
> --
> http://igorbrejc.net
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20080315/b87b89a6/attachment.html>

More information about the dev mailing list