Alessandro,

This is currently not possible. I have had to make a legend in a separate graphics program and add it as an image to the composer canvas. You can do just the raster legend by hand and have a vector legend built by the composer, then superimpose the raster legend on the canvas. This is the best workaround I have found thus far.

Alternatively, you can vectorize your raster and set the colors the same. You could then just use a vector layer instead of a raster.

Cheers,
John

On Jul 2, 2009, at 8:23 AM, [email protected] wrote:

Hi all,
is there a way in QGIS to print a map in which you have a complete
legend for raster files? I mean, to have different colours for different
categories, or a legend with stretched colours?
When I add a legend in the map
composer, if I have a raster in the map, I only see the name of raster. The
same is for the map legend.
I'am using QGIS 1.2.0 from OSGeo4W installation, in
WindowsXP.
Alessandro

_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to