1v.net(1) Grass User's Manual v.net(1)
2
3
4
6 v.net - Network maintenance.
7
9 vector, networking
10
12 v.net
13 v.net help
14 v.net [-c] input=name [points=name] [output=name] [opera‐
15 tion=string] [alayer=integer] [nlayer=integer] [thresh=float]
16 [--overwrite] [--verbose] [--quiet]
17
18 Flags:
19 -c
20 Assign unique categories to new points
21 For operation 'nodes'
22
23 --overwrite
24 Allow output files to overwrite existing files
25
26 --verbose
27 Verbose module output
28
29 --quiet
30 Quiet module output
31
32 Parameters:
33 input=name
34 Name of input vector map
35
36 points=name
37 Name of input point vector map
38 Required for operation 'connect'
39
40 output=name
41 Name for output vector map
42
43 operation=string
44 Operation to be performed
45 Options: nodes,connect,report,nreport
46 Default: nodes
47 nodes: new point is placed on each node (line end) if doesn't exist
48 connect: connect still unconnected points to vector network by
49 inserting new line(s)
50 report: print to standard output {line_category start_point_cate‐
51 gory end_point_category}
52 nreport: print to standard output {point_category line_cate‐
53 gory[,line_category...]}
54
55 alayer=integer
56 Arc layer (network)
57 A single vector map can be connected to multiple database tables.
58 This number determines which table to use.
59 Default: 1
60
61 nlayer=integer
62 Node layer (points)
63 A single vector map can be connected to multiple database tables.
64 This number determines which table to use.
65 Default: 2
66
67 thresh=float
68 Threshold
69 Required for operation 'connect'. Connect points in given thresh‐
70 old.
71
73 v.net is used for vector network maps maintenance. It reports about
74 the current network graph status. It also permits to globally insert
75 missing nodes and to connect unconnected nodes to the graph within a
76 given distance threshold.
77
78 NOTES
79 If vector editing is required to modify the graph, v.digit or v.edit
80 can be used. Separately, Linear Referencing System is available in
81 GRASS.
82
83 EXAMPLES
84 Spearfish based examples:
85
86 Create nodes globally for all line ends and intersections:
87
88 v.net in=streams out=streams_node
89
90
91 Merge in nodes from a separate map within given threshold:
92
93 echo "1|601653.5|4922869.2|start
94 2|593330.8|4924096.6|end" | v.in.ascii cat=1 x=2 y=3 out=startend
95 col="cat integer, \
96 east double precision, north double precision,
97 label varchar(43)"
98 #create lines map connecting points to network (on layer 2)
99 v.net myroads points=startend out=myroads_net op=connect thresh=200
100
101
103 v.digit, v.edit, v.net.iso, v.net.path, v.net.steiner, v.net.salesman
104
106 Radim Blazek, ITC-Irst, Trento, Italy
107 Martin Landa, FBK-Irst, Trento, Italy
108
109 Last changed: $Date: 2007-12-17 14:45:01 +0100 (Mon, 17 Dec 2007) $
110
111 Full index
112
113 © 2003-2008 GRASS Development Team
114
115
116
117GRASS 6.3.0 v.net(1)