EnglishFrenchSpanish

OnWorks favicon

v.lrs.segmentgrass - Online in the Cloud

Run v.lrs.segmentgrass in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command v.lrs.segmentgrass that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


v.lrs.segment - Creates points/segments from input lines, linear reference system and
positions read from stdin or a file.

KEYWORDS


vector, linear reference system, network

SYNOPSIS


v.lrs.segment
v.lrs.segment --help
v.lrs.segment input=name output=name [llayer=string] [rsdriver=string]
[rsdatabase=string] rstable=string [file=name] [--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 segments will be written

llayer=string
Layer number or name
Line layer
Default: 1

rsdriver=string
Driver name for reference system table
Options: mysql, odbc, sqlite, pg, ogr, dbf
Default: sqlite

rsdatabase=string
Database name for reference system table
Default: $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db

rstable=string [required]
Name of the reference system table

file=name
Name of file containing segment rules. If not given, read from stdin.

DESCRIPTION


v.lrs.segment creates points/segments from input lines, linear reference system and
positions read from standard in or a file.

The format is as follows:
P <point_id> <line_id> <milepost>+<offset> [<side offset>]
L <segment_id> <line_id> <milepost>+<offset> <milepost>+<offset> [<side offset>]

NOTES


For more information and examples see the help page for v.lrs.segment’s sister module,
v.segment.

EXAMPLE


This example is written for the Spearfish dataset (it continues the example from
v.lrs.create).

In this example, the ’route_lrs’ shall be extended for a new position (point) along the
LRS after bus stop 4:
# new point on LRS
echo "P 7 22 4+180" | v.lrs.segment route_lrs out=route_lrs_new rstable=route_lrs
g.region vector=route_lrs n=n+100 s=s-100 -p
d.erase
# existing LRS
d.vect route_lrs
d.vect busstops disp=attr attr=cat size=10 bg=white lcol=blue yref=bottom
d.vect busstops icon=basic/circle fcol=blue
db.select table=route_lrs
# show modified map
d.vect route_lrs_new col=red

TODO


Figure out how to merge result into existing LRS map and table.

Use v.lrs.segmentgrass online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Firebird
    Firebird
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 2
    KompoZer
    KompoZer
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 3
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • 4
    UNetbootin
    UNetbootin
    UNetbootin allows you to create bootable
    Live USB drives for Ubuntu, Fedora, and
    other Linux distributions without
    burning a CD. It runs on Windows, Linux,
    and ...
    Download UNetbootin
  • 5
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM is an easy to use
    ERP and CRM open source software package
    (run with a web php server or as
    standalone software) for businesses,
    foundations...
    Download Dolibarr ERP - CRM
  • 6
    SQuirreL SQL Client
    SQuirreL SQL Client
    SQuirreL SQL Client is a graphical SQL
    client written in Java that will allow
    you to view the structure of a JDBC
    compliant database, browse the data in
    tables...
    Download SQuirreL SQL Client
  • More »

Linux commands

Ad