[GRASS-dev] resize raster

Vincent Bain bain at toraval.fr
Tue Apr 14 13:05:51 EDT 2009


Hi Quentin,
If your vector contains a single polygon, I would do it this way :

* v.to.rast (with the option type=area)

* then assign the result to a mask with r.mask

* finally run r.mapcalc on your raster with a simple identity
(outrast=inrast)





Le mardi 14 avril 2009 à 17:43 +0200, Quentin Page a écrit :
> hello,
> 
> I search the function which cut a raster part according  to limits given 
> by a vector (polygon). These two features are within the same projection.
> 
> thanks a lot
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
> 



More information about the grass-dev mailing list