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 [--verbose] [--quiet]
21
22 Flags:
23 --overwrite
24 Allow output files to overwrite existing files
25
26 --verbose
27 Verbose module output
28
29 --quiet
30 Quiet module output
31
32 Parameters:
33 input=name
34 Input vector map containing lines
35
36 output=name
37 Output vector map where stationing will be written
38
39 llayer=integer
40 Layer number
41 Line layer
42 Default: 1
43
44 rstable=string
45 Name of the reference system table
46
47 labels=string
48 Label file
49
50 offset=string[,string,...]
51 PM left, MP right, stationing left, stationing right offset
52 Default: 50,100,25,25
53
54 xoffset=float
55 Offset label in label x-direction in map units
56 Default: 25
57
58 yoffset=float
59 Offset label in label y-direction in map units
60 Default: 5
61
62 reference=string
63 Reference position
64 Options: center,left,right,upper,lower
65 Default: center
66
67 font=string
68 Font
69 Default: standard
70
71 size=integer
72 Label size (in map-units)
73 Options: 1-1000
74 Default: 100
75
76 color=string
77 Text color
78 Options:
79 aqua,black,blue,brown,cyan,gray,green,grey,indigo,magenta,orange,pur‐
80 ple,red,violet,white,yellow
81 Default: black
82
83 width=integer
84 Line width of text
85 Only for d.label output
86 Options: 1-100
87 Default: 1
88
89 hcolor=string
90 Highlight color for text
91 Only for d.label output
92 Options:
93 none,aqua,black,blue,brown,cyan,gray,green,grey,indigo,magenta,orange,pur‐
94 ple,red,violet,white,yellow
95 Default: none
96
97 hwidth=integer
98 Line width of highlight color
99 Only for d.label output
100 Options: 0-100
101 Default: 0
102
103 background=string
104 Background color
105 Options:
106 none,aqua,black,blue,brown,cyan,gray,green,grey,indigo,magenta,orange,pur‐
107 ple,red,violet,white,yellow
108 Default: none
109
110 border=string
111 Border color
112 Options:
113 none,aqua,black,blue,brown,cyan,gray,green,grey,indigo,magenta,orange,pur‐
114 ple,red,violet,white,yellow
115 Default: none
116
117 opaque=string
118 Opaque to vector
119 Only relevant if background color is selected
120 Options: yes,no
121 Default: yes
122
124 v.lrs.label generates LRS labels for pretty-printing of a LRS. This
125 example is written for the Spearfish dataset (it continues the example
126 from v.lrs.create).
127
128
129 v.lrs.label route_lrs rstable=route_lrs output=route_lrs_labels \
130 labels=labels col=red size=50 xoffset=100
131 g.region vect=route_lrs n=n+100 s=s-100 -p
132 d.erase
133 d.vect route_lrs
134 d.vect route_lrs_labels col=grey type=line
135 d.vect busstops disp=attr attr=cat size=10 bg=white lcol=green
136 yref=bottom
137 d.vect busstops icon=basic/circle fcol=green
138 d.labels labels
139
140
142 LRS tutorial,
143 Introducing the Linear Reference System in GRASS,
144 v.lrs.create, v.lrs.segment, v.lrs.where
145
147 Radim Blazek, ITC-irst/MPA Solutions
148 Documentation update (based on above journal article and available
149 fragments): Markus Neteler
150
151 Last changed: $Date: 2007-06-28 17:28:50 +0200 (Thu, 28 Jun 2007) $
152
153 Full index
154
155 © 2003-2008 GRASS Development Team
156
157
158
159GRASS 6.3.0 v.lrs.label(1)