table of contents
other versions
- jessie 6.4.4-1
- testing 7.6.0-1
- unstable 7.6.0-1
- experimental 7.6.1-1~exp1
| v.label.sa(1grass) | Grass User's Manual | v.label.sa(1grass) |
NAME¶
v.label.sa - Create optimally placed labels for vector map(s)KEYWORDS¶
vector, paint labelsSYNOPSIS¶
v.label.saParameters:¶
- map=name
-
Name of input vector map
- type=string[,string,...]
-
Feature typeOptions: point,line,areaDefault: point,line,area
- layer=integer
-
Layer numberA single vector map can be connected to multiple database tables. This number determines which table to use.Default: 1
- column=name
-
Name of attribute column to be used for labels
- labels=name
-
Name for new paint-label file
- font=string
-
Name of TrueType font (as listed in the fontcap)
- size=float
-
Label size (in map-units)Default: 100
- isize=float
-
Icon size of point features (in map-units)Default: 10
- charset=string
-
Character encoding (default: UTF-8)Default: UTF-8
- color=string
-
Text colorOptions: aqua,black,blue,brown,cyan,gray,green,grey,indigo,magenta,orange,purple,red,violet,white,yellowDefault: black
- hcolor=string
-
Highlight color for textOptions: none,aqua,black,blue,brown,cyan,gray,green,grey,indigo,magenta,orange,purple,red,violet,white,yellowDefault: none
- hwidth=float
-
Width of highlight coloringDefault: 0
- background=string
-
Background colorOptions: none,aqua,black,blue,brown,cyan,gray,green,grey,indigo,magenta,orange,purple,red,violet,white,yellowDefault: none
- opaque=yes|no
-
Opaque to vector (only relevant if background color is selected)Options: yes,noDefault: yes
- border=string
-
Border colorOptions: none,aqua,black,blue,brown,cyan,gray,green,grey,indigo,magenta,orange,purple,red,violet,white,yellowDefault: none
- width=float
-
Border width (only for ps.map output)Default: 0
- overlap=name
-
Numeric column to give precedence in case of overlapping labels. The label with a smaller weight is hidden.Default:
DESCRIPTION¶
v.label.sa makes a label-file from a GRASS vector map with labels created from attributes in the attached table. The labels are placed in as optimal place as possible. The label file has the same syntax as the one created by v.labelEXAMPLE¶
North Carolina example:background=white size=250 font=Vera
REFERENCES¶
Edmondson, Christensen, Marks and Shieber: A General Cartographic Labeling Algorithm, Cartographica, Vol. 33, No. 4, Winter 1996, pp. 13-23 The algorithm works by the principle of Simulated Annealing.SEE ALSO¶
d.labelAUTHOR¶
Wolf Bergenheim| GRASS 6.4.4 |