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

Chaitanya kumar CH chaitanya.ch at gmail.com
Wed Nov 2 22:57:39 EDT 2011


Hi,

OGR doesn't handle the role element. It should have just skipped it. I'm
looking into it.

On Thu, Nov 3, 2011 at 1:31 AM, Jukka Rahkonen <jukka.rahkonen at mmmtike.fi>wrote:

> 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-
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20111103/fe65670c/attachment.html


More information about the gdal-dev mailing list