geos_create_rectangle: Create rectangles from bounds

View source: R/geos-make.R

geos_create_rectangleR Documentation

Create rectangles from bounds

Description

Create rectangles from bounds

Usage

geos_create_rectangle(xmin, ymin, xmax, ymax, crs = NULL)

Arguments

xmin

Left bound of envelope

ymin

Lower bound of envelope

xmax

Right bound of envelope

ymax

Upper bound of envelope

crs

An object that can be interpreted as a CRS. See wk::wk_crs().

Value

A geos_geometry() consisting of a polygon


geos documentation built on June 7, 2023, 6:04 p.m.