[GRASS-user] clip and rotate a raster

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Thu Jan 24 19:04:05 EST 2008


Although I don't know how (!) I read in a post about i.rectify... Why
don't you dig-up the man page... 

Cheers,

Nikos.

On Fri, 2008-01-25 at 00:53 +0100, G. Allegri wrote:
> I don't have a raster that fits my region. I should create a vector
> with v.in.region, rasterize it and use it as a MASK... well, I hoped
> there was something more linear. The same could be used to clip on the
> base of a polygon. 
> 
> The unsolved problem is rotation (and shift): making affine
> tranformations using just a x-shift and y-shift parameter, and a
> rotation angle having set a point as origin (or just around the
> "center" of the raster). 
> 
> 2008/1/25, Nikos Alexandris <nikos.alexandris at felis.uni-freiburg.de>:
>         Hi,
>         
>         if you already have a raster that fits your region then simply
>         create a
>         MASK and just create a new raster with r.mapcalc.
>         
>         r.mapcalc clipped_rast=rast
>         
>         (r.mapcalc works only on the MASK so you can quickly clip any
>         raster 
>         like that).
>         
>         
>         On Fri, 2008-01-25 at 00:15 +0100, G. Allegri wrote:
>         > Surely a stupid question, but I can't find a way to clip a
>         raster on
>         > the base of the region settings and/or the base of a vector.
>         I can 
>         > MASK, I can reclass, but I can't clip!
>         > Furthermore, is it possible to rotate a raster without the
>         use of a
>         > 1st polynomial rectification through GCPs?
>         >
>         > Giovanni
>         > _______________________________________________ 
>         > grass-user mailing list
>         > grass-user at lists.osgeo.org
>         > http://lists.osgeo.org/mailman/listinfo/grass-user
>         --
>         Nikos Alexandris
>         .
>         Department of Remote Sensing & Landscape Information Systems
>         Faculty of Forestry & Environmental Sciences,
>         Albert-Ludwigs-University Freiburg
>         .
>         Tel.  +49 (0) 761 203 3697 / Fax.  +49 (0) 761 203 3701 /
>         Skype: Nikos.Alexandris
>         .
>         Address: Tennenbacher str. 4, D-79106 Freiburg i. Br., Germany
>         
> 
-- 
Nikos Alexandris
.
Department of Remote Sensing & Landscape Information Systems
Faculty of Forestry & Environmental Sciences, Albert-Ludwigs-University Freiburg
.
Tel.  +49 (0) 761 203 3697 / Fax.  +49 (0) 761 203 3701 / Skype: Nikos.Alexandris
.
Address: Tennenbacher str. 4, D-79106 Freiburg i. Br., Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20080125/b9ff84c0/attachment.bin


More information about the grass-user mailing list