h2gis icon indicating copy to clipboard operation
h2gis copied to clipboard

ST_Extrema

Open ebocher opened this issue 9 years ago • 4 comments

ST_Extrema permits to compute the min and max value of a GeoRaster. Nodata is excluded when the band as a nodata value The input GeoRaster must contains only one band.

ebocher avatar Nov 20 '15 14:11 ebocher

Done

ebocher avatar Nov 20 '15 14:11 ebocher

H2 does not recognize primitive array like double[] . If you render ST_Extrema as text, it is not readable. Morover you can't use ARRAY_GET on the returned value.

nicolas-f avatar Jan 08 '16 14:01 nicolas-f

So what ? Could you explain a bit more ?

ebocher avatar Jan 08 '16 14:01 ebocher

The function should return Double[] or Object[] maybe in order to be recognized by H2 as an Array.

nicolas-f avatar Jan 08 '16 14:01 nicolas-f