[GRASS-user] Perform resample a raster using another image as a reference for the process?
nik at nikosalexandris.net
Wed Aug 3 12:55:25 PDT 2016
>> >>> Hello thank you very much , you can put some screenshots of the
>> >>> process?
>> >> have a look at https://grass.osgeo.org/grass70/manuals/g.region.html
>> >> -a Align region to resolution raster=name[,name,...]
>> See also
>> >> Set region to match raster map(s)
>> >> g.region -a raster=your_raster_you_want_align_to
>> > Also useful (to read and use):
>> > https://grass.osgeo.org/grass70/manuals/r.resample.html
>> For an overview, see also
>> PS: I have now added the second link to all relevant manual pages
>Hello thank you very much , then the command is as follows:
>g.region -a -p raster=lsat5_1987_10 align=urban ?
Eddison, the command is as Helmut proposed in one of his first posts
Essentialy, you want to set the extent of the region (within which
grass' raster modules will operate) to match a raster map's dimensions.
And, even more, you want to force the alignment of the extent to this
map. This is done by addin the -a flag:
g.region -a raster=Your_Raster_Map
That's it, nothing more.
ps- Please, if you would like, keep bottom posting so as to to preserve flow of the
More information about the grass-user