[gdal-dev] GoogleEarth wont read KML files created by ogr2ogr: Unknown element <Schema>

Frank Warmerdam warmerdam at pobox.com
Wed May 1 15:40:14 PDT 2013


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 <nik at nikosalexandris.net>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
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130501/bf529fa6/attachment.html>


More information about the gdal-dev mailing list