EnglishFrenchSpanish

OnWorks favicon

v.lrs.wheregrass - Online in the Cloud

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

This is the command v.lrs.wheregrass 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.where - Finds line id and real km+offset for given points in vector map using
linear reference system.

KEYWORDS


vector, linear reference system, network

SYNOPSIS


v.lrs.where
v.lrs.where --help
v.lrs.where lines=name points=name [llayer=string] [player=string] [rsdriver=string]
[rsdatabase=string] rstable=string [threshold=float] [--help] [--verbose] [--quiet]
[--ui]

Flags:
--help
Print usage summary

--verbose
Verbose module output

--quiet
Quiet module output

--ui
Force launching GUI dialog

Parameters:
lines=name [required]
Name of input vector map
Input vector map containing lines

points=name [required]
Name of input vector map
Input vector map containing points

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

player=string
Layer number or name
Point 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

threshold=float
Maximum distance to nearest line
Default: 1000

DESCRIPTION


v.lrs.where identifies line id and real milepost+offset for points in vector map using
linear reference system.

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 queried for unknown positions (points, stored in
the map newpoints) along the LRS:
# generate query points
echo "590866.15|4926737.0
590933|4927133" | v.in.ascii out=newpoints
v.lrs.where lines=route_lrs points=newpoints rstable=route_lrs
pcat|lid|mpost|offset
pcat|lid|mpost|offset
1|22|4.000000+212.091461
2|22|6.000000+188.112093
# verification
g.region vector=route_lrs n=n+100 s=s-100 -p
d.erase
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
d.vect newpoints col=red
# measure distance to previous bus stop:
# use measuring tool in graphical user interface

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


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    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
  • 2
    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
  • 3
    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
  • 4
    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
  • 5
    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
  • 6
    Brackets
    Brackets
    Brackets is a free, modern open-source
    text editor made especially for Web
    Development. Written in HTML, CSS, and
    JavaScript with focused visual tools and
    prepr...
    Download Brackets
  • More »

Linux commands

Ad