Create rectangles from bounds

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