andrefaa/ENMTML

Projection mismatch

Opened this issue · 0 comments

Filter <- sp::over(varCord, M@polygons)

This line results in an error: "Error: identicalCRS(x, y) is not TRUE"
CRS of M@polygon object = "+proj=longlat +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0" but needs to be "+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0".