<div dir="ltr"><div><div><div>Hi all,<br><br></div>I am creating a layer for geopackage, But I don't see the fid I set using setFID here is my code flow.<br><br>Step1:<br>poLayer = OGRDataSource::CreateLayer(....);<br><br>Step2:<br>adding all the fields<br><br>Step3:<br>poFeature = OGRFeature::CreateFeature( poLayer->GetLayerDefn() );<br></div><div><br></div>then<br>Step 4:<br>poFeature->SetFID(100);<br> setting to a layer using <br> poLayer->CreateFeature( poFeature )<br><br></div><div>Step 5:<br><br>OGRFeature::DestroyFeature( poFeature );<br></div><div>then destroying the poFeature, <br>again creating the feature using Step 3:<br><br></div><div>Every thing is fine but the feature id is set to start from 1, but I was expecting<br></div><div>as 100 for the code flow above,<br><br></div><div>did I miss some GDAL API call ?.<br><br></div><div>Thanks<br></div><div>Gane<br></div><div><br><br><br><br><br><br><div><br><br></div></div></div>