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 count of a particular value from a spectral band in a raster image

Signatures

RS_CountValue (Band1: ARRAY[Double], Target: Double)

Parameters

Band1
ARRAY[Double]
required
The first spectral band.
Target
Double
required
The target value.

Return type

An integer value.

Example

val countDF = spark.sql("select RS_CountValue(band1, target) as count from dataframe")