[gdal-dev] GML 3.2 conversion error with GDAL 1.8.1

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Wed Nov 2 16:01:26 EDT 2011


Hi,

I tried to convert a GML file which contains polygon with ogr2ogr, version 1.8.1.
Conversion fails with a message ERROR 1: Unrecognised geometry type <role>.
ERROR 1: Invalid surfaceMember

Here is an example of the GML (Inspire Administration units feature type). Is
the error in the GML of in GDAL side?

<au:geometry>
<gml:MultiSurface gml:id="ms26118023" srsName="EPSG:3067">
<gml:surfaceMember xlink:role="main">
<gml:Surface gml:id="pg26128258">
<gml:patches>
<gml:PolygonPatch>
<gml:exterior>
<gml:LinearRing>
<gml:posList>6606081.581 222640.662 6628316.514 222476.706 6642057.967 
...truncated...

221108.392 6646423.430 221041.479 6647117.697 220861.647 6647572.778 220157.320 
6642262.002 265381.743 6616098.198 255142.309 6615849.108 253746.902 6606209.473
239601.928 6606081.581 222640.662</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:PolygonPatch>
</gml:patches>
</gml:Surface>
</gml:surfaceMember>
</gml:MultiSurface>
</au:geometry>

-Jukka Rahkonen-



More information about the gdal-dev mailing list