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.what.vect(1grass) | Grass User's Manual | v.what.vect(1grass) |
NAME¶
v.what.vect - Uploads vector values at positions of vector points to the table.KEYWORDS¶
vector, database, attribute tableSYNOPSIS¶
v.what.vectParameters:¶
- vector=name
-
- layer=integer
-
- column=string
-
- qvector=name
-
- qlayer=integer
-
- qcolumn=string
-
- dmax=float
-
DESCRIPTION¶
v.what.vect transfers attributes from the qvector's map attribute table into the attribute table of points present in the vector map. The script is based on v.distance.NOTES¶
The upload column, into which the query results are stored, must be present in the vector map. Use v.db.addcolumn to add one if needed. Use dmax parameter to control query distance tolerance (how far points/centroids can be from qvector features). For more options, use v.distance instead. In case of a multipoint input vector map, with several points having the same category number, it can happen, that the query result is NULL, if the same category number falls into different qvector polygons. When transferring attributes from a point map to a polygon map, usually dmax has to be larger than zero (determined by distance between query points and polygon centroids).EXAMPLES¶
In this example, the 'hospitals' point map in the North Carolina location is copied to the current mapset, a new attribute column is added and the urban names from the 'urbanarea' polygon map are transferred to the 'myhospitals' map at the hospital points' locations:qcolumn=geonameid dmax=3000
SEE ALSO¶
v.db.addcol, v.db.select, v.distance, v.rast.stats, v.what.rastAUTHOR¶
Markus Neteler Last changed: $Date: 2012-11-26 12:49:24 +0100 (Mon, 26 Nov 2012) $ Full index © 2003-2014 GRASS Development TeamGRASS 6.4.4 |