powered by
Takes a bbox and returns an equivalent Feature<Polygon>
geo_bbox_polygon(bbox)
extent in [minX, minY, maxX, maxY] order
[minX, minY, maxX, maxY]
Feature<Polygon> a Polygon representation of the bounding box
# NOT RUN { geo_bbox_polygon(c(0, 0, 10, 10)) geo_bbox_polygon(c(-90, -30, -70, -10)) geo_bbox_polygon(c(0, 0, 10, 10)) # }
Run the code above in your browser using DataLab