Name

ST_SetSRID — Sets the SRID of a raster to a particular integer srid defined in the spatial_ref_sys table.

Synopsis

raster ST_SetSRID(raster rast, integer srid);

Description

Sets the SRID on a raster to a particular integer value.

[Note]

This function does not transform the raster in any way - it simply sets meta data defining the spatial ref of the coordinate reference system that it's currently in. Useful for transformations later.

See Also

Section 4.3.1, “The SPATIAL_REF_SYS Table and Spatial Reference Systems”, ST_SRID