[gdal-dev] Unable to convert Shape file from GML file (ERROR 1:
XML Parsing Error:)
Chaitanya kumar CH
chaitanya.ch at gmail.com
Wed Feb 3 10:14:07 EST 2010
GML driver uses xerces or expat library for parsing the gml data. There
might be some problem there. Besides, the driver should be able to read the
.gml file without the .xsd file. Remove the .xsd file and try again.
On Wed, Feb 3, 2010 at 6:59 PM, vadi_nabble <vadivelan_gi at yahoo.co.in>wrote:
> I am trying to learn OGR APIs.
> For that i took "ogr2ogr.cpp" file from (gdal-1.6.3\apps) and successfully
> build the exe.
> I was able to successfully convert Shape file to GML using following
> <myexefilename> -f "gml" output.gml input.shp
> However, when i am trying the reverse of that, means from GML to Shape
> using following command:
> <myexefilename> -f "ESRI Shapefile" output.shp input.gml
> I am getting the following error:
> ERROR 1: XML Parsing Error: unable to connect socket for URL
> ERROR 1: XML Parsing Error: fatal error during schema scan
> I am not sure, what is causing this error.
> Thanks, for any help in advance.
> 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
Chaitanya kumar CH.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev