Skip to content

Commit

Permalink
docs: add docs for RS_Rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
furqaankhan committed Oct 25, 2023
1 parent 2f2cc22 commit 11f5b21
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/api/sql/Raster-operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,28 @@ Output:
54
```

### RS_Rotation

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

Format: `RS_Rotation(raster: Raster)`

Since: `v1.5.1`

Spark SQL Example:

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

Output:

```
-1.1071487177940904
```

### RS_ScaleX

Introduction: Returns the pixel width of the raster in CRS units.
Expand Down

0 comments on commit 11f5b21

Please sign in to comment.