1v.split(1) Grass User's Manual v.split(1)
2
3
4
6 v.split - Split lines to shorter segments.
7
9 vector, geometry
10
12 v.split
13 v.split help
14 v.split input=name output=name [length=float] [vertices=integer]
15 [--overwrite] [--verbose] [--quiet]
16
17 Flags:
18 --overwrite
19 Allow output files to overwrite existing files
20
21 --verbose
22 Verbose module output
23
24 --quiet
25 Quiet module output
26
27 Parameters:
28 input=name
29 Name of input vector map
30
31 output=name
32 Name for output vector map
33
34 length=float
35 Maximum segment length.
36
37 vertices=integer
38 Maximum number of vertices in segment.
39
41 v.split split vector lines into shorter segments using a maximal dis‐
42 tance between nodes.
43
45 Spearfish location:
46 # insert kilometric nodes to railroad map:
47 v.extract railroads out=myrr list=1
48 # join segments into polyline
49 v.build.polylines myrr out=myrr_pol
50 v.category myrr out=myrailroads option=add
51 # show line, category, direction (to find the beginning)
52 d.vect myrailroads disp=shape,cat,dir
53 # insert nodes at 1000m distance (max)
54 v.split railroads out=myrailroads_split length=1000
55 d.vect myrailroads_split disp=shape,topo
56
57
59 v.build.polylines, v.segment
60
62 Radim Blazek
63
64 Last changed: $Date: 2007-05-01 12:32:53 +0200 (Tue, 01 May 2007) $
65
66 Full index
67
68 © 2003-2008 GRASS Development Team
69
70
71
72GRASS 6.3.0 v.split(1)