[gdal-dev] fid column info missing
Martin Landa
landa.martin at gmail.com
Sat Oct 17 05:31:48 EDT 2009
Hi,
2009/10/17 Even Rouault <even.rouault at mines-paris.org>:
> I'm not sure to understand what you mean with "connection between geometry and
> attributes". The OGRFeature concept is precisely containing both, so you don't
> need to do anything special.
sorry, I meant information about key column or better to say feature
id and record in the attribute table. There are formats which handles
this information (GRASS vector format).
> For shapefiles, it is expected that GetFIDColumn() returns "", as the FID for a
> shape feature is just a sequence number incremented each time the driver reads a
> new "row" in the .shp and the .dbf files. OGR uses no column in the .dbf to get
> the FID.
I see, thanks for clarification!
> You'll probably also find here answers to your questions about the
> GetFIDColumn() method : http://trac.osgeo.org/gdal/ticket/2694
Thanks, Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
More information about the gdal-dev
mailing list