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()


Open-EO/openeo-r-client documentation built on Feb. 21, 2024, 12:20 p.m.