[GRASS-user] Re: r.region for intersection with vector map?

Helmut Kudrnovsky hellik at web.de
Sun Mar 11 13:00:44 EDT 2012


 >  Advice on how to eliminate the extraneous cells (and clip the raster to
>the nearest cell boundaries of the vector map) is greatly appreciated. 

see http://grass.osgeo.org/grass64/manuals/html64_user/g.region.html

align=name
    Adjust region cells to cleanly align with this raster map

vect=name[,name,...]
    Set region to match this vector map

to set the region boundary to your analytical vector: i.e.

g.region -a rast=dem_east vect=analytical_boundary align=dem_east

then r.mapcalc "dem_east_vect_analytical_boundary = dem_east"

?
Helmut

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/r-region-for-intersection-with-vector-map-tp4567643p4567694.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list