Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Man Pages
v.patch(1) Grass User's Manual v.patch(1)

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

vector, geometry, level1

v.patch --help
v.patch [-nzeab] input=name[,name,...] output= name [bbox=name] [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Do not expect input with topology
Applicable when input is points without topology
Expect z coordinate even when not using topology
Applicable when input is points with z coordinate but without topology
Copy also attribute table
Only the table of layer 1 is currently supported
Append files to existing file (overwriting existing files must be activated)
Do not build topology
Advantageous when handling a large number of points
Allow output files to overwrite existing files
Print usage summary
Verbose module output
Quiet module output
Force launching GUI dialog

input=name[,name,...] [required]
Name of input vector map(s)
Or data source(s) for direct OGR access
output=name [required]
Name for output vector map
Name for output vector map where bounding boxes of input vector maps are written to

v.patch allows the user to combine any number of vector maps together to create one composite vector map. If the table structures are identical, attributes are transferred to the new table.

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

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

v.clean,,, v.overlay

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

Available at: v.patch source code (history)
Main index | Vector index | Topics index | Keywords index | Graphical index | Full index
© 2003-2018 GRASS Development Team, GRASS GIS 7.4.3 Reference Manual
GRASS 7.4.3

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.