~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to raster/r.region/description.html

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
<kbd>windows</kbd> directory in the user's current mapset), a raster
7
 
or vector map, or a 3dview file.
8
 
<p>
9
 
 
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.
16
 
 
17
 
 
18
 
<h2>NOTES</h2>
19
 
 
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.
23
 
 
24
 
<p>
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>.
30
 
 
31
 
 
32
 
<h2>EXAMPLES</h2>
33
 
 
34
 
Assign absolute coordinates to map:
35
 
<div class="code"><pre>
36
 
r.region map=mymap n=220750 s=220000 w=638300 e=639000
37
 
</pre></div>
38
 
 
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
42
 
</pre></div>
43
 
 
44
 
 
45
 
<h2>SEE ALSO</h2>
46
 
 
47
 
<em><a href="r.support.html">r.support</a></em><br>
48
 
<em><a href="g.region.html">g.region</a></em>
49
 
 
50
 
 
51
 
<h2>AUTHOR</h2>
52
 
 
53
 
Glynn Clements
54
 
 
55
 
<br>
56
 
Based upon <em>g.region</em>
57
 
 
58
 
<p>
59
 
<i>Last changed: $Date: 2013-04-18 07:56:53 +0200 (Thu, 18 Apr 2013) $</i>