GRASS logo

NAME

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

KEYWORDS

vector, querying

SYNOPSIS

v.what
v.what help
v.what [-dag] map=name[,name,...] layer=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,...]
Name of vector map(s)
layer=string
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. Layer name for direct OGR access.
Default: -1
east_north=east,north[,east,north,...]
Coordinates for query
If not given 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: 2009-04-16 02:33:54 -0700 (Thu, 16 Apr 2009) $


Main index - vector index - Full index

© 2003-2011 GRASS Development Team