Skip to contents

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