[GRASS-user] Labels On Maps

Hamish hamish_b at yahoo.com
Thu Dec 31 19:50:03 EST 2009


Rich wrote:
> d.vect map=proj_pts type=point color=red
>   icon=basic/triangle size=10
>   attrcol=str_1 lcolor=red bgcolor=white lsize=12
...
>   I don't see the text in column 'str_1' on the display.

add  display=attr

      display   Display
                options: shape,cat,topo,dir,attr,zcoor
                default: shape


(yeah, d.vect has an abundance of options.
 if overwhelmed see svn/grass-addons/display/d.shortcuts/ )


> Do I need to explicitly declare a font and the other
> attributes?

nope

> If so, where do I find a list of acceptable names?

d.font -l


> Also, on a related note, how can I change the column
> names in those .dbf tables?

v.db.renamecol, or define them with columns= when running
v.in.ascii etc.


Hamish



      


More information about the grass-user mailing list