sedona icon indicating copy to clipboard operation
sedona copied to clipboard

[Core] Zonal statistics docs is showing function signature which does not exist

Open Imbruced opened this issue 3 months ago • 0 comments

In the Sedona docs, there is a Zonal Stats SQL signature that does not exist in the code.

RS_ZonalStats(raster: Raster, zone: Geometry, statType: String, allTouched: Boolean)

The closest one is the following.

getZonalStats(GridCoverage2D raster, Geometry roi, int band, String statType, boolean allTouched)

The functions that we have

java

getZonalStats(GridCoverage2D raster, Geometry roi, int band, String statType, boolean allTouched, boolean excludeNoData, boolean lenient)
getZonalStats(GridCoverage2D raster, Geometry roi, int band, String statType, boolean allTouched, boolean excludeNoData)
getZonalStats(GridCoverage2D raster, Geometry roi, int band, String statType, boolean allTouched)
getZonalStats(GridCoverage2D raster, Geometry roi, int band, String statType)
getZonalStats(GridCoverage2D raster, Geometry roi, String statType)

We need to implement the function signature from docs or remove or adjust it

cc: @jiayuasu

Imbruced avatar Oct 19 '25 21:10 Imbruced