<div dir="ltr">Nikos,<div><br></div><div>Could you file a ticket, and attach a working and nonworking kml example? </div><div><br></div><div style>Any idea if this behavior varies across versions of google earth?  I wonder if libkml can read the file(s) ok.</div>
<div style><br></div><div style>Best regards,</div><div style>Frank</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 1, 2013 at 3:30 PM, Nikos Alexandris <span dir="ltr"><<a href="mailto:nik@nikosalexandris.net" target="_blank">nik@nikosalexandris.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br>
<br>
I work with GDAL 1.9.2, compiled from source with support for expat and KML<br>
under Kubuntu 12.10.  Any attempt to convert a(ny) shapefile (be it of type<br>
point or polygon) using ogr2ogr (or exporting from GRASS GIS or/and QGIS --<br>
all based on the same GDAL librairies) results in a .kml file that Google-<br>
Earth (version 7. ) wont read with the "excuse": Unknown element <Schema>.<br>
<br>
Even the example KML file over at<br>
<<a href="https://developers.google.com/kml/articles/vector" target="_blank">https://developers.google.com/kml/articles/vector</a>> is rejected by GE with the<br>
same error message.<br>
<br>
Removing the <Schema> entries altogether, makes the file readable by GE.<br>
<br>
Anyhow, GE reads without problems a KML example (that includes Schema<br>
elements) to be found over at<br>
<<a href="https://developers.google.com/kml/documentation/extendeddata" target="_blank">https://developers.google.com/kml/documentation/extendeddata</a>> (look for the<br>
Example under "Adding Typed Data to a Feature").<br>
<br>
What are the odds?<br>
<br>
Thank you, Nikos<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up   | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>light and sound - activate the windows | <a href="http://pobox.com/~warmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush    | Geospatial Software Developer<br>
</div>