sedona.sql.ST_PointOnSurface
How Apache Sedona runs Centroid: sedona.sql.ST_PointOnSurface.
| Engine | Apache Sedona |
|---|---|
| Tool name | sedona.sql.ST_PointOnSurface |
| 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 | Union | 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 yes. Use ST_Centroid for the geometric centroid. |
Differences from the operation
- A Spark SQL function: arguments are columns or column names, run over a Spark DataFrame.
Harvested by the python-packages harvester from engine version
1.9.1. Names can change when an engine is harvested again.