As a work around, this seems to work:
ogr2ogr -preserve_fid idtest1.geojson idtest.json
ogrinfo -dialect sqlite -sql "select * from main" idtest1.geojson
On 4/7/25 13:43, Rahkonen Jukka via gdal-dev wrote:
Hi,
I notised this question on gis.stackexchange
https://gis.stackexchange.com/question
Fix queued in https://github.com/OSGeo/gdal/pull/12104
Le 07/04/2025 à 22:43, Rahkonen Jukka via gdal-dev a écrit :
Hi,
I notised this question on gis.stackexchange
https://gis.stackexchange.com/questions/491741/gdal-sqlite-no-such-table-when-id-in-properties
I tried to make as simple as poss
Hi,
I notised this question on gis.stackexchange
https://gis.stackexchange.com/questions/491741/gdal-sqlite-no-such-table-when-id-in-properties
I tried to make as simple as possible test case and here is the GeoJSON:
{
"type": "FeatureCollection",
"name": "main",
"features": [