[GRASS-user] Displaying site_name on r.watershed output basins map
Rich Shepard
rshepard at appl-ecosys.com
Wed May 2 09:52:28 EDT 2012
On Wed, 2 May 2012, Micha Silver wrote:
> Have a look that you've enabled displaying of an attribute column. In the
> GUI, it's on the "Required" tab as "Display selected attribute based on
> attrcol". On the CLI "d.vect disp=shape,attr " This always trips me up
> also. Should be a FAQ. And perhaps the "Display attribute..." should get
> enabled somehow automatically whenever an attribute column for labeling is
> chosen.
Micha,
I saw that before I wrote for help, but checking the attribute checkbox
makes no difference. I cannot display either the cat numbers nor the
raster map site_name which is the value column in the vector table.
When I uncheck all features but area the display clears. I have to try
various options before the boundaries re-appear.
From the command line, writing to d.mon x0:
GRASS 6.5.svn :~/grassdata > d.vect map=basinv disp=shape,attr type=area fcolor=none attrcol=value
produces the attached 'basinv.png'.
A portion of the attribute table, generated by
GRASS 6.5.svn :~/grassdata > db.select sql="select * from basinv"
is,
cat|value|label
1|8|
3|114|
4|194|
5|190|
6|116|
7|184|
8|198|
9|120|
10|2|
11|192|
12|188|
13|6|
14|188|
15|172|
16|120|
17|4|
18|158|
19|192|
20|192|
21|192|
22|196|
23|118|
24|118|
I'm not seeing what I've written incorrectly.
Thanks,
Rich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: basinv.png
Type: image/png
Size: 34963 bytes
Desc:
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20120502/b309b437/basinv-0001.png
More information about the grass-user
mailing list