<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div class="moz-text-html" lang="x-western">









<div class="Section1">

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I am having trouble opening an KNL file with OGR version 1.2.2
from the FWTool set.&nbsp; I have tried both compressed and uncompressed
versions an neither one works</span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">The KML driver is built in based on the error messages shown
below. &nbsp;Is this a known issue?&nbsp; 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.</span></font></p></div></div></blockquote><div><br>Hi Bruce,<br><br>As far as I know, KML is write only.<br><br>You can find a turnaround to read KML on this web page :
<br><a href="http://www.perrygeo.net/wordpress/?p=3">http://www.perrygeo.net/wordpress/?p=3</a><br><br>The trick is to convert KML to GML via an XML parser, then to read the GML using ogr tools.<br>Be careful, the KML must be quite simple (polygons only or points only).
<br><br>Good luck !<br>Guillaume.<br></div><br>