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

Ian Turton ijturton at gmail.com
Fri Dec 29 03:53:37 PST 2017


Can someone add this to the documentation page?

Ian

On 29 December 2017 at 05:31, Tobias Wendorff <
tobias.wendorff at tu-dortmund.de> wrote:

> 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 :)
>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Ian Turton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20171229/acc29809/attachment.html>


More information about the gdal-dev mailing list