1v.lrs.label(1)              GRASS GIS User's Manual             v.lrs.label(1)
2
3
4

NAME

6       v.lrs.label   -  Creates stationing from input lines, and linear refer‐
7       ence system.
8

KEYWORDS

10       vector, linear reference system, network
11

SYNOPSIS

13       v.lrs.label
14       v.lrs.label --help
15       v.lrs.label input=name output=name  [llayer=string]   [rsdriver=string]
16       [rsdatabase=string]      rstable=string      [labels=string]      [off‐
17       set=string[,string,...]]   [xoffset=float]   [yoffset=float]    [refer‐
18       ence=string]       [font=string]       [size=integer]      [color=name]
19       [width=integer]    [highlight_color=name]     [highlight_width=integer]
20       [bgcolor=name]      [border=name]     [opaque=string]     [--overwrite]
21       [--help]  [--verbose]  [--quiet]  [--ui]
22
23   Flags:
24       --overwrite
25           Allow output files to overwrite existing files
26
27       --help
28           Print usage summary
29
30       --verbose
31           Verbose module output
32
33       --quiet
34           Quiet module output
35
36       --ui
37           Force launching GUI dialog
38
39   Parameters:
40       input=name [required]
41           Name of input vector map
42           Input vector map containing lines
43
44       output=name [required]
45           Output vector map where stationing will be written
46
47       llayer=string
48           Layer number or name
49           Line layer
50           Default: 1
51
52       rsdriver=string
53           Driver name for reference system table
54           Options: dbf, mesql, mysql, odbc, ogr, pg, sqlite
55           Default: sqlite
56
57       rsdatabase=string
58           Database name for reference system table
59           Default: $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db
60
61       rstable=string [required]
62           Name of the reference system table
63
64       labels=string
65           Label file
66
67       offset=string[,string,...]
68           PM left, MP right, stationing left, stationing right offset
69           Default: 50,100,25,25
70
71       xoffset=float
72           Offset label in label x-direction in map units
73           Default: 25
74
75       yoffset=float
76           Offset label in label y-direction in map units
77           Default: 5
78
79       reference=string
80           Reference position
81           Options: center, left, right, upper, lower
82           Default: center
83
84       font=string
85           Font
86           Default: standard
87
88       size=integer
89           Label size (in map-units)
90           Options: 1-1000
91           Default: 100
92
93       color=name
94           Text color
95           Either a standard color name or R:G:B triplet
96           Default: black
97
98       width=integer
99           Line width of text
100           Only for d.label output
101           Options: 1-100
102           Default: 1
103
104       highlight_color=name
105           Highlight color for text
106           Either a standard color name, R:G:B triplet, or "none"
107           Default: none
108
109       highlight_width=integer
110           Line width of highlight color
111           Only for d.label output
112           Options: 0-100
113           Default: 0
114
115       bgcolor=name
116           Background color
117           Either a standard color name, R:G:B triplet, or "none"
118           Default: none
119
120       border=name
121           Border color
122           Either a standard color name, R:G:B triplet, or "none"
123           Default: none
124
125       opaque=string
126           Opaque to vector
127           Only relevant if background color is selected
128           Options: yes, no
129           Default: yes
130

DESCRIPTION

132       v.lrs.label generates LRS labels for pretty-printing of  a  LRS.   This
133       example  is written for the Spearfish dataset (it continues the example
134       from v.lrs.create).
135
136       v.lrs.label route_lrs rstable=route_lrs output=route_lrs_labels \
137                   labels=labels col=red size=50 xoffset=100
138       g.region vector=route_lrs n=n+100 s=s-100 -p
139       d.erase
140       d.vect route_lrs
141       d.vect route_lrs_labels col=grey type=line
142       d.vect busstops disp=attr attr=cat size=10 bg=white lcol=green yref=bottom
143       d.vect busstops icon=basic/circle fcol=green
144       d.labels labels
145

SEE ALSO

147        v.lrs.create, v.lrs.segment, v.lrs.where, d.labels, v.label
148
149        LRS tutorial,
150       Introducing the Linear Reference System in GRASS
151

AUTHORS

153       Radim Blazek, ITC-irst/MPA Solutions
154       Documentation update (based on  above  journal  article  and  available
155       fragments): Markus Neteler
156

SOURCE CODE

158       Available at: v.lrs.label source code (history)
159
160       Accessed: Mon Jun 20 16:47:05 2022
161
162       Main  index  | Vector index | Topics index | Keywords index | Graphical
163       index | Full index
164
165       © 2003-2022 GRASS Development Team, GRASS GIS 8.2.0 Reference Manual
166
167
168
169GRASS 8.2.0                                                     v.lrs.label(1)
Impressum