ST_SETSRID

functionsupportedCore SQL functions

docs.snowflake.com ↗

Geospatial functions

Returns a GEOMETRY object that has its SRID (spatial reference system identifier) set to the specified value. Use this function to change the SRID without affecting the coordinates of the object. If you also need to change the coordinates to match the new SRS (spatial reference system), use ST_TRANSFORM instead.

Syntax

ST_SETSRID( <geometry_expression> , <srid> )

Parameters

NameRequiredDescription
geometry_expressionrequiredThe argument must be an expression of type GEOMETRY.
sridrequiredThe SRID to set in the returned GEOMETRY object.

Returns

The function returns a value of type GEOMETRY.