[Tile-serving] [osm2pgsql] Huge performance loss when using --extra-atributes (#189)
Benjamin Börngen-Schmidt
notifications at github.com
Tue Oct 7 21:00:48 UTC 2014
Okay then how about first using the tags to consider if the Object should be added and after that add the extra_attributes as tags?
https://github.com/openstreetmap/osm2pgsql/blob/master/parse-pbf.c#L253 adds the extra_attributes to the tags
https://github.com/openstreetmap/osm2pgsql/blob/master/parse-pbf.c#L257 adds all the tag tags to tags
https://github.com/openstreetmap/osm2pgsql/blob/master/parse-pbf.c#L266 checks if we want the node
So placing L253 after the want node check would only add the extra attributes if the node is wanted
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/189#issuecomment-58261176
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20141007/8a012b32/attachment.html>
More information about the Tile-serving
mailing list