snowflake.snowpark.functions.st_makepolygonoriented¶
- snowflake.snowpark.functions.st_makepolygonoriented(geography_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#L2763-L2797)¶
Returns a polygon with vertices oriented in a consistent direction (counter-clockwise for exterior rings, clockwise for interior rings).
- Parameters:
geography_expression (ColumnOrName) – The geography expression (typically a LINESTRING) to convert to an oriented polygon.
- Returns:
The oriented polygon geometry.
- Return type:
- Examples::