[GRASS-user] v.cutter

Markus Neteler neteler at itc.it
Tue Jul 17 11:50:57 EDT 2007


goldneaa at onid.orst.edu wrote on 07/17/2007 05:21 PM:
> Is there a way in GRASS, 6.3 to take a raster map of say the SW United
> States and use a vector cutter to cut out a smaller portion of the map
> in order to run certain statistics on it.  For example, if I have a
> temperature raster for the SW United States and I wanted to cut an
> area which I have coordinates for like Los Alamos, is there a way to
> cut out this area of the map and reproject in order to run mean,
> st.dev, etc.

Yes: v.select and v.overlay.

See the (maybe little outdated) tutorial
http://grass.itc.it/grass51/tutorial/vectoroverlay.html
and the module descriptions (g.manual v.select | g.manual v.overlay

Also v.extract can be useful to extract via attribute.

Then run v.rast.stats to calculate the statistics:
g.manual v.rast.stats

Markus

------------------
ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
ITC -> since 1 March 2007 Fondazione Bruno Kessler
------------------




More information about the grass-user mailing list