[GRASS-user] How to shift a raster map?

Moritz Lennert mlennert at club.worldonline.be
Thu Dec 8 03:30:06 EST 2011


On 08/12/11 08:20, Markus Metz wrote:
> As Moritz suggested, try r.region to shift a raster map:
>
> g.region rast=my_map -p
> # shift 5m to north and 5m to east, g.region understands n=n+5 etc
> g.region n=n+5 s=s+5 e=e+5 w=w+5 -p
> r.region map=my_map -c

Couldn't Andres just do this:

r.region map=my_map n=n+5 s=s+5 e=e+5 w=w+5

?

Moritz



More information about the grass-user mailing list