1v.type(1) GRASS GIS User's Manual v.type(1)
2
3
4
6 v.type - Changes type of vector features.
7
9 vector, geometry, editing, area, line, point
10
12 v.type
13 v.type --help
14 v.type input=name [layer=string] output=name from_type=string
15 to_type=string [--overwrite] [--help] [--verbose] [--quiet] [--ui]
16
17 Flags:
18 --overwrite
19 Allow output files to overwrite existing files
20
21 --help
22 Print usage summary
23
24 --verbose
25 Verbose module output
26
27 --quiet
28 Quiet module output
29
30 --ui
31 Force launching GUI dialog
32
33 Parameters:
34 input=name [required]
35 Name of input vector map
36 Or data source for direct OGR access
37
38 layer=string
39 Layer number or name (’-1’ for all layers)
40 A single vector map can be connected to multiple database tables.
41 This number determines which table to use. When used with direct
42 OGR access this is the layer name.
43 Default: -1
44
45 output=name [required]
46 Name for output vector map
47
48 from_type=string [required]
49 Feature type to convert from
50 Options: point, line, boundary, centroid, face, kernel
51 Default: line
52
53 to_type=string [required]
54 Feature type to convert to
55 Options: point, line, boundary, centroid, face, kernel
56 Default: boundary
57
59 v.type changes the type of geometry primitives.
60
62 Convert lines to area boundaries
63 v.type input=map_l output=map_b from_type=line to_type=boundary
64 In order to create areas, centroids must be added with v.centroids.
65
67 v.centroids, v.to.points
68
70 Radim Blazek, ITC-Irst, Trento, Italy
71
73 Available at: v.type source code (history)
74
75 Accessed: Saturday Jan 21 20:40:19 2023
76
77 Main index | Vector index | Topics index | Keywords index | Graphical
78 index | Full index
79
80 © 2003-2023 GRASS Development Team, GRASS GIS 8.2.1 Reference Manual
81
82
83
84GRASS 8.2.1 v.type(1)