NAME
v.what - Permite la consulta las categorías de los
objetos presentes en un mapa vectorial binario en puntos seleccionados
por el usuario.
(GRASS Vector Program)
USO
v.what
v.what help
v.what [-1i] map=name
Opciones:
-
-1
-
Identifica sólo un punto
-
-
-i
-
Consulta interactiva pinchando con el ratón en el monitor gráfico
activo. Si no se selecciona la entrada de puntos se hace con el teclado.
Parametros:
-
map=name
-
Nombre de un mapa vectorial binario en la ruta de busquedas del usuario.
EJEMPLO
Ejemplos de sesiones con v.what
Aunque no es imprescindible que un mapa vectorial haya sido representado
en el monitor gráfico activo, es conveniente ya que proporciona
un marco de referencia.
-
v.what -i map=roads.24000
Tras teclear la orden anterior, el usuario debe mover el ratón a
la localización deseada en el mapa representado (roads) y apretar
el botón para consultar la categoría del polígono,
linea o punto más cercano a dicha localización. After typing
this, the user moves the mouse to a desired location on the displayed roads
map layer, and presses the left mouse button to query the category value
of the
roads vector map at this location. The program then outputs
the category value of a line type corresponding to this user-selected map
location, for the vector map queried by the user.
The query may be repeated as often as desired using the left mouse button.
The right button on the mouse is used to quit the v.what session.
Users can also use this program inside of shell scripts. For example,
if the file coords contains three UTM coordinates:
599817.37 4922332.96
593512.25 4917170.38
604979.96 4921655.90
-
cat coords | v.what map=landcover
devolverá la información acerca de las tres localizaciones
especificadas y terminará
NOTAS
La salida de v.what puede redirigirse a un fichero.
d.what.rast puede usarse para
consultar interactivamente locan be used to interactively query the map
category contents of multiple raster map layers at user-selected locations.
v.what fue creado a partir de d.what.vect
por tanto no pueden hacerse consultas interactivas. La opción
-i hará que v.what se comporte igual que d.what.vect.
VER
d.vect,
d.what.rast,
d.what.vect,
g.region,
and
parser,
AUTORES
Jim Hinthorn, Central Washington University, was the original author.
Dennis Finch, National Park Service
James Darrell McCauley, Agricultural Engineering, Purdue University
added the non-interactive part and renamed to v.what