[gdal-dev] GPKG: CREATE TABLE AS not working as expected

Tobias Wendorff tobias.wendorff at tu-dortmund.de
Thu Dec 28 21:31:22 PST 2017


Am Do, 28.12.2017, 23:50 schrieb jratike80:
> I would try with SQL that does not select the FID instead of "select *".
> See preserve_fid in http://www.gdal.org/ogr2ogr.html. Not guaranteed
> to work.

The other way did it: adding "-unsetFid" seems to loosen up the order
to FID and creates a new one based on the new sorting.

Now my GPKG is spatially clustered. Thanks for leading me to this :)





More information about the gdal-dev mailing list