1v.type(1)                     Grass User's Manual                    v.type(1)
2
3
4

NAME

6       v.type  - Changes type of vector features.
7

KEYWORDS

9       vector, geometry, editing, area, line, point
10

SYNOPSIS

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

DESCRIPTION

59       v.type changes the type of geometry primitives.
60

EXAMPLES

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

SEE ALSO

67        v.centroids, v.to.points
68

AUTHOR

70       Radim Blazek, ITC-Irst, Trento, Italy
71
72       Last changed: $Date: 2019-01-14 12:13:25 +0100 (Mon, 14 Jan 2019) $
73

SOURCE CODE

75       Available at: v.type source code (history)
76
77       Main index | Vector index | Topics index | Keywords index  |  Graphical
78       index | Full index
79
80       © 2003-2019 GRASS Development Team, GRASS GIS 7.6.0 Reference Manual
81
82
83
84GRASS 7.6.0                                                          v.type(1)
Impressum