[gdal-dev] GetFIDColumn : FID Column for ESRI Shape file

Gane R gane.prog at gmail.com
Wed Sep 30 07:51:33 PDT 2015


sorry for posting on this thread.

On Wed, Sep 30, 2015 at 7:57 PM, Gane R <gane.prog at gmail.com> wrote:

> Now for FileGeoDB datasets
> ====================
> 1. For FileGeoDB GetFIDColumn returns a column name
> for some data set it is a part of feature values with _1, for some there
> doesn't exist any feature value
>
> 2. GetFID returns a number for some data set and it is sequential, for
> others the value returned are not in order.
>
> Can any provide any links or pointer or enlighten me on this stuff.
>
> Gane
>
> On Wed, Sep 30, 2015 at 7:07 PM, Even Rouault <even.rouault at spatialys.com>
> wrote:
>
>> Le mercredi 30 septembre 2015 15:32:40, Gane R a écrit :
>> > Hi,
>> >
>> > Is it that OGRLayer::GetFIDColumn will return empty string for
>> Shapefile I
>> > have or it will be always empty for all shape files?
>>
>> Always empty
>>
>> >
>> > If I can see FID Column for a shape file in any other application can
>> you
>> > name any one of them
>>
>> They likely use a conventionnal name. But technically there's no field in
>> the
>> .dbf or the .shp to hold the name of the FID.
>> Also good to know: the OGR shapefile driver starts its numbering at 0 for
>> the
>> FID.
>>
>> >
>> >
>> > Gane
>>
>> --
>> Spatialys - Geospatial professional services
>> http://www.spatialys.com
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20150930/a24c1d55/attachment-0001.html>


More information about the gdal-dev mailing list