[GRASS-user] cutting rasters with a vector
ciupava at gmail.com
Sat Nov 30 04:41:17 PST 2013
thanks a lot to all of you.
as i said, i've already performed a serial rasterization in 6.4.x through
the path Nikos suggested,
good to know that something for vectors exists in 7.
i'll also have a look at the trimming-borders hints and keep you updated.
On Sat, Nov 30, 2013 at 11:07 AM, Nikos Alexandris
<nik at nikosalexandris.net>wrote:
> Francesco Pirotti UNIPD wrote:
> > Just a shot: rasterize a vector polygon and use the rasterized area (or
> > areas) as mask?
> I wouldn't think otherwise too. In GRASS GIS 6.4.x you have to go this path
> along (v.to.rast, r.mask, r.mapcalc). In GRASS GIS 7, however, you can
> from a vector directly (i.e. r.mask vector=SomeVectorMap).
> Ensure to have set the resolution of the region to the one you desire as an
> output. Most of the times it should match the resolution of the raster
> to be masked. Otherwise, a resampling (based on Nearest Neighbour) will
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-user