<html><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"></head><body><div><div style="font-family:Calibri,sans-serif;font-size:11pt">Checkout ogrinfo which can create the index<br><br>ogrinfo file1.shp -sql "CREATE SPATIAL INDEX ON file1<br>
<br>Example taken from <a href="http://www.gdal.org/ogr/drv_shapefile.html">http://www.gdal.org/ogr/drv_shapefile.html</a><br><br>- Nathan<br></div></div><hr><span style="font-family:Tahoma,sans-serif;font-size:10pt;font-weight:bold">From: </span><span style="font-family:Tahoma,sans-serif;font-size:10pt">Jonathan Moules</span><br>
<span style="font-family:Tahoma,sans-serif;font-size:10pt;font-weight:bold">Sent: </span><span style="font-family:Tahoma,sans-serif;font-size:10pt">1/06/2012 10:04 PM</span><br><span style="font-family:Tahoma,sans-serif;font-size:10pt;font-weight:bold">To: </span><span style="font-family:Tahoma,sans-serif;font-size:10pt"><a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a></span><br>
<span style="font-family:Tahoma,sans-serif;font-size:10pt;font-weight:bold">Subject: </span><span style="font-family:Tahoma,sans-serif;font-size:10pt">[Qgis-user] Autocreating a qix file</span><br><br></body></html><div>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.</div>
<div> </div><div>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.</div><div> </div><div>Thanks,</div><div>Jonathan</div><br>
<br>
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.<br>