GRASS logo

NAME

v.what - Queries a vector map at given locations.

KEYWORDS

vector, position, querying

SYNOPSIS

v.what
v.what help
v.what [-dag] map=name[,name,...] layer=string[,string,...] east_north=east,north[,east,north,...] [distance=float] [--verbose] [--quiet]

Flags:

-d
Print topological information (debugging)
-a
Print attribute information
-g
Print the stats in shell script style
--verbose
Verbose module output
--quiet
Quiet module output

Parameters:

map=name[,name,...] [required]
Name of vector map(s)
layer=string[,string,...] [required]
Layer number or name ('-1' for all layers)
A single vector map can be connected to multiple database tables. This number determines which table to use. When used with direct OGR access this is the layer name.
Default: -1
east_north=east,north[,east,north,...] [required]
Coordinates for query
"-" to read from standard input
distance=float
Query threshold distance
Default: 0

DESCRIPTION

v.what Outputs the category number value(s) associated with user-specified location(s) in user-specified vector map layer(s). This module was derived from the d.what.vect module by removing all interactive code and modification of the output for easy parsing. Using the -g flag permits to generate script style output which is easily parsable.

This module always reports standard acres, even when the location uses US Survey feet as the map unit.

EXAMPLE

Spearfish example:
v.what fields east_north=599121.75,4922981.125

SEE ALSO

d.what.vect

AUTHOR

Trevor Wiens
Edmonton, Alberta, Canada

Last changed: $Date: 2011-11-08 13:24:20 -0800 (Tue, 08 Nov 2011) $


Main index - Vector index - Full index

© 2003-2012 GRASS Development Team