geos_circle_center: Get the centroid of the maximum inscribed circle

View source: R/center.R

geos_circle_centerR Documentation

Get the centroid of the maximum inscribed circle

Description

Returns the centroid of the largest inscribed circle for each shape

Usage

geos_circle_center(shp, tolerance = 0.01, epsg = 3857)

Arguments

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.

Value

A geos geometry list

Examples

data(towns)
geos_circle_center(towns)


christopherkenny/geomander documentation built on Feb. 18, 2024, 7:58 p.m.