geo_bbox_polygon: BBOX polygon

View source: R/bbox_polygon.R

geo_bbox_polygonR Documentation

BBOX polygon

Description

Takes a bbox and returns an equivalent Feature<Polygon>

Usage

geo_bbox_polygon(bbox)

Arguments

bbox

extent in ⁠[minX, minY, maxX, maxY]⁠ order

Value

Feature<Polygon> a Polygon representation of the bounding box

Examples

geo_bbox_polygon(c(0, 0, 10, 10))
geo_bbox_polygon(c(-90, -30, -70, -10))
geo_bbox_polygon(c(0, 0, 10, 10))

ropenscilabs/geoops documentation built on Nov. 8, 2024, 4:01 a.m.