bbox_coords: Return bounding box coordinates of a spatial (sp/sf/raster)...

View source: R/bbox_functions.R

bbox_coordsR Documentation

Return bounding box coordinates of a spatial (sp/sf/raster) object

Description

This function provides a simple wrapper around sf::st_bbox that instead returns a named data.frame containing (xmin, ymin, xmax, ymax)

Usage

bbox_coords(x)

Arguments

x

a spatial object (sp/sf/raster)

Value

a data.frame


mikejohnson51/AOI documentation built on Nov. 22, 2023, 6:05 p.m.