geo-registry

GeoSeries.centroid

How GeoPandas runs Centroid: geopandas.GeoSeries.centroid.

About this implementation
Engine GeoPandas
Tool name geopandas.GeoSeries.centroid
Interface python
Implements Centroid
Documentation Not stated
Effects modifies input: no, network: no
Notes Property.
Status active

Parameters

Not stated

How it maps to the operation

Operation parameter Parameter here Note
inside Not stated always no. Use GeoSeries.representative_point() for a point inside the polygon.

Differences from the operation

  • A property of the GeoSeries, not a method; returns a GeoSeries without the other columns.
  • Warns when the CRS is geographic.

Harvested by the python-libs harvester from engine version 1.2.0. Names can change when an engine is harvested again.