Skip to content
🎉 Apache Sedona 1.8.1 is now available! Check out the new features and improvements.

RS_Rotation

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

Format: RS_Rotation(raster: Raster)

Since: v1.5.1

SQL Example

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

Output:

-1.1071487177940904