On Thursday 25 February 2016 14:17:01 Rashad Kanavath wrote: > Hello Even, > > On Wed, Feb 24, 2016 at 5:23 AM, Even Rouault <[email protected]> > > wrote: > > Le mardi 23 février 2016 14:50:35, jan vaillant a écrit : > > > Hi list, > > > > > > I am reading a zipped kml with gdal's libkml driver. I am trying to > > > > access > > > > > the name tag of the document: > > > > > > <kml> > > > > > > <Document> > > > > > > <name>a_name</name> > > > > I did a quick testing It appears that the driver will report a <name> as > > the > > layer name only if it inside a <Folder> tag, but not as a direct child of > > <Document> > > I am wondering if this could this be fixed in the upstream?
Sure that would be desirable. Anyone wants to create a ticket with a patch to fix that ? Preferably with a new test in autotest/ogr/ogr_libkml.py -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
