buffer_area | R Documentation |
This function is deprecated because the functionality has been incorporated
into the improved sfext::st_buffer_ext()
function which uses a similar set
of parameters.
Return an sf object of an area with a buffer applied to it. If no buffer distance is provided, a default buffer is calculated of one-eighth the diagonal distance of the bounding box (corner to corner) for the area. The metadata for the provided area remains the same.
buffer_area(area, dist = NULL, diag_ratio = NULL)
area |
sf object. |
dist |
buffer distance in meters. Optional. |
diag_ratio |
ratio to set map extent based diagonal distance of area's
bounding box. Ignored when |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.