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

Glynn Clements glynn at gclements.plus.com
Fri Aug 12 02:52:38 EDT 2011


Hermann Peifer wrote:

> 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 ?

	r.series method=count

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list