polygon_from_extent: Turn an extent object into a polygon

View source: R/UTILITY_FUNCTIONS.R

polygon_from_extentR Documentation

Turn an extent object into a polygon

Description

Turn an extent object into a polygon

Usage

polygon_from_extent(x, proj4string = NULL)

Arguments

x

An object from which an bounding box object can be retrieved.

proj4string

A PROJ.4 formatted string defining the required projection.

Value

A Simple Feature object.


FedData documentation built on Oct. 3, 2023, 9:07 a.m.