1r.region(1)                 GRASS GIS User's Manual                r.region(1)
2
3
4

NAME

6       r.region  - Sets the boundary definitions for a raster map.
7

KEYWORDS

9       raster, metadata, geometry
10

SYNOPSIS

12       r.region
13       r.region --help
14       r.region [-cda] map=name  [region=name]   [raster=name]   [vector=name]
15       [n=value]   [s=value]   [e=value]   [w=value]   [align=name]   [--help]
16       [--verbose]  [--quiet]  [--ui]
17
18   Flags:
19       -c
20           Set from current region
21
22       -d
23           Set from default region
24
25       -a
26           Auto-adjustment for lat/lon
27           Attempt to fix small precision errors in resolution and extents
28
29       --help
30           Print usage summary
31
32       --verbose
33           Verbose module output
34
35       --quiet
36           Quiet module output
37
38       --ui
39           Force launching GUI dialog
40
41   Parameters:
42       map=name [required]
43           Name of raster map to change
44
45       region=name
46           Set region from named region
47
48       raster=name
49           Set region to match this raster map
50
51       vector=name
52           Name of vector map
53           Set region to match this vector map
54
55       n=value
56           Value for the northern edge
57
58       s=value
59           Value for the southern edge
60
61       e=value
62           Value for the eastern edge
63
64       w=value
65           Value for the western edge
66
67       align=name
68           Raster map to align to
69

DESCRIPTION

71       The  r.region  program  allows  the  user to manage the boundaries of a
72       raster map. These boundaries can be set by the user directly and/or set
73       from  a  region  definition file (stored under the windows directory in
74       the user’s current mapset), a raster or vector map, or a 3dview file.
75
76       The align parameter sets the current resolution equal to  that  of  the
77       named  raster map, and align the boundaries to a row and column edge in
78       the named map.  Alignment only moves the existing boundaries outward to
79       the  edges  of  the next nearest cell in the named raster map -- not to
80       the named map’s  edges.   To  perform  the  latter  function,  use  the
81       raster=name option.
82

NOTES

84       After  all  updates have been applied, the raster map’s resolution set‐
85       tings are recomputed from the boundaries and the  number  of  rows  and
86       columns in the raster map.
87
88       The  n=value  may also be specified as a function of its current value:
89       n=n+value increases the current northing, while n=n-value decreases it.
90       This is also true for s=value, e=value, and w=value.
91

EXAMPLES

93       Assign absolute coordinates to map:
94       r.region map=mymap n=220750 s=220000 w=638300 e=639000
95
96       Shift  map  (using  offset, here by +100 map units in the NS direction,
97       -50 in the EW direction):
98       r.region map=mymap n=n+100 e=e-50 w=w-50 s=s+100
99

SEE ALSO

101        r.support, g.region, v.transform
102

AUTHOR

104       Glynn Clements
105       Based upon g.region
106

SOURCE CODE

108       Available at: r.region source code (history)
109
110       Main index | Raster index | Topics index | Keywords index  |  Graphical
111       index | Full index
112
113       © 2003-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual
114
115
116
117GRASS 7.8.5                                                        r.region(1)
Impressum