View source: R/utils-spatial.R
bbox_at_distance | R Documentation |
d
experimental
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.
bbox_at_distance(geo, d, ...)
geo |
a geographical position [lon, lat] |
d |
a distance in Nautical Miles |
... |
other parameters passed to |
an st_bbox
object
Other spatial:
bounding_box()
,
crs_tc()
,
filter_positions_at_range()
,
polygon_at_distance()
,
polygon_from_coords()
## Not run:
fra <- c(8.570556, 50.03333) # Frankfurt Airport (longitude, latitude)
bbox_at_distance(fra, 40)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.