[GRASS-user] Setting region to add map to location

Markus Neteler neteler at osgeo.org
Sat Jul 7 15:25:40 PDT 2018


On Sat, Jul 7, 2018 at 10:51 PM, Rich Shepard <rshepard at appl-ecosys.com> wrote:
> On Sat, 7 Jul 2018, Micha Silver wrote:
...
>> One additional point: consider to patch all DEM tiles together in their
>> native projection *first* then project the single patched DEM once to the
>> target projection.
>
>
>   This would be a good idea, and I think I did this many years ago. But,
> when I read the r.patch manual page I see that it uses file B to fill in
> null cells in file A. What I want to do is join them by a common border,
> like laying tiles on a floor. If there's a r.patch option for this I've not
> recognized it, and I don't see another r.* module for assembling adjacent
> raster maps into a single one.

r.patch does exactly that, no flags needed.

g.region raster=map1,map2,... -p
r.patch input=map1,map2,... output=map_mosaic

HTH,
Markus


More information about the grass-user mailing list