Return an axis-aligned bounding box delimiting a circle at distance d
Source: R/utils-spatial.R
bbox_at_distance.Rd
bbox_at_distance
returns an st_bbox
object representing
the extent of an axis-aligned bounding box containing the (polygonal approximation of a)
a circle at dithance d
.
WARNING: current implementation relies on polygon_at_distance
which is
not robust to cope with circles containing the Poles or crossing the date line.
Arguments
- geo
a geographical position [lon, lat]
- d
a distance in Nautical Miles
- ...
other parameters passed to
polygon_at_distance()
Value
an st_bbox
object
See also
Other spatial:
bounding_box()
,
crs_tc()
,
filter_positions_at_range()
,
polygon_at_distance()
,
polygon_from_coords()
Examples
if (FALSE) {
fra <- c(8.570556, 50.03333) # Frankfurt Airport (longitude, latitude)
bbox_at_distance(fra, 40)
}