[gdal-dev] Unable to convert Shape file from GML file (ERROR 1: XML Parsing Error:)

vadi_nabble vadivelan_gi at yahoo.co.in
Wed Feb 3 08:29:35 EST 2010


Hi,
 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
command:
 <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
'http://schemas.opengeospatial.net/gml/2.1.2/feature.xsd'

 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.

 Thanks,
 Vadivelan
-- 
View this message in context: http://n2.nabble.com/Unable-to-convert-Shape-file-from-GML-file-ERROR-1-XML-Parsing-Error-tp4507144p4507144.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list