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,
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
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
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