Chaitanya kumar CH <chaitanya.ch <at> gmail.com> writes:

> 
> 
> The SQL command to create a spatial index can be given through ogrinfo.ogrinfo
-sql "CREATE SPATIAL INDEX ON file1 [DEPTH N]" file1.shp

Good to know. I would suggest adding this example into shapefile driver page
http://gdal.org/ogr/drv_shapefile.html. I would have never guessed to use
ogrinfo for that.

-Jukka Rahkonen-

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to