logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

v.lrs.label - Creates stationing from input lines, and linear reference system.

Authors

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

Description

v.lrs.label generates LRS labels for pretty-printing of a LRS.  This example is written for the Spearfish
       dataset (it continues the example from v.lrs.create).

       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

Keywords

       vector, linear reference system, network

Name

v.lrs.label  - Creates stationing from input lines, and linear reference system.

See Also

v.lrs.create,v.lrs.segment,v.lrs.where,d.labels,v.labelLRStutorial,IntroducingtheLinearReferenceSysteminGRASS

Source Code

       Available at: v.lrs.label source code (history)

       Accessed: Friday Apr 04 01:20:24 2025

       Main index | Vector index | Topics index | Keywords index | Graphical index | Full index

       © 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual

GRASS 8.4.1                                                                                  v.lrs.label(1grass)

Synopsis

v.lrs.labelv.lrs.label--helpv.lrs.labelinput=nameoutput=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

       --help
           Print usage summary

       --verbose
           Verbose module output

       --quiet
           Quiet module output

       --ui
           Force launching GUI dialog

   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

       llayer=string
           Layer number or name
           Line layer
           Default: 1rsdriver=string
           Driver name for reference system table
           Options: dbf,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 or R:G:B triplet
           Default: blackwidth=integer
           Line width of text
           Only for d.label output
           Options: 1-100
           Default: 1highlight_color=name
           Highlight color for text
           Either a standard color name, R:G:B triplet, or "none"
           Default: nonehighlight_width=integer
           Line width of highlight color
           Only for d.label output
           Options: 0-100
           Default: 0bgcolor=name
           Background color
           Either a standard color name, R:G:B triplet, or "none"
           Default: noneborder=name
           Border color
           Either a standard color name, R:G:B triplet, or "none"
           Default: noneopaque=string
           Opaque to vector
           Only relevant if background color is selected
           Options: yes,no
           Default: yes

See Also