Hi,
With the PixelBlock class, it is possible to access pixels from an imagery layer from the client side (for example like this ImageryLayer - client side pixel filter | ArcGIS API for JavaScript 4.13 ). Is it possible to 'clip' or 'filter' a pixelBlock, so only the pixels are returned which are within a geometry?
What I have in mind is something like this:
pixelsInGeometry = pixelData.pixelBlock.clip(geometry)
... but I did not find a method in the PixelBlock class to achieve this.
I would highly appreciate any ideas of suggestions.
Kind Regards
Lukas