[GRASS5] Column-names of FeatureID in OGR

Radim Blazek radim.blazek at gmail.com
Wed Dec 14 09:09:54 EST 2005


On 12/14/05, Stephan Holl <holl at gdf-hannover.de> wrote:
> Dear list,
>
> I can remember a former discussion about the column-nameings for the
> different OGR-drivers. Currently GRASS cycles through 3 different
> FID-namings (FID, ogc_fid, ogr_fid) and trys to link the attributes (see
> $GRASSBASE/lib/vector/Vlib/fields.c:395)
>
> I need to connect to a oracle-database with v.external where the
> Feature-IDs are named different than the 3 tried columns. Consequently
> v.extrenal fails.
>
> Is there a chance that a user can specify the FID-column-name on
> the command-line? This would be very handy, otherwise I need to add
> another column to the oracle-tables which is named ether FID, ogc_fid or
> ogr_fid.
>
> What would be the best solution for this?
> What do you think?

The best solution is a new method in OGR which gives FID column name.
Frank already promissed to add it . Please fill OGR bug and try to
increase priority.

Radim




More information about the grass-dev mailing list