snowflake.snowpark.functions.st_makepolygon¶
- snowflake.snowpark.functions.st_makepolygon(geography_or_geometry_expression: Union[snowflake.snowpark.column.Column, str]) Column[source]¶
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::