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

Ralf Suhr Ralf.Suhr at itc-halle.de
Wed Jul 28 03:52:34 EDT 2010


I've looked in the source code and only the NAS driver (gml derivat) has this 
problem. GFS functionality is not full in NAS implemented.

Am Dienstag 27 Juli 2010, 19:04:07 schrieb Ralf Suhr:
> 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


More information about the gdal-dev mailing list