You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function organiseBirds will not organise an sf object.
Error is:
"Error in organiseBirds(dat, sppCol = "vetenskapligt_namn", idCols = c("lokal", :
The column names defined for the coordinates could not be found in the data set"
I think the reason is that at line 520
the function calls:
if (any(class(x) == "data.frame"))
an sf object gives a response of
"sf" "data.frame"
so is assumed to not be spatial by default as the code is now
possible solution would be
all( any( class(x)%in%"sf"), any( class(x) %in% "data.frame"))
Charlie
The text was updated successfully, but these errors were encountered:
The function organiseBirds will not organise an sf object.
Error is:
"Error in organiseBirds(dat, sppCol = "vetenskapligt_namn", idCols = c("lokal", :
The column names defined for the coordinates could not be found in the data set"
I think the reason is that at line 520
the function calls:
if (any(class(x) == "data.frame"))
an sf object gives a response of
"sf" "data.frame"
so is assumed to not be spatial by default as the code is now
possible solution would be
all( any( class(x)%in%"sf"), any( class(x) %in% "data.frame"))
Charlie
The text was updated successfully, but these errors were encountered: