Closed ozgurhsyndgn closed 1 year ago
We've fixed the problem, the problem was the WGS coordinate system.
Converting our points from degree (WGS) to meters (mollweide), function finally worked.
For whom would face the same problem, I don't remove the topic.
Hi @ozgurhsyndgn I’m glad you find a solution. Reading your issue I also guessed it should be CRS👍
Hey @rvalavi , I just fell in the same trap and ended up with the same error!
What do you think of putting a warning when people are using cv_spatial_autocor()
on WGS84 data?
Dear Roozbeh,
I'm having an error using "cv_spatial_autocor" for my species "shapefile":
Error message:
"Error in 0:nx : result would be too long a vector"
The shapefile information that I use:
I'm trying to calculate spatial autocorrelation for my high resolution (120meter grid size) habitat suitability models. The working area of my models are 136 kilometers from west to east and 116 kilometers from south to north.
I'm giving you the size of my area because I can use the same function for my country sized models and not facing any errors at all. The working area size of my country wide models are 1620km from west to east and 700km from south to north. Using the mentioned function I'm having the result of: 139284.8
The shapefile of my locations for the country sized models:
My session info:
My best regards and thanks in advance..
Hüseyin
PS: I can share the both shapefiles with you if you'd ask for.