[gdal-dev] Multiple pens in OGR feature style

Brian Case rush at winkey.org
Mon Dec 10 19:40:25 PST 2012


i never considered this possibility when writing the libkml driver.

perhaps check what mapserver does?.

there is not a lot that uses featurestyle. perhaps a clarification of
this in the spec is in order?

brian

On Mon, 2012-12-10 at 09:34 -0700, David Strip wrote:
> 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.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
Brian Case
KF7WPK
rush at winkey.org




More information about the gdal-dev mailing list