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

Hermann Peifer peifer at gmx.eu
Fri Aug 12 06:49:38 EDT 2011


On 12/08/2011 08:52, Glynn Clements wrote:
>
> 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
>

Thanks. This is what I was looking for, but obviously not able to find 
it myself :-(

Hermann


More information about the grass-user mailing list