Statistical API: bbox vs geometry

If we use geometry of arbitrary shape instead of a bbox as an input to Statistical API will the statistics be relevant to the bounding box of that geometry (i.e. including values outside of the geometry) or include stats relevant only to the pixels within the input geometry?

Hi @ksnn

When using statistical API, statistics are calculated from the pixels within that input geometry you specified, not the bbox.

The dataMask helps to avoid the pixels outside your input geometry. The output of statistical API request will always include ‘noDataCount’ statistic with the number of pixels that were not taken into account.

See examples

Best

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.