Opened 14 years ago

Last modified 8 years ago

#981 new defect

v.external db connection key missing for some GDAL drivers

Reported by: rblazek Owned by: grass-dev@…
Priority: normal Milestone: 6.4.6
Component: Vector Version: unspecified
Keywords: v.external Cc:
CPU: Unspecified Platform: Unspecified


If OGR_L_GetFIDColumn does not return a column (OGR SHP driver for example) it is then missing in db connection info and consequently db operations do not work on vector created using v.external. The problem is here

and there is already TODO here

The problem can be tested either by v.db.connect -p, no key printed or d.what.vect for example (key field missing in query).

I dont think it can be easily fixed. It would be possible to add OGR FID to attributes, but OGR SQL engine most probably does not know about FID, it only works on true attributes (to be verified, maybe FID is available with some special name).


Change History (3)

comment:1 by martinl, 14 years ago

Keywords: v.external added

comment:2 by neteler, 12 years ago


comment:3 by neteler, 8 years ago

Note: See TracTickets for help on using tickets.