geo_bbox_polygon: BBOX polygon

Description Usage Arguments Value Examples

View source: R/bbox_polygon.R

Description

Takes a bbox and returns an equivalent Feature<Polygon>

Usage

1

Arguments

bbox

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

Value

Feature<Polygon> a Polygon representation of the bounding box

Examples

1
2
3
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 Jan. 1, 2021, 4:03 p.m.