Point2Bbox | R Documentation |
Creates the bounding box (numeric vector of length four) around the input point(s).
Point2Bbox(x, y = NULL, size, crs = 4326)
x |
an |
y |
numeric, the latitude/northing of the point(s). Default: NULL |
size |
numeric indicating the size (in meters) of the bounding box to create |
crs |
coordinate reference system of the input (and the output): object of class |
The function assumes that the crs
units are either degrees or meters, a warning is issued if not,
and the result will probably be incorrect.
A bounding box (numeric vector of length four), or a list of bounding boxes if the input is not scalar.
xy.coords
, st_crs
## Not run:
Point2Bbox(x = -73.96557, y = 40.78246, size = 1000, crs = 4326)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.