powered by
An empty SpatExtent has no area
An empty SpatVector has no geometries.
# S4 method for SpatExtent is.empty(x)# S4 method for SpatVector is.empty(x)
# S4 method for SpatVector is.empty(x)
logical
SpatVector or SpatExtent
e <- ext(0,0,0,0) is.valid(e) is.empty(e) v <- vect() is.valid(v) is.empty(v)
Run the code above in your browser using DataLab