thx for hint.

I wrongly try to use the ogr2ogr. :)

Andrea.

Il 22/01/2012 12:04, Chaitanya kumar CH ha scritto:
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
<even.roua...@mines-paris.org <mailto:even.roua...@mines-paris.org>> 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
     > gdal-dev@lists.osgeo.org <mailto:gdal-dev@lists.osgeo.org>
     > http://lists.osgeo.org/mailman/listinfo/gdal-dev
    _______________________________________________
    gdal-dev mailing list
    gdal-dev@lists.osgeo.org <mailto:gdal-dev@lists.osgeo.org>
    http://lists.osgeo.org/mailman/listinfo/gdal-dev




--
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to