[gdal-dev] Using pseudo-field FID as ID_FIELD for GeoJSON

jratike80 jukka.rahkonen at maanmittauslaitos.fi
Thu Jun 13 00:30:40 PDT 2019


Hi,

Have you tried "-preserve_fid"
https://gdal.org/programs/ogr2ogr.html#ogr2ogr ?

-Jukka Rahkonen-


dr wrote
> Is it possible to reflect fids values of features of original layer while
> exporting it to GeoJSON?
> Usage of "-lco ID_FIELD=FID" doesn't help.





--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html


More information about the gdal-dev mailing list