ST_Srid

更新时间: 2026-03-28 01:55:16

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.

Examples

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

Output:

4326
上一篇: ST_Envelope 下一篇: ST_SetSrid
阿里云首页 云原生数据库 PolarDB 相关技术圈