[Qgis-developer] How can I program a raster legend using PyQGIS?
Martin Dobias
wonder.sk at gmail.com
Wed Jan 16 09:31:33 EST 2008
On Jan 16, 2008 3:14 PM, René Estrella <perro1255 at hotmail.com> wrote:
> >Hi,
> >I don't get what you mean by "raster layer component"...
>
> Hi, Martin. Thanks so much for your answer. There's an error in my last
> post. I need to develop a raster LEGEND component, not a raster layer
> component.
Ah ok, now I got it :-)
> What I particularly need is to
> display several Ascii Grid Rasters in the map canvas of QGIS, and, attached
> to it a legend component showing the list of layers loaded and for each
> layer the symbology indicating the colors corresponding to each pixel value
> of the raster layer. I mean, something similar to the vector layer legend,
> where you can categorize the information and assign a color for each
> category, and things like those. It seems it's not possible to obtain such
> a legend for an ascii grid raster layer with the current functionality
> included in QGIS. Because of that, I think the only way to do that is to
> develop a plugin for producing the legend. Am I right or there is something
> more I should know about this topic? Could you give me some guidance to
> start developing such a component?
Sorry I can't give you more guidance since I'm not much an expert to
rasters. Maybe some of our raster experts could give you some hints...
Martin
More information about the Qgis-developer
mailing list