as.bbox: coerce to bbox

as.bboxR Documentation

coerce to bbox

Description

A coercion function for extracting a 'bbox' object that can usualy be obtained by sf::st_bbox(). This coercion function was created to easily extract the bo├║nding box from the openeos argument objects BoundingBox() and GeoJson().

Usage

`as.bbox.bounding-box`(from)

as.bbox.geojson(from)

Arguments

from

a BoundingBox() argument object or a GeoJson() argument object

Value

a bbox object from sf::st_bbox()


openeo documentation built on Nov. 17, 2022, 5:07 p.m.