Skip to main content
Sets the spatial reference system identifier (SRID) of the raster geometry.

Signatures

RS_SetSRID (raster: Raster, srid: Integer)

Parameters

raster
Raster
required
The input raster.
srid
Integer
required
Spatial Reference Identifier.

Return type

The resulting raster.

Example

SELECT RS_SetSRID(raster, 4326)
FROM raster_table