跳转至
🎉 SedonaDB 0.4.0 已正式发布!🗺️ 新增 Python DataFrame API、R dplyr 接口、Geography 支持及 GPU 加速空间连接。阅读发布博客 →

RS_SRID

Introduction: Returns the spatial reference system identifier (SRID) of the raster geometry. Returns 0 if the raster has no CRS defined or if the CRS is a custom (non-EPSG) coordinate reference system. To retrieve the full CRS definition for custom CRS, use RS_CRS.

Format: RS_SRID (raster: Raster)

Return type: Integer

Since: v1.4.1

SQL Example

SELECT RS_SRID(raster) FROM raster_table

Output:

3857