[gdal-dev] ogr2ogr in fwtools 2.3 on windows gml to shp issue

Rushforth, Peter Peter.Rushforth at NRCan-RNCan.gc.ca
Wed Apr 29 11:16:11 EDT 2009


Hi,

Using fwtools 2.3 on windows, I run the ogr2ogr command on a gml file to 
create a shp file.  

I get the following error message:

C:\Program Files\FWTools2.3.0\>ogr2ogr -f "ESRI Shapefile" peter.shp test.gml
ERROR 1: Too much data inside one element. File probably corrupted

When I cut down the number of coordinates in the gml:Polygon (to an extreme minimum),
the shp file is created.  But I can't do that in real life.

Also, I want to supply a gfs file to control attribute name mapping.  But it seems
to be ignored.

Thanks

Peter Rushforth
Technology Advisor / Conseiller technique
GeoConnections / GéoConnexions
650-615 Booth St. / rue Booth
Ottawa ON K1A 0E9
E-mail / Courriel: Peter.Rushforth at NRCan-RNCan.gc.ca 
Phone / Télephone: (613) 943-0784 
Fax / telecopier:  (613) 947-2410


More information about the gdal-dev mailing list