[GRASS-user] wxGUI: Map Legends

   Running 6.5svn on linux. I displayed a raster map of slope (r.slope.aspect
output) overlaid with vector subwatershed boundaries. Added a legend which
presented a colored scale from 0-59 degrees.

   Next, I removed the slope map and added the base DEM map. The same legend
displayed. Then I removed the DEM and added the aspect map (gray scale), but
this, too, has the same colored legend bar with a range of 0-59.

   How do I re-generate the legend so it accurately reflects the map in the
display window?

Rich

Hi,

2012/4/10 Rich Shepard <rshepard@appl-ecosys.com>:

How do I re-generate the legend so it accurately reflects the map in the
display window?

long-term wish, in other words currently it's not possible. You need
to change legend settings manually.

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

On Wed, 11 Apr 2012, Martin Landa wrote:

long-term wish, in other words currently it's not possible. You need to
change legend settings manually.

Martin,

   OK. I presume this means looking at r.info to get cell value range and
figure out how to divide that.

Thanks,

Rich

Rich,

By "change legend settings manually" martin means that you need to
click on the add legend button on the map display window and then
click on the "set options" button. This will allow you to change the
raster map used for the legend

Daniel

On Tue, Apr 10, 2012 at 10:38 PM, Rich Shepard <rshepard@appl-ecosys.com> wrote:

On Wed, 11 Apr 2012, Martin Landa wrote:

long-term wish, in other words currently it's not possible. You need to
change legend settings manually.

Martin,

OK. I presume this means looking at r.info to get cell value range and
figure out how to divide that.

Thanks,

Rich

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

2012/4/11 Daniel Victoria <daniel.victoria@gmail.com>:

By "change legend settings manually" martin means that you need to
click on the add legend button on the map display window and then
click on the "set options" button. This will allow you to change the
raster map used for the legend

sorry for misunderstanding, yes I meant to click on the legend (with a
pointer selected) and choose from the dialog "Set options".

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

On Tue, 10 Apr 2012, Daniel Victoria wrote:

By "change legend settings manually" martin means that you need to click
on the add legend button on the map display window and then click on the
"set options" button. This will allow you to change the raster map used
for the legend

Daniel,

   I looked at that dialog box but don't recall the contents. Will explore
more carefully when I next need a legend on several maps.

Thanks,

Rich