Closed jaum20 closed 11 months ago
As per the ?cc_sea
help file, ref
should be a SpatVector of polygons. And, like your error message says, the method is not impemented for a PackedSpatVector. Try unpacking it first with buffland <- terra::unwrap(buffland)
.
I am almost sure this was not necessary in the 2.0 version. Thank you
cc_sea(df, lon = "decimalLongitude.new1", lat = "decimalLatitude.new1", ref = buffland)
If I omit
ref = buffland
, it works fine