跳转至
Apache Sedona 1.9.0 已正式发布,新增 Spark 4.1 支持、proj4sedona 坐标系转换、Bing Tile 函数等众多特性!

RS_Rotation

Introduction: Returns the uniform rotation of the raster in radian.

RS_Rotation

Format: RS_Rotation(raster: Raster)

Return type: Double

Since: v1.5.1

SQL Example

SELECT RS_Rotation(
        RS_MakeEmptyRaster(2, 10, 15, 1, 2, 1, -2, 1, 2, 0)
        )

Output:

-1.1071487177940904