sf_extent: Extent of simple features

View source: R/sf_extent.R

sf_extentR Documentation

Extent of simple features

Description

Get Extent of sf objects

Usage

sf_extent(x)

Arguments

x

sf object

Details

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.

Value

a raster Extent

Examples

sf_extent(silicate::inlandwaters)

r-gris/trimesh documentation built on Nov. 18, 2022, 2:46 a.m.