Daniel, you could use intersect() and check if it is NULL.

intersect(extent(r1), extent(r2))

Etienne


2013/4/19 Daniel Flų <daniel.flo@skogoglandskap.no>

> Hi,
>
> I have 70 raster files, and I want make  certain that none of them
> overlap, how do I check if they overlap or not?
>
> Thank you
>
> Daniel Flų
> PhD Fellow, Forest Health
> The Norwegian Forest and Landscape Institute
> Pb 115, NO-1431 Ås
> Office:   (+47) 64 94 90 28
> Mobile: (+47) 91 14 52 74
> Skype:    floe.daniel
> -----------------------------------------------------------------
> www.skogoglandskap.no<http://www.skogoglandskap.no/>
> -----------------------------------------------------------------
>
>
>         [[alternative HTML version deleted]]
>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
>

	[[alternative HTML version deleted]]

