Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt

Use this file to discover all available pages before exploring further.

Returns Mode from a spectral band in a Geotiff image in form of an array

Signatures

RS_Mode (Band: ARRAY[Double])

Parameters

Band
ARRAY[Double]
required
The band index.

Return type

An array of double values.

Example

val modeDF = spark.sql("select RS_Mode(band) as mode from dataframe")