[OSM-talk] shp-to-osm 0.7

Martin Koppenhoefer dieterdreist at gmail.com
Thu Nov 5 11:50:27 GMT 2009


2009/11/5 Norbert Hoffmann <nhoffmann at spamfence.net>

> Pieren wrote:
>
> >Apart from this tool, I don't like the idea of always putting the tags
> >in the relation. If you only have tags on the outer ring, why not. But
> >we also have very often tags on the inner ring. And I don't see why we
> >should have sometimes the tags in the ways and sometimes in the
> >relations just because they use a special relation type. I could also
> >say that the tags in the inner ring have the same right to be in the
> >relation as the outer ring.
>
> Try to see it like this: A tag on a ring describes a property that belongs
> to the whole inside of the ring. So a tag on an "inner" ring has nothing to
> do with the relation (that's the meaning of "inner" - an area that does
> *not* belong to the area described by the relation).
>
> For "outer" rings it is similar: If you tag a property to the relation you
> explicitely say: this property does not belong to the holes (marked with
> "role=inner). If you tag the outer ring you don't make clear what you mean.
>
>
I have an example:
St. Peter's Square in the vatican city. (Please ignore the inconsistent
state, I will continue mapping the southern parts of the colonnades more
precisely asap):
http://www.openstreetmap.org/?lat=41.902187&lon=12.457628&zoom=18&layers=B000FTF

it is a square with 2 fountains and 1 obelisk on it. All of them are mapped
as polygons.
The name "St. Peter's square" should go on the outer polygon as it is
comprising fountains and obelisk (it is mapped like this). The latter should
have their own name and tags (it is mapped like this). The tags for the
square (pedestrian area) are currently attached to the outer way but I
should put them to the multipolygon-relation instead, as the obelisk and the
fountains don't belong to them.

Still there is a rendering probem, because if the fountains _were_ part of
the pedestrian area, it would already be mapped correctly, but not displayed
correctly in mapnik.

cheers,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20091105/9055ff7c/attachment.html>


More information about the talk mailing list