Re: [gdal-dev] GeoJSON with "id" in properties and SQLite dialect

2025-04-07 Thread Scott via gdal-dev
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

Re: [gdal-dev] GeoJSON with "id" in properties and SQLite dialect

2025-04-07 Thread Even Rouault via gdal-dev
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

[gdal-dev] GeoJSON with "id" in properties and SQLite dialect

2025-04-07 Thread Rahkonen Jukka via gdal-dev
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": [