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

Denis Rykov rykovd at gmail.com
Sat Jun 15 04:52:38 PDT 2019


Thanks, that did the trick!

On Thu, Jun 13, 2019 at 9:31 AM jratike80 <
jukka.rahkonen at maanmittauslaitos.fi> wrote:

> 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
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190615/3689d48a/attachment.html>


More information about the gdal-dev mailing list