other versions
- wheezy 6.4.2-2
- jessie 6.4.4-1
- testing 7.2.0-2
- unstable 7.2.0-2
- experimental 7.2.1-1~exp1
| v.overlay(1grass) | Grass User's Manual | v.overlay(1grass) |
NAME¶
v.overlay - Overlays two vector maps.KEYWORDS¶
vector, geometrySYNOPSIS¶
v.overlayFlags:¶
- -t
-
Do not create attribute table
- --overwrite
-
Allow output files to overwrite existing files
- --verbose
-
Verbose module output
- --quiet
-
Quiet module output
Parameters:¶
- ainput=name
-
Name of input vector map (A)
- atype=string[,string,...]
-
Feature type (vector map A)Feature typeOptions: line,areaDefault: area
- alayer=integer
-
Layer number (vector map A)A single vector map can be connected to multiple database tables. This number determines which table to use.Default: 1
- binput=name
-
Name of input vector map (B)
- btype=string[,string,...]
-
Feature type (vector map B)Feature typeOptions: areaDefault: area
- blayer=integer
-
Layer number (vector map B)A single vector map can be connected to multiple database tables. This number determines which table to use.Default: 1
- output=name
-
Name for output vector map
- operator=string
-
Operator defines features written to output vector mapFeature is written to output if the result of operation 'ainput operator binput' is true. Input feature is considered to be true, if category of given layer is defined.Options: and,or,not,xorDefault: orand: also known as 'intersection' in GISor: also known as 'union' in GIS (only for atype=area)not: features from ainput not overlayed by features from binputxor: features from either ainput or binput but not those from ainput overlayed by binput (only for atype=area)
- olayer=integer[,integer,...]
-
Output layer for new category, ainput and binputIf 0 or not given, the category is not writtenDefault: 1,0,0
DESCRIPTION¶
v.overlay allows the user to overlay two vector area maps. The resulting output map has a merged attribute-table. The origin column-names have a prefix ( a_ and b_) which results from the ainput- and binput-map.NOTES¶
Currently only areas are supported for the operators or and xor! See also v.select. The operator defines what kind of operation will be done. Features are written to output, if the result of an operation 'ainput operator binput' is true. Attributes of the tables from ainput and binput are joined into a new table linked to the output maps new cat-column.EXAMPLE POLYGON TO POLYGON UNION¶
EXAMPLE LINE TO POLYGON CLIPPING¶
Using the North Carolina sample dataset, we clip the roads map to the area of city of Raleigh:where="ZIPNAME = 'RALEIGH'"
out=roadsmajor_raleigh operator=and
SEE ALSO¶
v.db.connect, v.select, g.copyAUTHORS¶
Radim Blazek, ITC-Irst, Trento, Italy Last changed: $Date: 2011-11-08 12:29:50 +0100 (Tue, 08 Nov 2011) $ Full index © 2003-2011 GRASS Development Team| GRASS 6.4.2 |