[Qgis-user] Autocreating a qix file

Nathan Woodrow madmanwoo at gmail.com
Fri Jun 1 06:44:46 PDT 2012


Checkout ogrinfo which can create the index

ogrinfo file1.shp -sql "CREATE SPATIAL INDEX ON file1

Example taken from http://www.gdal.org/ogr/drv_shapefile.html

- Nathan
------------------------------
From: Jonathan Moules
Sent: 1/06/2012 10:04 PM
To: qgis-user at lists.osgeo.org
Subject: [Qgis-user] Autocreating a qix file

I have a process which creates a new shapefile on a regular basis which I
then provide to one of our users, however I'd like the new file to be
spatially indexed.

Is there a way to automatically generate a qix (QGIS shapefile index) file?
By which I mean one that doesn't require any manual intervention.

Thanks,
Jonathan


This transmission is intended for the named addressee(s) only and may
contain sensitive or protectively marked material up to RESTRICTED and
should be handled accordingly. Unless you are the named addressee (or
authorised to receive it for the addressee) you may not copy or use it, or
disclose it to anyone else. If you have received this transmission in error
please notify the sender immediately. All email traffic sent to or from us,
including without limitation all GCSX traffic, may be subject to recording
and/or monitoring in accordance with relevant legislation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120601/79858937/attachment.html>


More information about the Qgis-user mailing list