3
The <em>r.region</em> program allows the user to manage the boundaries
4
of a raster map. These boundaries can be set by the user directly
5
and/or set from a region definition file (stored under the
6
<kbd>windows</kbd> directory in the user's current mapset), a raster
7
or vector map, or a 3dview file.
10
The <b>align</b> parameter sets the current resolution equal to
11
that of the named raster map, and align the boundaries to a row and column
12
edge in the named map. Alignment only moves the existing boundaries outward
13
to the edges of the next nearest cell in the named raster map -- not to the
14
named map's edges. To perform the latter function, use the
15
<b>raster=</b><em>name</em> option.
20
After all updates have been applied, the raster map's resolution
21
settings are recomputed from the boundaries and the number of rows and
22
columns in the raster map.
25
The n=<em>value</em> may also be specified as a
26
function of its current value: n=n+<em>value</em>
27
increases the current northing, while n=n-<em>value</em>
28
decreases it. This is also true for s=<em>value</em>,
29
e=<em>value</em>, and w=<em>value</em>.
34
Assign absolute coordinates to map:
35
<div class="code"><pre>
36
r.region map=mymap n=220750 s=220000 w=638300 e=639000
39
Shift map (using offset, here by 100 map units in two directions):
40
<div class="code"><pre>
41
r.region map=mymap n=n+100 e=e+100 w=w+100 s=s+100
47
<em><a href="r.support.html">r.support</a></em><br>
48
<em><a href="g.region.html">g.region</a></em>
56
Based upon <em>g.region</em>
59
<i>Last changed: $Date: 2013-04-18 07:56:53 +0200 (Thu, 18 Apr 2013) $</i>