Re: [gdal-dev] Multiple pens in OGR feature style

2012-12-10 Thread Brian Case
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 R

Re: [gdal-dev] Multiple pens in OGR feature style

2012-12-10 Thread Andreas Neumann
Hi Marco and others, If the (DXF) writer does not support multiple strokes - can you perhaps export the same feature multiple times using the corresponding OGR features styles? Ideally, this would honour the symbol levels, if defined, in QGIS to get the same symbology. Do you think this is possib

Re: [gdal-dev] Multiple pens in OGR feature style

2012-12-10 Thread David Strip
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 lim

Re: [gdal-dev] Multiple pens in OGR feature style

2012-12-10 Thread Marco Hugentobler
Hi Even Ok, so it seems to depend on the format properties. Hi Even You are right, it seems to depend on the output driver/format. Actually my main interest is the dxf format, it seems that one takes the first element of the style. Don't know if there are drivers which handle multiple pens

Re: [gdal-dev] Multiple pens in OGR feature style

2012-12-10 Thread Even Rouault
Selon Marco Hugentobler : > > Hi > > I'm currently implementing support for OGR feature styles in the QGIS > vector layer export. In QGIS symbology, there is the possibility to > compose a symbol with multiple symbol layers, e.g. a broad black line > with a thin white line on top of it for a road

[gdal-dev] Multiple pens in OGR feature style

2012-12-10 Thread Marco Hugentobler
Hi I'm currently implementing support for OGR feature styles in the QGIS vector layer export. In QGIS symbology, there is the possibility to compose a symbol with multiple symbol layers, e.g. a broad black line with a thin white line on top of it for a road symbol. Is this supported by the OGR f