[gdal-dev] libkml driver get document name

Rashad Kanavath mohammedrashadkm at gmail.com
Thu Feb 25 05:42:14 PST 2016


On Thu, Feb 25, 2016 at 2:44 PM, Even Rouault <even.rouault at spatialys.com>
wrote:

> On Thursday 25 February 2016 14:17:01 Rashad Kanavath wrote:
> > Hello Even,
> >
> > On Wed, Feb 24, 2016 at 5:23 AM, Even Rouault <
> even.rouault at spatialys.com>
> >
> > 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
>

I am interested to provide a patch. I will fix this in upstream and then
attach a patch on gdal's trac.

>
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com
>



-- 
Regards,
   Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160225/0430d9c9/attachment.html>


More information about the gdal-dev mailing list