Skip to contents

[Experimental]

Calculate a bounding box for a center point given a set of coordinates.

Usage

bounding_box(lat, lon, d)

Arguments

lat

latitude of the center point [decimal degrees].

lon

longitude of the center point [decimal degrees].

d

distance from the center point [Nautical Miles].

Value

Returns a matrix with max/min latitude/longitude values.

Examples

if (FALSE) {
bounding_box(38.8977, 77.0366, 1)
}