Skip to main content
Returns Mean value for a spectral band in a Geotiff image

Signatures

RS_Mean (Band: ARRAY[Double])

Parameters

Band
ARRAY[Double]
required
The band index.

Return type

A numeric value.

Example

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