snowflake.snowpark.functions.st_makepolygon¶
- snowflake.snowpark.functions.st_makepolygon(geography_or_geometry_expression: Union[snowflake.snowpark.column.Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.47.0/src/snowflake/snowpark/_functions/scalar_functions.py#L2740-L2760)¶
Creates a polygon from a linestring that represents the exterior ring.
- Parameters:
geography_or_geometry_expression (ColumnOrName) – A column or column name containing a GEOGRAPHY or GEOMETRY object representing a linestring that forms the exterior ring of the polygon.
- Returns:
A new column containing the polygon created from the input linestring.
- Return type:
- Examples::