<div dir="ltr">Thanks, <span class="gmail-illustration"> <span class="gmail-hvr">that</span> <span class="gmail-hvr">did</span> <span class="gmail-hvr">the</span> <span class="gmail-hvr">trick!</span></span></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 13, 2019 at 9:31 AM jratike80 <<a href="mailto:jukka.rahkonen@maanmittauslaitos.fi">jukka.rahkonen@maanmittauslaitos.fi</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Have you tried "-preserve_fid"<br>
<a href="https://gdal.org/programs/ogr2ogr.html#ogr2ogr" rel="noreferrer" target="_blank">https://gdal.org/programs/ogr2ogr.html#ogr2ogr</a> ?<br>
<br>
-Jukka Rahkonen-<br>
<br>
<br>
dr wrote<br>
> Is it possible to reflect fids values of features of original layer while<br>
> exporting it to GeoJSON?<br>
> Usage of "-lco ID_FIELD=FID" doesn't help.<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html</a><br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a></blockquote></div>