Learn R Programming

geomander (version 2.3.0)

geos_circle_center: 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)

Value

A geos geometry list

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.

Examples

Run this code
data(towns)
geos_circle_center(towns)

Run the code above in your browser using DataLab