Tue, Dec 13 2005
15:46:38
|
|
Request created by sholl
|
|
Subject: v.out.ogr in Oracle using OGR/OCI
Problem:
v.out.ogr does not increment the OGR Feature-Id when exporting into Oracle
Spatial via v.out.ogr. This results in errors when trying to reimport (e.g.
using v.external) because of the OGRFeature() is always 1.
Radims suggested solution:
Probably missing OGRFeature::SetFID in v.out.ogr.
> I am no programmer and do not know
> where to insert this.
Not difficult, use GRASS internal line and area+Vect_get_num_lines() numbers.
Thanks for "not forgetting" about this.
Best
Stephan
The full Diskussion-thread on grass5 can be found here:
http://grass.itc.it/pipermail/grass5/2005-December/020380.html |
|
Wed, Dec 14 2005
01:04:38
|
|
Mail sent by mneteler
|
|
Hi,
the function in question is
OGRErr OGR_F_SetFID ( OGRFeatureH hFeat,
long nFID
)
http://www.gdal.org/ogr/ogr__api_8h.html#fadc3fb94aae8ad01164aa82a3ac55a7
but I dunno where to add that.
Markus |
|