[Tile-serving] [openstreetmap/osm2pgsql] OSM relations and hstore (#605)
Alexander Matheisen
notifications at github.com
Thu Jan 5 20:18:35 UTC 2017
I am having the same problem and discovered this issue. It seems that every relation is imported into the database, even if it has no tag contained in the stylefile.
@settigan Is there any area-Tag in your stylefile? For example this line:
`node,way area text # hard coded support for area=1/yes => polygon is in osm2pgsql`
I discovered that this line affects that every object having an area-Tag is imported into the database. I removed this line and replaced `linear` by `polygon` which causes that every closed way is considered as a polygon, non-closed ways as lines. This was sufficient for my use case. The advantage of this change was that osm2pgsql no longer imported ways without any of the other tags in the stylefile. The only exception were relations, which still seem to ignore the stylefile.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/605#issuecomment-270746276
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170105/f985c3b7/attachment.html>
More information about the Tile-serving
mailing list