Hello,
I have a piece of code I've been using to read an sf
object that has always worked perfectly well. Now, however, I'm getting an error message:
Error in CPL_get_z_range(obj, 3) : z error - expecting three columns;
The shapefile hasn't changed and neither has the code, which I've pasted below.
library(sf)
library(dplyr)
shp <- read_sf(dsn = ".", layer = "NCCA_GL_2020_Frame_4_14_21") %>%
st_transform(crs=4326)
Has something changed in the sf
package? Has anyone else had this issue?
Thanks so much!