Hi,

2009/10/17 Even Rouault <[email protected]>:

> 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
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to