Skip to content
Apache Sedona 1.9.0 is out now, featuring Spark 4.1 support, proj4sedona CRS transformation, Bing Tile functions, and more!

ST_SetSRID

Introduction: Sets the spatial reference system identifier (SRID) of the geometry.

Format: ST_SetSRID (A:geometry, srid: Integer)

Return type: Geometry

SQL example:

SELECT ST_SetSRID(polygondf.countyshape, 3021)
FROM polygondf