[Tile-serving] [osm2pgsql] Add support for site relations (#221)
dieterdreist
notifications at github.com
Wed Nov 26 18:53:25 UTC 2014
2014-11-26 18:47 GMT+01:00 Paul Norman <notifications at github.com>:
> Iffy on this - both on the idea in general, and the specific
> implementation you proposed.
>
> Why not a geometrycollection?
>
for some stuff, a geometrycollection would work as well, but the semantics
are quite different. A "site" is something I'd expect to have all parts
close together, while a geometrycollection doesn't have implications of
this kind (could be scattered around the world). Also "relations are not
categories", so a geometrycollection might mostly be expressed with only
tags and no relation needed at all.
A site relation does offer more semantics via roles, you can say where the
ticket office is to enter a site, or where the parking for a site is (even
if not inside the site perimeter).
For rendering purposes, an approximate way area and the tags and a central
point inside the site (a node) would be sufficient (for many usecases).
Please also note that there are ~130000 site relations and only ~1400
collections in our db (as of now).
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/221#issuecomment-64693678
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20141126/7df0ebfc/attachment.html>
More information about the Tile-serving
mailing list