d.what.vect

From uucp Thu Jul 30 18:21 EDT 1992
From uucp Thu Jul 30 18:17 CDT 1992 remote from mn600g
From uucp Thu Jul 30 23:10:52 GMT 1992 remote from attmail
From amber.cecer.army.mil!lists-owner Thu Jul 30 18:27:20 EDT 1992 remote from internet
To: mn600g!mngis!crb

Date: Thu Jul 30 21:46:00 GMT 1992
From: attmail!internet!attmail!mn600g!mngis!crb
Original-From: attmail!mn600g!mngis!crb
Sender: internet!amber.cecer.army.mil!lists-owner
Subject: d.what.vect
Reply-To: internet!amber.cecer.army.mil!grassu-list
Sender: lists-owner@moon.cecer.army.mil.
Reply-To: grassp-list@moon.cecer.army.mil.
Precedence: Bulk
To: internet!amber.cecer.army.mil!grassu-list
Cc: attmail!mn600g!rad
Cc: attmail!mn600g!ter
Return-Path: <mngis!crb@mn600g.attmail.com>
Message-Id: <9207302210.AA00663@amber.cecer.army.mil>
Precedence: Bulk
Original-To: mn600g!attmail!internet!amber.cecer.army.mil!grassu-list
Original-Cc: mn600g!rad
Original-Cc: mn600g!ter
Original-Date: Thu Jul 30 21:46:00 GMT 1992

Hello GRASS-USERS,

I am using the g.region command non-interactively to create new
regions, I g.region region=new-region to set the new window.
This is working GREAT! I would also like to generate a report
of what is in that window, ie. category, area, sites, etc.
non-interactively.

The data I am working with is digitized Natural Resource Inventory
vector data of an area with a possible 3 sites in each area,
and I have no need to generated a raster file of this dataset.

I have used the interactive command of v.what.vect and that gives
me all the information that I need on the screen, I would like
to:
  goto the area label point (I can get the UTM from the
           dig_att file),
  find out what the GRASS category code is for the area,
  calculate the area in acres, and
        print this information to a file.

Has anyone any ideas of a non-interactive command resulting in
the same information of v.what.vect? Any suggestions on how to
write the shell to accomplish this task?

I am generating a table that I will pull information from to
generate the necessary support files to generate a postscript
output from mapgen.
  
Any assistance is greatly appreciated.

   Cynthia R. Brooks FAX (612) 290-3375
   USDA-SCS
   State GIS Specialist
   St. Paul, Minnesota email attmail!mn600g!mngis!crb
   Comm (612) 290-3645 internet mngis!crb@mn600g.attmail.com