Details Ticket 3895


Comment | Reply | Take | Resolve


Serial Number 3895
Subject v.out.ogr in Oracle using OGR/OCI
Area grass6
Queue grass
Requestors holl@gdf-hannover.de
Owner none
Status open
Last User Contact Wed Dec 14 01:04:38 2005 (3 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Wed Dec 14 01:04:38 2005 (3 yr ago)
Created Tue Dec 13 15:46:38 2005 (3 yr ago)

Transaction History Ticket 3895


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
Comment | Reply | Take | Resolve

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request