st_circle_center | R Documentation |
Returns the centroid of the largest inscribed circle for each shape
st_circle_center(shp, tolerance = 0.01, epsg = 3857)
shp |
An sf dataframe |
tolerance |
positive numeric tolerance to simplify by. Default is 0.01. |
epsg |
numeric EPSG code to planarize to. Default is 3857. |
An sf dataframe where geometry is the circle center of each shape in shp
data(towns)
st_circle_center(towns)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.