[Tile-serving] [osm2pgsql] Good cheaper indexing (#171)

apmon notifications at github.com
Tue Sep 16 04:10:01 UTC 2014


I do also wonder if it were beneficial if one could instruct osm2pgsql to create more specific (partial) indexes to simplify initial imports.

Given these indexes would be dependent on the stylesheet used, one could obviously not hard code it into osm2pgsql, but one could potentially define it in e.g. the style.xml file.

Of cause, one can also create these indexes manually after osm2pgsql finishes or wrap osm2pgsql into a wrapper script that automatically creates them once it is finished. But given it is a very common thing to do and people should probably do it to gain performance, it seems like it might be worth doing it in osm2pgsql it self.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/171#issuecomment-55692679
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20140915/6941205d/attachment.html>


More information about the Tile-serving mailing list