[GRASS-user] clip and rotate a raster

G. Allegri giohappy at gmail.com
Thu Jan 24 19:11:25 EST 2008


Nikos, I ask because I've read almost all the pages of the manual. I use
i.rectify: it is the tool to rectify rasters on the base of GCPs. This is
not the case.

2008/1/25, Nikos Alexandris <nikos.alexandris at felis.uni-freiburg.de>:
>
> 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 --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20080125/968fedad/attachment.html


More information about the grass-user mailing list