omniscale/imposm — pull request #14 by tbonfort (2012-09-26 14:01:03+00:00)
Title: wait before creating geometry indexes

The attached patch removes the geometry index creation from the create_table phase, and moves this to the optimization step. In theory, bulk loading of geometries should be faster if the index does not need to be updated at each insert.

On a highly unrigorous test on a small dataset (ireland), this patch shows no real speed improvement over the original code. It might be interesting to test it on a much larger import to see if there are some advantages in using this. Will keep you updated if you think this is worth looking into.