snowflake.snowpark.functions.st_dimension¶
- snowflake.snowpark.functions.st_dimension(geography_or_geometry_expression: Union[snowflake.snowpark.column.Column, str]) Column[source]¶
Returns the dimension of a GEOGRAPHY or GEOMETRY object.
- Parameters:
geography_or_geometry_expression (ColumnOrName) – A GEOGRAPHY or GEOMETRY object
- Returns:
The dimension of the input object (0 for points, 1 for lines, 2 for polygons)
- Return type:
- Examples::