.TH r.region 1grass "" "GRASS 6.4.4" "Grass User's Manual" .SH NAME \fI\fBr.region\fR\fR - Sets the boundary definitions for a raster map. .SH KEYWORDS raster, metadata .SH SYNOPSIS \fBr.region\fR .br \fBr.region help\fR .br \fBr.region\fR [\-\fBcd\fR] \fBmap\fR=\fIname\fR [\fBregion\fR=\fIname\fR] [\fBraster\fR=\fIname\fR] [\fBvector\fR=\fIname\fR] [\fB3dview\fR=\fIname\fR] [\fBn\fR=\fIvalue\fR] [\fBs\fR=\fIvalue\fR] [\fBe\fR=\fIvalue\fR] [\fBw\fR=\fIvalue\fR] [\fBalign\fR=\fIname\fR] [\-\-\fBverbose\fR] [\-\-\fBquiet\fR] .SS Flags: .IP "\fB\-c\fR" 4m .br Set from current region .IP "\fB\-d\fR" 4m .br Set from default region .IP "\fB\-\-verbose\fR" 4m .br Verbose module output .IP "\fB\-\-quiet\fR" 4m .br Quiet module output .PP .SS Parameters: .IP "\fBmap\fR=\fIname\fR" 4m .br Raster map to change .IP "\fBregion\fR=\fIname\fR" 4m .br Set region from named region .IP "\fBraster\fR=\fIname\fR" 4m .br Set region to match this raster map .IP "\fBvector\fR=\fIname\fR" 4m .br Set region to match this vector map .IP "\fB3dview\fR=\fIname\fR" 4m .br Set region to match this 3dview file .IP "\fBn\fR=\fIvalue\fR" 4m .br Value for the northern edge (format dd:mm:ss{N|S}) .IP "\fBs\fR=\fIvalue\fR" 4m .br Value for the southern edge (format dd:mm:ss{N|S}) .IP "\fBe\fR=\fIvalue\fR" 4m .br Value for the eastern edge (format ddd:mm:ss{E|W}) .IP "\fBw\fR=\fIvalue\fR" 4m .br Value for the western edge (format ddd:mm:ss{E|W}) .IP "\fBalign\fR=\fIname\fR" 4m .br Raster map to align to .PP .SH DESCRIPTION The \fIr.region\fR program allows the user to manage the boundaries of a raster map. These boundaries can be set by the user directly and/or set from a region definition file (stored under the windows directory in the user's current mapset), a raster or vector map, or a 3dview file. .PP The \fBalign\fR parameter sets the current resolution equal to that of the named raster map, and align the boundaries to a row and column edge in the named map. Alignment only moves the existing boundaries outward to the edges of the next nearest cell in the named raster map -- not to the named map's edges. To perform the latter function, use the \fBraster=\fR\fIname\fR option. .SH NOTES After all updates have been applied, the raster map's resolution settings are recomputed from the boundaries and the number of rows and columns in the raster map. .PP The n=\fIvalue\fR may also be specified as a function of its current value: n=n+\fIvalue\fR increases the current northing, while n=n-\fIvalue\fR decreases it. This is also true for s=\fIvalue\fR, e=\fIvalue\fR, and w=\fIvalue\fR. .SH EXAMPLES Assign absolute coordinates to map: \fC .DS .br r.region map=mymap n=220750 s=220000 w=638300 e=639000 .br .DE \fR Shift map (using offset, here by 100 map units in two directions): \fC .DS .br r.region map=mymap n=n+100 e=e+100 w=w+100 s=s+100 .br .DE \fR .SH SEE ALSO \fIr.support\fR .br \fIg.region\fR .SH AUTHOR Glynn Clements .br Based upon \fIg.region\fR .PP \fILast changed: $Date: 2013-04-18 07:56:53 +0200 (Thu, 18 Apr 2013) $\fR .PP Full index .PP © 2003-2014 GRASS Development Team