1v.lrs.label(1) Grass User's Manual v.lrs.label(1)
2
3
4
6 v.lrs.label - Create stationing from input lines, and linear reference
7 system
8
10 vector, LRS, networking
11
13 v.lrs.label
14 v.lrs.label help
15 v.lrs.label input=name output=name [llayer=integer] rstable=string
16 [labels=string] [offset=string[,string,...]] [xoffset=float]
17 [yoffset=float] [reference=string] [font=string] [size=integer]
18 [color=string] [width=integer] [hcolor=string] [hwidth=integer]
19 [background=string] [border=string] [opaque=string] [--overwrite]
20
21 Flags:
22 --overwrite
23
24 Parameters:
25 input=name
26 Input vector map containing lines
27
28 output=name
29 Output vector map where stationing will be written
30
31 llayer=integer
32 Line layer Default: 1
33
34 rstable=string
35 Name of the reference system table
36
37 labels=string
38 Label file
39
40 offset=string[,string,...]
41 PM left, MP right, stationing left, stationing right offset
42 Default: 50,100,25,25
43
44 xoffset=float
45 Offset label in label x-direction in map units Default: 25
46
47 yoffset=float
48 Offset label in label y-direction in map units Default: 5
49
50 reference=string
51 Reference position Options: center,left,right,upper,lower Default:
52 center
53
54 font=string
55 Font Default: standard
56
57 size=integer
58 Label size (in map-units) Options: 1-1000 Default: 100
59
60 color=string
61 Text color Options:
62 aqua,black,blue,brown,cyan,gray,green,grey,indigo,magenta,orange,pur‐
63 ple,red,violet,white,yellow Default: black
64
65 width=integer
66 Line width of text Only for d.label output Options: 1-100 Default:
67 1
68
69 hcolor=string
70 Highlight color for text Only for d.label output Options:
71 none,aqua,black,blue,brown,cyan,gray,green,grey,indigo,magenta,orange,pur‐
72 ple,red,violet,white,yellow Default: none
73
74 hwidth=integer
75 Line width of highlight color Only for d.label output Options:
76 0-100 Default: 0
77
78 background=string
79 Background color Options:
80 none,aqua,black,blue,brown,cyan,gray,green,grey,indigo,magenta,orange,pur‐
81 ple,red,violet,white,yellow Default: none
82
83 border=string
84 Border color Options:
85 none,aqua,black,blue,brown,cyan,gray,green,grey,indigo,magenta,orange,pur‐
86 ple,red,violet,white,yellow Default: none
87
88 opaque=string
89 Opaque to vector Only relevant if background color is selected
90 Options: yes,no Default: yes
91
93 v.lrs.label generates LRS labels for pretty-printing of a LRS. This
94 example is written for the Spearfish dataset (it continues the example
95 from v.lrs.create).
96
97
98 v.lrs.label route_lrs rstable=route_lrs output=route_lrs_labels \
99 labels=labels col=red size=50 xoffset=100
100 g.region vect=route_lrs n=n+100 s=s-100 -p
101 d.erase
102 d.vect route_lrs
103 d.vect route_lrs_labels col=grey type=line
104 d.vect busstops disp=attr attr=cat size=10 bg=white lcol=green
105 yref=bottom
106 d.vect busstops icon=basic/circle fcol=green
107 d.labels labels
108
109
111 LRS tutorial,
112 Introducing the Linear Reference System in GRASS,
113 v.lrs.create, v.lrs.segment, v.lrs.where
114
116 Radim Blazek, ITC-irst/MPA Solutions
117 Documentation update (based on above journal article and available
118 fragments): Markus Neteler
119
120 Last changed: $Date: 2007/06/28 15:42:47 $
121
122 Full index
123
124
125
126GRASS 6.2.2 v.lrs.label(1)