I am trying to understand the meaning of this error. I created spatial data using the sf
package in R
and wrote out the data as a GeoPackage
(i.e. a .gpkg
). However, whenever I add the data into ArcMap, I receive the following error.
Unfortunately, my reproducible R example works and my real example still does not, thus something must be wrong with my code. And I cannot figure out what it is. The real code is too long and cannot be copied here.
The weird thing is that when I write the data in R
out as a shapefile
, there is no error and the data is correctly spatially referenced, etc. What does this error mean? And why would it produce as a .gpkg
and not as a .shp
?
A similar error message was seen here, but it is a little different.