[gdal-dev] ogr2ogr skipfailures and sqlite missing indexes

Seth G sethg at geographika.co.uk
Thu Nov 29 03:33:28 PST 2018


Excellent - thanks for the incredibly fast fix Even - wasn't expecting that!

Seth

--
web:http://geographika.co.uk
twitter: @geographika

On Thu, Nov 29, 2018, at 11:57 AM, Even Rouault wrote:
> 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