GRASS logo

NAME

v.patch - Create a new vector map layer by combining other vector map layers.

KEYWORDS

vector

SYNOPSIS

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

Flags:

-a
Append files to existing file (overwriting existing files must be activated)
-e
Copy also attribute table
Only the table of layer 1 is currently supported
--overwrite
Allow output files to overwrite existing files
--verbose
Verbose module output
--quiet
Quiet module output

Parameters:

input=name[,name,...]
Name of input vector map(s)
output=name
Name for output vector map
bbox=name
Name for output vector map where bounding boxes of input vector maps are written to

DESCRIPTION

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

NOTES

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 (tool=snap,break,rmdupl).

EXAMPLES

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

SEE ALSO

v.clean, v.build, v.select, v.overlay

AUTHORS

Dave Gerdes, U.S.Army Construction Engineering Research Laboratory
Radim Blazek, ITC-Irst, Trento, Italy

Last changed: $Date: 2008-02-04 20:34:53 -0800 (Mon, 04 Feb 2008) $


Main index - vector index - Full index

© 2003-2008 GRASS Development Team