[gdal-dev] GML to .shp Using OGR
bontepaarden at gmail.com
Mon Nov 29 10:27:56 EST 2010
The Surface tag is not supported before GDAL/OGR v1.8
I had a similar GML a few weeks back.
Using the beta release of GDAL/OGR v1.8 you can convert.
*Paul Meems *
Release manager, configuration manager
and forum moderator of MapWindow GIS.
Owner of MapWindow.nl - Support for
Dutch speaking users.
My profiles: [image: LinkedIn] <http://nl.linkedin.com/in/paulmeems/> [image:
2010/11/29 Darren Cope <darrencope at gmail.com>
> Hi all,
> Hopefully this is also the forum to post OGR-related enquiries. I don't
> a specific OGR list.
> I have a very large .gml file with multiple layers in it. I would like to
> export one of these layers to .shp. It is a polygon layer (of lakes).
> However, I am getting the error:
> ERROR 1: Unrecognised geometry type <Surface>.
> The ogr command I was using:
> ogr2ogr -f "ESRI Shapefile" output.shp input.gml layername
> Any thoughts? Is it possible the polygon layer is somehow incorrectly
> defined as a surface in the GML? Any way I can force it to be a polygon? Or
> is it something else entirely? I don't often work with .gml, so may be
> missing something obvious...
> View this message in context:
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev