shapely.centroid
How Shapely runs Centroid: shapely.centroid.
| Engine | Shapely |
|---|---|
| Tool name | shapely.centroid |
| Interface | python |
| Implements | Centroid |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
geometry | any | yes | Not stated | Not stated | Not stated |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
layer | geometry | Not stated |
inside | Not stated | always no. Use shapely.point_on_surface for a point inside the polygon. |
Differences from the operation
None noted
Harvested by the python-libs harvester from engine version
2.2.0. Names can change when an engine is harvested again.