v.net

Langue: en

Autres versions - même langue

Version: 372219 (fedora - 01/12/10)

Section: 1 (Commandes utilisateur)

NAME

v.net - Network maintenance.

KEYWORDS

vector, networking

SYNOPSIS

v.net
v.net help
v.net [-c] input=name [points=name] [output=name] [operation=string] [alayer=integer] [nlayer=integer] [thresh=float] [--overwrite] [--verbose] [--quiet]

Flags:

-c

Assign unique categories to new points
For operation 'nodes'
--overwrite

Allow output files to overwrite existing files
--verbose

Verbose module output
--quiet

Quiet module output

Parameters:

input=name

Name of input vector map
points=name

Name of input point vector map
Required for operation 'connect'
output=name

Name for output vector map
operation=string

Operation to be performed
Options: nodes,connect,report,nreport
Default: nodes
nodes: new point is placed on each node (line end) if doesn't exist
connect: connect still unconnected points to vector network by inserting new line(s)
report: print to standard output {line_category start_point_category end_point_category}
nreport: print to standard output {point_category line_category[,line_category...]}
alayer=integer

Arc layer (network)
A single vector map can be connected to multiple database tables. This number determines which table to use.
Default: 1
nlayer=integer

Node layer (points)
A single vector map can be connected to multiple database tables. This number determines which table to use.
Default: 2
thresh=float

Threshold
Required for operation 'connect'. Connect points in given threshold.

DESCRIPTION

v.net is used for vector network maps maintenance. It reports about the current network graph status. It also permits to globally insert missing nodes and to connect unconnected nodes to the graph within a given distance threshold.

NOTES

If vector editing is required to modify the graph, v.digit or v.edit can be used. Separately, Linear Referencing System is available in GRASS.

EXAMPLES

Spearfish based examples:

Create nodes globally for all line ends and intersections:

v.net in=streams out=streams_node

Merge in nodes from a separate map within given threshold:

echo "1|601653.5|4922869.2|start
2|593330.8|4924096.6|end" | v.in.ascii cat=1 x=2 y=3 out=startend col="cat integer, rs

                         east double precision, north double precision, label varchar(43)"

#create lines map connecting points to network (on layer 2)
v.net myroads points=startend out=myroads_net op=connect thresh=200

SEE ALSO

v.digit, v.edit, v.net.iso, v.net.path, v.net.steiner, v.net.salesman

AUTHORS

Radim Blazek, ITC-Irst, Trento, Italy
Martin Landa, FBK-Irst, Trento, Italy

Last changed: $Date: 2007-12-17 14:45:01 +0100 (Mon, 17 Dec 2007) $

Full index

© 2003-2008 GRASS Development Team