v.lrs.label(1)
π v.lrs.label π
okay bestie, welcome to the GRASS GIS User's Manual page for v.lrs.label(1) β yes that's the manual name, and yes it's giving very "I do linear reference systems for fun" energy. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
v.lrs.label β creates stationing from input lines, and linear reference system. literally its whole thing. no cap. π
π·οΈ KEYWORDS π·οΈ
<vector>vector</vector>, linear reference system, network
π SYNOPSIS π
v.lrs.label
v.lrs.label --help
v.lrs.label input=name output=name [llayer=string] [rsdriver=string]
[rsdatabase=string] rstable=string [labels=string]
[offset=string[,string,...]] [xoffset=float] [yoffset=float]
[reference=string] [font=string] [size=integer] [color=name]
[width=integer] [highlight_color=name] [highlight_width=integer]
[bgcolor=name] [border=name] [opaque=string] [--overwrite]
[--help] [--verbose] [--quiet] [--ui]
π© Flags π©
--overwriteβ Allow output files to overwrite existing files. slay, but careful, it WILL replace things π--helpβ Print usage summary. your bestie when you're lost π₯Ί--verboseβ Verbose module output. it's a yapper, and honestly? we respect it--quietβ Quiet module output. shhh era π€«--uiβ Force launching GUI dialog. for the visual girlies β¨
ποΈ Parameters ποΈ
input=name[required] β Name of input vector map. Input vector map containing lines.output=name[required] β Output vector map where stationing will be written. this is where the magic lands πllayer=stringβ Layer number or name. Line layer. Default:1rsdriver=stringβ Driver name for reference system table. Options:dbf,mesql,mysql,odbc,ogr,pg,sqlite. Default:sqlitersdatabase=stringβ Database name for reference system table. Default:$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.dbrstable=string[required] β Name of the reference system table.labels=stringβ Label file.offset=string[,string,...]β PM left, MP right, stationing left, stationing right offset. Default:50,100,25,25xoffset=floatβ Offset label in label x-direction in map units. Default:25yoffset=floatβ Offset label in label y-direction in map units. Default:5reference=stringβ Reference position. Options:center,left,right,upper,lower. Default:centerfont=stringβ Font. Default:standardsize=integerβ Label size (in map-units). Options:1-1000. Default:100color=nameβ Text color. Either a standard color name orR:G:Btriplet. Default:blackwidth=integerβ Line width of text. Only ford.labeloutput. Options:1-100. Default:1highlight_color=nameβ Highlight color for text. Either a standard color name,R:G:Btriplet, or"none". Default:nonehighlight_width=integerβ Line width of highlight color. Only ford.labeloutput. Options:0-100. Default:0bgcolor=nameβ Background color. Either a standard color name,R:G:Btriplet, or"none". Default:noneborder=nameβ Border color. Either a standard color name,R:G:Btriplet, or"none". Default:noneopaque=stringβ Opaque to vector. Only relevant if background color is selected. Options:yes,no. Default:yes
π DESCRIPTION π
v.lrs.label generates LRS labels for pretty-printing of a LRS. it's literally in the name, the labels are the moment, the aesthetic is the point. β¨
this example is written for the Spearfish dataset (it continues the example from v.lrs.create). so if you did the homework there, you're already set up bestie π¦
v.lrs.label route_lrs rstable=route_lrs output=route_lrs_labels \
labels=labels col=red size=50 xoffset=100
g.region vector=route_lrs n=n+100 s=s-100 -p
d.erase
d.vect route_lrs
d.vect route_lrs_labels col=grey type=line
d.vect busstops disp=attr attr=cat size=10 bg=white lcol=green yref=bottom
d.vect busstops icon=basic/circle fcol=green
d.labels labels
okay look at that pipeline.g.regionsnapping the region,d.eraseclearing the slate, then a whole stack ofd.vectandd.labelsdoing the visual serve. iconic behavior, honestly. π
π SEE ALSO π
v.lrs.create,v.lrs.segment,v.lrs.where,d.labels,v.label- LRS tutorial,
- Introducing the Linear Reference System in GRASS
π AUTHORS π
- Radim Blazek, ITC-irst/MPA Solutions
- Documentation update (based on above journal article and available fragments): Markus Neteler
π₯ SOURCE CODE π₯
Available at: v.lrs.label source code (history)
Accessed: Saturday Jan 17 05:41:25 2026
Main index | Vector index | Topics index | Keywords index | Graphical index | Full index
okay and that's the whole page bestie, you made it to the end π₯³ this was GRASS GIS 8.4.2, from the GRASS 8.4.2 Reference Manual, Β© 2003-2025 GRASS Development Team, and the vibe was immaculate. go label some lines, you got this ππΈπ¦
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms