Open UberMouse opened 4 years ago
I know the ticket's about progress indication, but if we could speed it up significantly we might not need progress?
part of the slowness might be that the geometries we import don't include envelopes (since cbcb4c8bfef7f215e24769dbb9515324dc557ee2 )
so to build a spatial index we have to build OGR geometries and then ask OGR for an envelope for each feature, which is probably quite slow.
To fix that we could reverse that decision and start adding envelopes to our stored geometries. cc @rcoup
To fix that we could reverse that decision and start adding envelopes to our stored geometries. cc @rcoup
isn't that in the v2 spec? Haven't decided on a format.
Just to clarify - is this the per-dataset spatial index created in the GPKG working copy?
There's (I think) another one that you can create at sno-repo/ice_seed.sno-idxd
if you run sno query index
but it's mostly not used
Creation of the Spatial Index can be quite lengthy for larger datasets. The LINZ NZ Property Titles for example took 70 seconds to create it. It would be helpful if some progress indication was output during this so better clone progress reporting could be created.