snowflake.snowpark.functions.st_centroid¶
- snowflake.snowpark.functions.st_centroid(geography_or_geometry_expression: Union[snowflake.snowpark.column.Column, str]) Column[source]¶
Returns the centroid of a GEOGRAPHY or GEOMETRY object as a POINT object.
- Parameters:
geography_or_geometry_expression (ColumnOrName) – A GEOGRAPHY or GEOMETRY object
- Returns:
A POINT object representing the centroid of the input geometry
- Return type:
- Examples::