I'd like to change Earth Engines pyramid scheme for a particular dataset from the mean() of pixels to the max() of pixels.

Is there any way to do this?

I suspect not.

My use case is that I'm making a multiband image from a number of different sources, and want to get the max of pixels in one of the images (which is the one with the finest resolution) when I stratifiedSample the multiband image at a particular scale.

I suppose another option would be to somehow downscale all the other images when adding them to the multiband image.

1 Answer 1


You use reduceResolution for that sort of thing.


  • related question: is it possible to know the pyramiding policy of an asset? gis.stackexchange.com/questions/436788/… According to that answer, Java users cannot know, which can bring very bad surprises hard to trace back? Thanks!
    – Matifou
    Commented Nov 4, 2023 at 10:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.