Skip to main content
Return radius lines for the largest circles within polygonal geometries. Each result is a two-point LineString from the circle center to the nearest point on the polygon boundary. Polygon, MultiPolygon, and None inputs are supported; other geometry types and empty polygonal geometries raise an error only when an action evaluates an affected row. Partial actions may not inspect every invalid row.

Signature

Parameters

float, array-like, pandas Series, or pandas-on-Spark Series
default:"None"
Stop refining when the search area is smaller than this distance. By default, each geometry uses max(width, height) / 1000. A one-value local array-like is broadcast; otherwise it must have the same length as the GeoSeries. A pandas Series must also have the same index. A distributed Series must share the same frame and index as the geometry column. Negative values are rejected for scalar and row-wise inputs. This is intentionally stricter than GeoPandas, whose array path currently bypasses its scalar negative-value validation and emits implementation-dependent results. Length and index validation for local row-wise inputs is also lazy: an error is raised only when an action evaluates a mismatched row.

Returns

GeoSeries
See also
  • GeoSeries.minimum_bounding_circle: minimum enclosing circle geometry

Examples