[gdal-dev] Relax KML driver about xmlns

Mateusz Loskot mateusz at loskot.net
Tue May 19 19:30:14 EDT 2009


Hi,

Would it make sense to relax a bit the KML driver here [1] so it
accepts <kml> root without xmlns attribute?

One user reported to me that he is not able to read this file [2]
using OGR KML driver and I found this is because of missing xmlns in
<kml> root element. The KML was produced by some unknown
software shipped with some GPS logger.

I'm wondering if there are more KML generators in use that
produce <kml> element without xmlns attribute.


[1]
http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/kml/kml.cpp#L268
[2] http://mateusz.loskot.net/tmp/gdal/no-xmlns.kml

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org


More information about the gdal-dev mailing list