powered by
Returns the centroid of the largest inscribed circle for each shape
st_circle_center(shp, tolerance = 0.01, epsg = 3857)
An sf dataframe where geometry is the circle center of each shape in shp
An sf dataframe
positive numeric tolerance to simplify by. Default is 0.01.
numeric EPSG code to planarize to. Default is 3857.
data(towns) st_circle_center(towns)
Run the code above in your browser using DataLab