View source: R/utils_geometry.R
buffer_rectangle | R Documentation |
Define a rectangle bounding box with a given ratio around a location
buffer_rectangle(
data,
size = 60000,
x_shift = 0,
y_shift = 0,
orientation = "h",
ratio = 297/210,
...
)
data |
sf point object |
size |
size of the largest dimension of the bounding box. a vector of length 2 (width, height) ignores the orientation and ratio parameters |
x_shift , y_shift |
shifts in the x and y direction |
orientation |
orientation of the bounding box ("h" or "v") |
ratio |
height:width ratio |
... |
used for mapping |
a sf bounding box object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.