[gdal-dev] Chaning GML geometry source by GFS fails.

Ralf Suhr Ralf.Suhr at itc-halle.de
Tue Jul 27 13:04:07 EDT 2010


Hello list,

I want to import a gml with two defined geometries. As I read ogr2ogr will 
always use the last geometry.
I added one line to the gfs file to change the geometry source. But ogr2ogr 
ignore this. gdal is from svn revision 198??


the gml look like:
<gml:featureMember>
   <AX_Flurstueck>
     <position>
       <gml:Surface srsName="urn:adv:crs:ETRS89_UTM32" gml:id="KS6">
           <gml:polygonPatches><gml:PolygonPatch>
	...
     <objektkoordinaten>
       <gml:Point gml:id="KSE"><gml:pos 
srsName="urn:adv:crs:ETRS89_UTM32">476659.545 5775519.378</gml:pos>
       </gml:Point>
     </objektkoordinaten> 
     ...

and the changed gfs:
  <GMLFeatureClass>
    <Name>AX_Flurstueck</Name>
    <ElementPath>AX_Flurstueck</ElementPath>
    <GeometryType>3</GeometryType>
    <GeometryElementPath>position</GeometryElementPath>
    ...



Thanks in advance. 

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100727/2c4b1c12/attachment.html


More information about the gdal-dev mailing list