Skip to content
Prev 17825 / 29559 Next

Error message in adehabitatHR

On 03/20/2013 10:55 PM, Manuel Sp?nola wrote:
because of a change in sp and in R, adehabitatHR had to change from
using the deprecated overlay() to using over(), and this led to a change
in getverticeshr(). In contrast to overlay(), over() checks that both
its arguments have identical CRS, which was not the case here.

@Clement: I guess that in getverticeshr.r, line 42, the
SpatialPolygons() call needs to pass on the CRS as second argument named
"proj4string". You might want to check the other occasions of changes
from overlay() into over().