[Gdal-dev] Re: ogrinfo problem
guillaume huby
guillaume.huby.lists at gmail.com
Wed Mar 7 11:13:48 EST 2007
>
> I am having trouble opening an KNL file with OGR version 1.2.2 from the
> FWTool set. I have tried both compressed and uncompressed versions an
> neither one works
>
>
>
> The KML driver is built in based on the error messages shown below. Is
> this a known issue? I saw one post that said the tool was "write only"
> yetsomewhere I thought I saw a different message saying it was read only
> unless we had Xerces built in.
>
Hi Bruce,
As far as I know, KML is write only.
You can find a turnaround to read KML on this web page :
http://www.perrygeo.net/wordpress/?p=3
The trick is to convert KML to GML via an XML parser, then to read the GML
using ogr tools.
Be careful, the KML must be quite simple (polygons only or points only).
Good luck !
Guillaume.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20070307/6d997f2f/attachment.html
More information about the Gdal-dev
mailing list