[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
Vadivelan,
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:
>
> 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.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
--
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9848167848
17.241582N 80.142635E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100203/cf2c3b6b/attachment.html
More information about the gdal-dev
mailing list