Name

ST_SetSRID — Sets the SRID on a geometry to a particular integer value.

Synopsis

geometry ST_SetSRID(geometry geom, integer srid);

Description

Sets the SRID on a geometry to a particular integer value. Useful in constructing bounding boxes for queries.

[Note]

This function does not transform the geometry is any way - it simply sets the projection the geometry that it's currently in. Use ST_Transform if you want to transform the geometry into a new projection.

This method implements the OpenGIS Simple Features Implementation Specification for SQL.

This method supports Circular Strings and Curves

See Also

Section 4.2.1, “The SPATIAL_REF_SYS Table and Spatial Reference Systems”, ST_SRID, ST_Transform, UpdateGeometrySRID