[GRASSLIST:7291] Re: transform rasters

Hamish hamish_nospam at yahoo.com
Thu Jun 23 21:45:58 EDT 2005


> > Has someone written a function like r.shift or r.transform ?
> > 
> > I just want to move a raster file in x and/or y direction (in map
> > units or cell sizes).
> 
> Shifting a map by a fixed number of cells is easy enough with
> r.mapcalc, e.g.:
> 
> 	r.mapcalc 'outmap = inmap[10,5]'
> 
> will result in outmap being shifted 10 cells up and 5 cells left
> relative to inmap.


Is r.region appropriate?



Hamish




More information about the grass-user mailing list