Re: [gdal-dev] Problem converting .gml to shapefile

2009-09-28 Thread Chaitanya kumar CH
Adrian, May be the problem is with xerces. OGR's GML driver has some problems with the latest xerces3 xml parser. It works perfectly with xerces 2.8, however. I'm looking into the xerces 3 support now. On Mon, Sep 28, 2009 at 10:42 PM, Chaitanya kumar CH wrote: > Adrian, > > I was not able to re

Re: [gdal-dev] Problem converting .gml to shapefile

2009-09-22 Thread Chaitanya kumar CH
Adrian, There is something wrong with the file you gave. So the problem seems with ogr2ogr (at least with yours). Please try a clean start without using the -append option and try again. Let me know as many details as you can, even if you get a correct result. On Tue, Sep 22, 2009 at 11:10 PM, A

Re: [gdal-dev] Problem converting .gml to shapefile

2009-09-22 Thread Chaitanya kumar CH
Adrian, May be the problem is not with the shapefile. Provide a copy of the shapefile you generated to me. Shapefile field names have some limitations. They cannot be longer than 10 chars. http://www.gdal.org/ogr/drv_shapefile.html On Tue, Sep 22, 2009 at 9:09 PM, Adrián Ribao Martínez wrote: >

Re: [gdal-dev] Problem converting .gml to shapefile

2009-09-22 Thread Chaitanya kumar CH
Adrian, I see the complete map, one similar to the wikipedia version. I did this with the latest daily snapshot of gdal with the command:   ogr2ogr -f "ESRI Shapefile" limits limits.gml -nlt multipolygon Please provide the GDAL version you used and see if you can open the shapefile in a different

[gdal-dev] Problem converting .gml to shapefile

2009-09-21 Thread Adrián Ribao Martínez
Hello everybody, I have a problem converting a gml file into .shp. I'm using this command: ogr2ogr -append -f "ESRI Shapefile" limits limits.gml -nlt multipolygon but it's not working, it seems that only one geometry per feature is converted. What am I doing wrong? You can have a look at th