[GRASS-user] Changing raster boundaries

Micha Silver micha at arava.co.il
Fri Oct 15 02:21:50 EDT 2010


On 10/15/2010 12:20 AM, Nikos Alexandris wrote:
> Christian:
>
>    
>>> Hi GRASS users,
>>> how to change the boundaries of a raster map (simply expand the
>>> border) without any automatic modification of map resolution as it
>>> will happen when using "r.region map=.. n= ..s=.. w= e=.." ?
>>> Thanks for some hint.
>>>        
> Micha:
>
>    
>> How about changing the current region with g.region, then use r.mapcalc
>> to create a copy of the original at the new extents?
>>      
> A reminder that "r.region" might be useful as well in this case.
>
>    
Yes, but the OP asked not to use r.region since it changes also the 
resolution. It recalculates the res so as to keep the same number of 
rows and columns.
> Kind regards, Nikos
>    


-- 
Micha Silver
Arava Development Co. +972-52-3665918
http://www.surfaces.co.il




More information about the grass-user mailing list