Get the box in the osmdata format.
drt_osm_bb(aoi)
aoi, | spatial object, object to retreive the bounding box from. |
---|
A matrix conaining the bbox in osmdata format.
#> Reading layer `aoi' from data source `/home/runner/work/_temp/Library/drtplanr/example.gpkg' using driver `GPKG' #> Simple feature collection with 1 feature and 6 fields #> geometry type: POLYGON #> dimension: XY #> bbox: xmin: 7.4947 ymin: 47.0366 xmax: 7.5359 ymax: 47.0599 #> geographic CRS: WGS 84drt_osm_bb(aoi)#> min max #> x 7.4947 7.5359 #> y 47.0366 47.0599