[gdal-dev] Multiple pens in OGR feature style
David Strip
gdal at stripfamily.net
Mon Dec 10 08:34:21 PST 2012
On 12/10/2012 7:29 AM, Even Rouault wrote:
> Looking at addstylestring2kml() in ogr/ogrsf_frmts/libkml/ogrlibkmlstyle.cpp, I
> can see that only one PEN instance will be taken into account (looking at the
> coulde, I would have said that it would be the last occurence...). And it seems
> that it is a limitation of LIBKML itself, since the Style class seems to accept
> only one line style.
If I'm reading the docs right, KML doesn't support multi-pen lines.
Google Earth extensions to KML, however, do allow a two-color line, so
it makes sense that LIBKML would not allow this.
More information about the gdal-dev
mailing list