[Qgis-developer] Raster drawing style always set to single band gray
Alexander Bruy
alexander.bruy at gmail.com
Thu May 16 02:36:33 PDT 2013
Hi Radim,
2013/5/15 Radim Blazek <radim.blazek at gmail.com>:
> Drawing style was left in raster layer from 1.8 where rendering was
> done by raster layer and each DrawingStyle had rendering method in
> raster layer. In master, rendering is done by renderers set by
> setRenderer() and you can set even your custom renderer. There is no 1
> to 1 mapping between renderer and drawing style.
Thanks for clarification
> My suggestion is to remove mDrawingStyle, drawingStyle() and
> setDrawingStyle() completely and keep only
> setRendererForDrawingStyle() for simple renderer setting. OK Marco?
+1 for removing
> How / why do you need to use drawing style getter? Can you use the
> renderer directly?
I can use renderer directly and get its name for my purposes. But as previously
for drawing style getter worked fine I tried to use it first and get
abovementioned
issue. Thanks again for clarification
--
Alexander Bruy
More information about the Qgis-developer
mailing list