[GRASS-user] Region Definition in GRASS

Pedro Roma pedroroma1982 at gmail.com
Mon Feb 8 12:00:28 EST 2010


By the way. Instead of being setting everytime g.region xxxx -p can I save a
region definition and use it everytime? If so, how do I load region
definition in a script?

Thanks

Best regards
Pedro

On Fri, Feb 5, 2010 at 6:50 PM, Glynn Clements <glynn at gclements.plus.com>wrote:

>
> Pedro Roma wrote:
>
> > Ok but for instance. If my region is defined with a Spatial Resolution of
> > 1kilometer and, if I do some r.mapcalc with two LANDSAT images, the
> output
> > image will have which one of the resolutions? the Region or the 2 landsat
> > images?
>
> The region.
>
> Most raster modules (including r.mapcalc) generate maps with the
> bounds and resolution of the current region. Input maps are cropped,
> padded and/or resampled to the current region, so all processing
> within the module takes place on the grid defined by the current
> region.
>
> The main exceptions are the r.in.* modules, which import files
> cell-for-cell, using the bounds specified in the file's metadata if
> present. The current region is ignored.
>
> Modules which perform their own resampling (e.g. r.resamp.*, r.proj)
> create output maps according to the current region but read their
> input maps without cropping or resampling.
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100208/bfdb727a/attachment.html


More information about the grass-user mailing list