PostGIS

ST_SetSRID

Prev

12.7. Raster Editors

Next

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