[GRASS-user] Region doesn't match EPSG
Rich Shepard
rshepard at appl-ecosys.com
Sun Apr 30 12:27:51 PDT 2023
On Sun, 30 Apr 2023, Micha Silver wrote:
> What you do is run the r.proj module with the '-g' flag. That gives you
> the region settings in the current mapset that would match the region of
> the input raster from the other mapset. Then you use those setting as
> input to g.region. So:
>
> new_region=`r.proj -g location=<original_location> mapset=<original_mapset>
> input=<original_raster>`
>
> g.region -ap $new_region
Thanks again, Micha.
Much appreciated,
Rich
More information about the grass-user
mailing list