[GRASS-user] Re: correcting a series of images for wrong bounding
box (extend)
Hamish
hamish_b at yahoo.com
Fri May 1 06:17:54 EDT 2009
Micha wrote:
> So r.region actually does a kind of affine transformation? I don't
> remember seeing this documented anywhere (the manual says
> "...manage the boundaries...") , and I must say it's confusing and
> unexpected that a module called r.region (similar to g.region)
> shifts/changes the data, rather than just defining the region
> and resolution.
it does not touch the data array. It only modifies where that array is
thought to be in space. i.e. it just edits the $MAPSET/cellhd/$MAPNAME
file.
if you put new bounds which don't exactly match the array size it will
adjust your resolution so that it does.
Hamish
More information about the grass-user
mailing list