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

NAME

6       v.patch  - Creates a new vector map by combining other vector maps.
7

KEYWORDS

9       vector, geometry, level1
10

SYNOPSIS

12       v.patch
13       v.patch --help
14       v.patch   [-nzeab]   input=name[,name,...]   output=name    [bbox=name]
15       [--overwrite]  [--help]  [--verbose]  [--quiet]  [--ui]
16
17   Flags:
18       -n
19           Do not expect input with topology
20           Applicable when input is points without topology
21
22       -z
23           Expect z coordinate even when not using topology
24           Applicable when input is  points  with  z  coordinate  but  without
25           topology
26
27       -e
28           Copy also attribute table
29           Only the table of layer 1 is currently supported
30
31       -a
32           Append  files  to existing file (overwriting existing files must be
33           activated)
34
35       -b
36           Do not build topology
37           Advantageous when handling a large number of points
38
39       --overwrite
40           Allow output files to overwrite existing files
41
42       --help
43           Print usage summary
44
45       --verbose
46           Verbose module output
47
48       --quiet
49           Quiet module output
50
51       --ui
52           Force launching GUI dialog
53
54   Parameters:
55       input=name[,name,...] [required]
56           Name of input vector map(s)
57           Or data source(s) for direct OGR access
58
59       output=name [required]
60           Name for output vector map
61
62       bbox=name
63           Name for output vector map where bounding  boxes  of  input  vector
64           maps are written to
65

DESCRIPTION

67       v.patch  allows  the user to combine any number of vector maps together
68       to create one composite vector map. If the table structures are identi‐
69       cal, attributes are transferred to the new table.
70

NOTES

72       Any  vectors  that are duplicated among the maps being patched together
73       (e.g., border lines) will have to be edited or removed after v.patch is
74       run. Such editing can be done automatically using v.clean.
75
76       Lines may need to be snapped with v.clean tool=snap,break,rmdupl.
77
78       Boundaries  may  need to be cleaned with v.clean tool=break,rmdupl,rmsa
79       repeatedly until the rmsa tool (Remove small angles at nodes) no longer
80       modifies  any boundaries. If vector topology is still not clean, bound‐
81       aries may also need to be snapped with v.clean tool=snap,break,rmdupl.
82
83       When using the -a flag, the user has to make sure that the features  in
84       the different maps added to the output map do not have overlapping cat‐
85       egory numbers, unless  identical  category  numbers  reflect  identical
86       attributes,  otherwise  the  attributes  of the added maps are lost. To
87       avoid this, the user can use v.category option=sum to  change  category
88       values of some of the maps before patching.
89

EXAMPLES

91       Patch together two maps with mixed feature types:
92          v.patch input=geology,streams out=geol_streams
93       Append one map to another:
94          g.copy vect=roads,transport
95          v.patch -a input=railroads output=transport --overwrite
96

SEE ALSO

98       v.clean, v.build, v.select, v.overlay
99

AUTHORS

101       Dave Gerdes, U.S.Army Construction Engineering Research Laboratory
102       Radim Blazek, ITC-Irst, Trento, Italy
103
104       Last changed: $Date: 2011-11-08 22:24:20 +0100 (Tue, 08 Nov 2011) $
105

SOURCE CODE

107       Available at: v.patch source code (history)
108
109       Main  index  | Vector index | Topics index | Keywords index | Graphical
110       index | Full index
111
112       © 2003-2019 GRASS Development Team, GRASS GIS 7.4.4 Reference Manual
113
114
115
116GRASS 7.4.4                                                         v.patch(1)
Impressum