[gdal-dev] Error inserting GDAL generated GML into Oracle Spatial

Alex Comer acomer at digitalglobe.com
Fri Mar 5 15:45:47 EST 2010



I am attempting to store a GML file generated by GDAL/OGR (specifically
by the class "OGRGMLDataSource
ldatasource.cpp> ") into Oracle Spatial. I am getting the error message
"Error converting from GML to JGeometry original exception: Message:GML
Geometry type ogr:FeatureCollection not suppoted". Indeed, the GML
contains an outer element <ogr:FeatureCollection> and many other
elements in the "ogr" namespace such as <ogr:polygons> and
<ogr:geometryProperty>. Looking at the OGRGMLDataSource source code I
can see that these elements in the  "ogr" namespace are hard-coded in
the output. I'm just starting to comprehend the GML format, but I am
wondering if anyone else has had any success storing GDAL-generated GML
into Oracle Spatial or if anyone has any clue as to what I might need to
do to make this work. I'd really rather not have to write my own utility
to generate GML given that GDAL/OGR can supposedly already do this.


Kind regards,

A. Comer


This electronic communication and any attachments may contain confidential and proprietary 
information of DigitalGlobe, Inc. If you are not the intended recipient, or an agent or employee 
responsible for delivering this communication to the intended recipient, or if you have received 
this communication in error, please do not print, copy, retransmit, disseminate or 
otherwise use the information. Please indicate to the sender that you have received this 
communication in error, and delete the copy you received. DigitalGlobe reserves the 
right to monitor any electronic communication sent or received by its employees, agents 
or representatives.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100305/db5b354c/attachment-0001.html

More information about the gdal-dev mailing list