Debian Codegraph @

raster/r.region/r.region.html

raw
1 <h2>DESCRIPTION</h2>
2
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 <code>windows</code> directory in the user's current mapset), a raster
7 or vector map, or a 3dview file.
8 <p>
9 The <b>align</b> parameter sets the current resolution equal to
10 that of the named raster map, and align the boundaries to a row and column
11 edge in the named map. Alignment only moves the existing boundaries outward
12 to the edges of the next nearest cell in the named raster map -- not to the
13 named map's edges. To perform the latter function, use the
14 <b>raster=</b><em>name</em> option.
15
16 <h2>NOTES</h2>
17
18 After all updates have been applied, the raster map's resolution
19 settings are recomputed from the boundaries and the number of rows and
20 columns in the raster map.
21
22 <p>The n=<em>value</em> may also be specified as a
23 function of its current value: n=n+<em>value</em>
24 increases the current northing, while n=n-<em>value</em>
25 decreases it. This is also true for s=<em>value</em>,
26 e=<em>value</em>, and w=<em>value</em>.
27
28 <h2>EXAMPLES</h2>
29
30 <p>Assign absolute coordinates to map:
31 <div class="code"><pre>
32 r.region map=mymap n=220750 s=220000 w=638300 e=639000
33 </pre></div>
34
35 <p>Shift map (using offset, here by +100 map units in the NS direction, -50 in the EW direction):
36 <div class="code"><pre>
37 r.region map=mymap n=n+100 e=e-50 w=w-50 s=s+100
38 </pre></div>
39
40 <h2>SEE ALSO</h2>
41
42 <em>
43 <a href="r.support.html">r.support</a>,
44 <a href="g.region.html">g.region</a>,
45 <a href="v.transform.html">v.transform</a>
46 </em>
47
48 <h2>AUTHOR</h2>
49
50 Glynn Clements
51 <br>
52 Based upon <em>g.region</em>