[gdal-dev] ogr2ogr skipfailures and sqlite missing indexes

Even Rouault even.rouault at spatialys.com
Thu Nov 29 02:57:48 PST 2018


On jeudi 29 novembre 2018 09:56:28 CET Seth G wrote:
> Hi all,
> 
> When running a command similar to below (GDAL 2.3.1 on Windows):
> 
> ogr2ogr -f "SQLite" test.db test.shp -skipfailures -dsco SPATIALITE=YES -lco
> SPATIAL_INDEX=YES
> 
> If there are any errors (e.g. a MULTILINESTRING in a LINESTRING dataset),
> ogr2ogr skips the errors, but also skips creating the spatial index in
> SQLite. It took awhile to find why certain spatial queries weren't bringing
> back results later on.

Fixed. Thanks

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list