snowflake.snowpark.functions.st_transform¶
- snowflake.snowpark.functions.st_transform(geometry_expression: Union[snowflake.snowpark.column.Column, str], to_srid: Union[snowflake.snowpark.column.Column, str], from_srid: Union[snowflake.snowpark.column.Column, str] = None)[source]¶
Transforms a geometry from one spatial reference system (SRS) to another using SRID (Spatial Reference System Identifier) values.
- Parameters:
geometry_expression (ColumnOrName) – A column containing geometry objects to transform
to_srid (ColumnOrName) – The target spatial reference system identifier to transform the geometry to
from_srid (ColumnOrName, optional) – The source spatial reference system identifier. If None, uses the geometry’s existing SRID
- Returns:
A column containing the transformed geometry objects
- Return type:
- Examples::