[gdal-dev] GML to .shp Using OGR
darrencope at gmail.com
Mon Nov 29 10:19:45 EST 2010
Hopefully this is also the forum to post OGR-related enquiries. I don't see
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: http://osgeo-org.1803224.n2.nabble.com/GML-to-shp-Using-OGR-tp5784681p5784681.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev