I’m getting started with the FIS service, and I have a question on the histogram functionality. I’m trying to get the pixel counts for all possible scene classification values in a certain geometry. So far, I didn’t succeed. There are only three histogram types I can use, and “EQUIDISTANT” seems to be closest to what I need, but even so it doesn’t really work as expected. Let’s say there are 12 different possible values, I specified “bins=12”. However, it seems that the algorithm bins the resulting pixels inside a geometry according to the real occurring values, often much less than the total possible 12. It’s obviously also not constant. So in practice, the edges of the bins are always changing and in decimal numbers. This makes it very hard to retrieve exact bin counts for the individual scene classification values.
Is there any workaround or another approach I can follow?