[GRASS-user] Legend for vector map

On Jan 13, 2010, at 10:00 AM, grass-user-request@lists.osgeo.org wrote:

Date: Wed, 13 Jan 2010 13:43:49 +0000
From: Alessandro Bertan <alessandro.bertan@googlemail.com>
Subject: [GRASS-user] Legend for vector map
To: grass-user@lists.osgeo.org
Message-ID:
  <b427d7d1001130543s41bc1882xcb8b2b0f174c2f9e@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Dear grass users,

is there a way to display on the graphics monitor a legend for a
vector map? Something similar to d.legend? The vector map for which I
need a legend is a series of points which have some temperature values
associated with them. I have used v.colors to set color rules for the
temperature values, but I cannot get a legend.

thanks!

Alessandro

When in GRASS, think raster.

Make a raster copy of your vector map (v.to.rast) with the same colors and making sure that the labels match in information in your vector table you want in the legend. Then use d.legend to create a legend from the raster map (but don't display the raster map).

Michael

On Wed, Jan 13, 2010 at 6:31 PM, Michael Barton <michael.barton@asu.edu> wrote:
...

When in GRASS, think raster.

This would make obsolete the work of years :slight_smile:
Maybe in GRASS 5, but with 6 and 7 it is quite different,

I agree than making legends for vector maps isn't that nice yet
but work is underway in the new ps.map and maybe upcoming
efforts to make nice user maps. Also d.vect.thematic comes
to mind.

sorry for nit-picking, :slight_smile:
Markus

On Wed, 13 Jan 2010, Markus Neteler wrote:

I agree than making legends for vector maps isn't that nice yet but work
is underway in the new ps.map and maybe upcoming efforts to make nice user
maps. Also d.vect.thematic comes to mind.

   I had a problem with the labels so I used the text command to place them.
It worked. My client likes the location map and told me it will make an
excellent trial exhibit.

   My point is that exceptional analytic capabilities needs to be matched by
exceptional cartographic abilities for those of us who need paper/pdf
results.

Rich