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]
16
17 Flags:
18 --overwrite
19
20 Parameters:
21 input=name
22 Name of input vector map
23
24 output=name
25 Name for output vector map
26
27 length=float
28 Maximum segment length.
29
30 vertices=integer
31 Maximum number of vertices in segment.
32
34 v.split split vector lines into shorter segments using a maximal dis‐
35 tance between nodes.
36
38 Spearfish location:
39 # insert kilometric nodes to railroad map:
40 v.extract railroads out=myrr list=1
41 # join segments into polyline
42 v.build.polylines myrr out=myrr_pol
43 v.category myrr out=myrailroads option=add
44 # show line, category, direction (to find the beginning)
45 d.vect myrailroads disp=shape,cat,dir
46 # insert nodes at 1000m distance (max)
47 v.split railroads out=myrailroads_split length=1000
48 d.vect myrailroads_split disp=shape,topo
49
50
52 v.build.polylines, v.segment
53
55 Radim Blazek
56
57 Last changed: $Date: 2007/05/01 10:33:09 $
58
59 Full index
60
61
62
63GRASS 6.2.2 v.split(1)