Skip to content
πŸŽ‰ SedonaDB 0.4.0 is out now! πŸ—ΊοΈ Python DataFrame API, R dplyr, Geography support & GPU-accelerated spatial joins. Read the release blog β†’

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