[GRASS-user] Strange r.mapcalc results

Hamish hamish_b at yahoo.com
Thu Sep 24 01:43:08 EDT 2009


Hermann wrote:
> I am trying to find out if 2 raster layers are exactly
> identical.

I usually do

g.region rast=map1,map2

r.univar map1
r.univar map2

and make sure the output is the same.


another way is
r.mapcalc "diffmap = map1 - map2"
r.univar diffmap


see also wish #618
 https://trac.osgeo.org/grass/ticket/618


Hamish



      


More information about the grass-user mailing list