Skip to content
🌵SedonaDB (Rust) 0.3.0 is out now, featuring larger-than-memory spatial joins, and row-level CRS!

RS_Mean

Introduction: Returns Mean value for a spectral band in a Geotiff image

Format: RS_Mean (Band: ARRAY[Double])

Return type: Double

Since: v1.1.0

SQL Example

val meanDF = spark.sql("select RS_Mean(band) as mean from dataframe")