[GRASS-dev] resize raster

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

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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev