other versions
- jessie 6.4.4-1
- stretch 7.2.0-2
- testing 7.6.0-1
- unstable 7.6.0-1
- experimental 7.6.1-1~exp1
v.patch(1grass) | Grass User's Manual | v.patch(1grass) |
NAME¶
v.patch - Create a new vector map layer by combining other vector map layers.KEYWORDS¶
vector, geometrySYNOPSIS¶
v.patchFlags:¶
- -a
-
- -e
-
- --overwrite
-
- --verbose
-
- --quiet
-
Parameters:¶
- input=name[,name,...]
-
- output=name
-
- bbox=name
-
DESCRIPTION¶
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.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. 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.EXAMPLES¶
Patch together two maps with mixed feature types:v.patch input=geology,streams out=geol_streams
g.copy vect=roads,transport
v.patch -a input=railroads output=transport --overwrite
SEE ALSO¶
v.clean, v.build, v.select, v.overlayAUTHORS¶
Dave Gerdes, U.S.Army Construction Engineering Research LaboratoryGRASS 6.4.4 |