powered by
Get Extent of sf objects
sf_extent(x)
sf object
a raster Extent
This function exists to avoid raster needing the sf package. We don't need GDAL, GEOS, and all the other fun stuff to find four numbers that describe coordinate range, so this is a workaround.
# NOT RUN { sf_extent(silicate::inlandwaters) # }
Run the code above in your browser using DataLab