ST_Srid

更新时间: 2026-08-24 09:41:25

Returns the spatial reference system identifier (SRID) of a raster object. The SRID and its definition are stored in the spatial_ref_sys table.

Syntax

integer ST_Srid(raster raster_obj);

Parameters

ParameterDescription
raster_objThe raster object.

Example

SELECT ST_Srid(raster_obj) FROM raster_table WHERE id = 1;

Output:

4326
上一篇: ST_Envelope 下一篇: ST_SetSrid