[GRASS-user] Check for non-overlapping raster maps

Hermann Peifer peifer at gmx.eu
Thu Aug 11 01:46:32 EDT 2011


Hi,

I have a mapset with 44 raster maps. I want to check that they do NOT 
have overlapping data areas. My thought is to do something like:

r.mapcalc "checkmap=isnull(map1) + isnull(map2) + ... + isnull(map44)"

If the min value of the resulting checkmap is 43, then I know that the 
maps are non-overlapping.

Is there a smarter way of doing the test ?

Thanks in advance, Hermann


More information about the grass-user mailing list