The SQL command to create a spatial index can be given through ogrinfo. ogrinfo -sql "CREATE SPATIAL INDEX ON file1 [DEPTH N]" file1.shp
On Sun, Jan 22, 2012 at 3:48 PM, Even Rouault <[email protected]>wrote: > Le dimanche 22 janvier 2012 11:14:22, aperi2007 a écrit : > > Hi, > > > > I'm try-ing to export from spatialite to shapefile using ogr2ogr. > > it work but I like to procude also the spatial-index file .qix. > > I don't find any option to do this for shapefile. > > > > Is this possible ? > > Yes, see the "Spatial and attribute indexing" section of > http://gdal.org/ogr/drv_shapefile.html > > > > > Thx, > > > > Andrea. > > _______________________________________________ > > gdal-dev mailing list > > [email protected] > > http://lists.osgeo.org/mailman/listinfo/gdal-dev > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- Best regards, Chaitanya kumar CH. +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
