跳转至
🎉 Apache Sedona 1.9.1 已正式发布!🗺️ 新增 Geography SQL 函数、Box2D 与 Box3D 类型、栅格 Python UDF 等。查看发布说明 →

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