Thanks to all of you, the approach of Micha using g.region and r.mapcalc did the job...!

Regards,
Christian.

--------------------------------------------------
From: "Nikos Alexandris" <[email protected]>
Sent: Friday, October 15, 2010 10:50 AM
To: <[email protected]>
Cc: "Micha Silver" <[email protected]>; "Christian Schwartze" <[email protected]>
Subject: Re: [GRASS-user] Changing raster boundaries

Christian:

>>> 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?

On 10/15/2010 12:20 AM, Nikos Alexandris wrote:

> A reminder that "r.region" might be useful as well in this case.

Micha:

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.

Correct. My bad.

Thought the "r.region map=mymap n=n+100 e=e+100 w=w+100 s=s+100" will get the
job done and avoid (carefully) using g.region + r.mapcalc.

Regards, Nikos

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to