Greetings,

 

I am attempting to store a GML file generated by GDAL/OGR (specifically
by the class "OGRGMLDataSource
<http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/gml/ogrgm
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.

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to