View source: R/bbox_functions.R
crop_sf | R Documentation |
Crop an sf geometry object to a desired 4-sided shape. The shape is defined by a radius and a number of vertices. The radius is the distance from the center to the tangent point of each face. The crop center is the central point of the sf geometry point to crop round.
crop_sf(data, n_vertices = 4, radius = 10, crop_center = c(0, 0))
data |
sf geometry data. |
n_vertices |
Number of vertices crop will have. |
radius |
Radius of sf geometry crop. |
crop_center |
Central point of sf crop. |
sf geometry data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.