Re: [gdal-dev] four threads are huh, five are buh? Regressions w/ GDAL 3.5.2/PROJ_9.1.0

2022-10-13 Thread Christian Brock via gdal-dev
Thanks, I made a workaround using Java's ThreadLocal and it works 😉 -Original Message- From: Even Rouault Sent: Wednesday, October 12, 2022 10:31 To: Christian Brock ; gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] four threads are huh, five are buh? Regressions w/ GDAL 3.5.2/PROJ_9.1

Re: [gdal-dev] ogr2ogr preserve fid behavior

2022-10-13 Thread Rahkonen Jukka
Hi, I think that shapefile does not have a proper fid to preserve. I am remembering that I have used the -sql option sometimes for controlling the FID, something like -sql “SELECT geometry, id AS FID, attribute_1, attribute_2 … FROM …” -Jukka Rahkonen- Lähettäjä: gdal-dev Puolesta Alexandre G

[gdal-dev] ogr2ogr preserve fid behavior

2022-10-13 Thread Alexandre Gacon
Hello, I am trying to upload some data from SHP to Postgres. I would like to use a given column of my SHP as primary key in replacement of the id generated by ogr2ogr but I don't manage to have the result I want. I used the options -preserve_fid and --config PGSQL_OGR_FID id which gave the follow