FYI, some 4 years ago, I reported an XML schema validation error related to the <Schema> element: http://trac.osgeo.org/gdal/ticket/2858. IIRC, the explanation at the time was that there are some limitations with the kml driver and "the real solution is to switch to libkml..."
Hermann On 2013-05-01 19:40, Frank Warmerdam wrote:
Nikos, Could you file a ticket, and attach a working and nonworking kml example? Any idea if this behavior varies across versions of google earth? I wonder if libkml can read the file(s) ok. Best regards, Frank On Wed, May 1, 2013 at 3:30 PM, Nikos Alexandris <[email protected] <mailto:[email protected]>> wrote: Hi! I work with GDAL 1.9.2, compiled from source with support for expat and KML under Kubuntu 12.10. Any attempt to convert a(ny) shapefile (be it of type point or polygon) using ogr2ogr (or exporting from GRASS GIS or/and QGIS -- all based on the same GDAL librairies) results in a .kml file that Google- Earth (version 7. ) wont read with the "excuse": Unknown element <Schema>. Even the example KML file over at <https://developers.google.com/kml/articles/vector> is rejected by GE with the same error message. Removing the <Schema> entries altogether, makes the file readable by GE. Anyhow, GE reads without problems a KML example (that includes Schema elements) to be found over at <https://developers.google.com/kml/documentation/extendeddata> (look for the Example under "Adding Typed Data to a Feature"). What are the odds? Thank you, Nikos _______________________________________________ gdal-dev mailing list [email protected] <mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/gdal-dev -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, [email protected] <mailto:[email protected]> light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Software Developer _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
