sedona
sedona copied to clipboard
[Core] Zonal statistics docs is showing function signature which does not exist
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