Re: [gdal-dev] Adding WRITE_ID creation option for GeoJSON

2018-03-26 Thread Even Rouault
On vendredi 23 mars 2018 10:59:02 CEST Rahkonen Jukka (MML) wrote: > Hi, > > Am I right that there is no option to force the writing of "id" member to > GeoJSON features? I have noticed that if I run ogr2ogr with -preserve_fid > option then the "id" member is added { "type": "Feature", "id": 0, >

[gdal-dev] Adding WRITE_ID creation option for GeoJSON

2018-03-23 Thread Rahkonen Jukka (MML)
Hi, Am I right that there is no option to force the writing of "id" member to GeoJSON features? I have noticed that if I run ogr2ogr with -preserve_fid option then the "id" member is added { "type": "Feature", "id": 0, "properties": However, if I don't use -preserve_fid I have not discovered