o.org
Subject: Re: [gdal-dev] FileGDB -preserve_fid
Le jeudi 13 décembre 2012 09:56:14, Jeremy Palmer a écrit :
> > At first sight, I would say it is a limitation of the FileGDB API.
> >
> > In FGdbLayer::CreateFeature( OGRFeature *poFeature ),
> >
> > you c
Great thanks.
-Original Message-
From: gdal-dev-boun...@lists.osgeo.org
[mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of rburhum
Sent: Friday, 14 December 2012 8:41 a.m.
To: gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] FileGDB -preserve_fid
Although FileGDB does have
Although FileGDB does have programmatic ways to preserve the FID, these are
not exposed through the FileGDB API yet. What people normally do in these
cases is to copy the fid to the target dataset as a non-primary key value. I
guess we could add something along these lines as an enhancement request
Le jeudi 13 décembre 2012 09:56:14, Jeremy Palmer a écrit :
> > At first sight, I would say it is a limitation of the FileGDB API.
> >
> > In FGdbLayer::CreateFeature( OGRFeature *poFeature ),
> >
> > you can see the following commented code :
> > /* Cannot write to FID field - it is managed by
>
> At first sight, I would say it is a limitation of the FileGDB API.
>
> In FGdbLayer::CreateFeature( OGRFeature *poFeature ),
>
> you can see the following commented code :
>
> /* Cannot write to FID field - it is managed by GDB*/
>//std::wstring wfield_name = StringToWString(m_strOIDFiel
Le jeudi 13 décembre 2012 02:24:40, Jeremy Palmer a écrit :
> Hi,
>
> I'm trying to copy data from PostgreSQL to FileGDB. My PostgreSQL table has
> a primary key column and ogr indenties it as the FID e.g
>
> CREATE TABLE public.test_fileGDB (
> id INTEGER PRIMARY KEY,
> data1 TEXT,
>
Hi,
I'm trying to copy data from PostgreSQL to FileGDB. My PostgreSQL table has a
primary key column and ogr indenties it as the FID e.g
CREATE TABLE public.test_fileGDB (
id INTEGER PRIMARY KEY,
data1 TEXT,
shape GEOMETRY(POINT, 4167)
);
INSERT INTO public.test_fileGDB (id, data1,