View source: R/utils-spatial.R
bounding_box | R Documentation |
experimental
Calculate a bounding box for a center point given a set of coordinates.
bounding_box(lat, lon, d)
lat |
latitude of the center point [decimal degrees]. |
lon |
longitude of the center point [decimal degrees]. |
d |
distance from the center point [Nautical Miles]. |
Returns a matrix with max/min latitude/longitude values.
http://janmatuschek.de/LatitudeLongitudeBoundingCoordinates
Other spatial:
bbox_at_distance()
,
crs_tc()
,
filter_positions_at_range()
,
polygon_at_distance()
,
polygon_from_coords()
## Not run:
bounding_box(38.8977, 77.0366, 1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.