[Qgis-developer] What happens with shapefile spatial indices (QIX) when editing?

Casper Børgesen (CABO) CABO at NIRAS.DK
Fri Dec 16 02:29:25 PST 2016


Hi Even

Thanks for clarifying this. I had hoped this was just a bug instead of a not implemented feature :)


Regards, Casper

From: Even Rouault [mailto:even.rouault at spatialys.com]
Sent: 16. december 2016 10:59
To: qgis-developer at lists.osgeo.org
Cc: Casper Børgesen (CABO)
Subject: Re: [Qgis-developer] What happens with shapefile spatial indices (QIX) when editing?


Hi



>

> I was just wondering about spatial indices for shape files in QGIS. If I

> edit a shapefile with an index (QIX), lets say move a point, and then save

> the layer. What will happen to the spatial index?



Should be deleted.



>

> If I create a point shape file I QGIS 2.18.1, create a spatial index, add a

> point, save the layer, then the QIX file is gone. Shouldn't it be updated

> to match the geometry changes instead?



Ideally, but the update of an existing .qix isn't implemented, so for now, you'd have to recreate it from scratch each time, which could take some time.



Even



--

Spatialys - Geospatial professional services

http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20161216/1ce2961f/attachment.html>


More information about the Qgis-developer mailing list