Re: [gdal-dev] Question on using SetFID

2016-02-17 Thread Gane R
I am using gdal-1.11.3 I see the nFID have the value at debug when the poFeature->setFID(100); is called. then poLayer->CreateFeature( poFeature ) is called. Thanks Gane On Wed, Feb 17, 2016 at 3:37 PM, Even Rouault wrote: > Le mercredi 17 février 2016 08:33:02, Gane R a écrit : > > Hi all,

Re: [gdal-dev] Question on using SetFID

2016-02-17 Thread Even Rouault
Le mercredi 17 février 2016 08:33:02, Gane R a écrit : > Hi all, > > I am creating a layer for geopackage, But I don't see the fid I set using > setFID here is my code flow. > > Step1: > poLayer = OGRDataSource::CreateLayer(); > > Step2: > adding all the fields > > Step3: > poFeature = OGRF

Re: [gdal-dev] Question on using SetFID

2016-02-17 Thread Ari Jolma
17.02.2016, 09:33, Gane R kirjoitti: Hi all, I am creating a layer for geopackage, But I don't see the fid I set using setFID here is my code flow. Step1: poLayer = OGRDataSource::CreateLayer(); Step2: adding all the fields Step3: poFeature = OGRFeature::CreateFeature( poLayer->GetLayer

[gdal-dev] Question on using SetFID

2016-02-16 Thread Gane R
Hi all, I am creating a layer for geopackage, But I don't see the fid I set using setFID here is my code flow. Step1: poLayer = OGRDataSource::CreateLayer(); Step2: adding all the fields Step3: poFeature = OGRFeature::CreateFeature( poLayer->GetLayerDefn() ); then Step 4: poFeature->SetFID