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
I've had the same exact issue just now, but for some reason it produces a polygon when I restart R and run the code but not if I rerun the code within the same R session.
When using
as.polygons
on a large raster, an emptySpatVector
is returned ifaggregate=TRUE
. Here is a reproducible example:I would expect that the aggregate=T example should return an error as well if it just returns an empty SpatVector.
The text was updated successfully, but these errors were encountered: