Earth Engine is introducing noncommercial quota tiers to safeguard shared compute resources and ensure reliable performance for everyone. All noncommercial projects will need to select a quota tier by April 27, 2026 or will use the Community Tier by default. Tier quotas will take effect for all projects (regardless of tier selection date) on April 27, 2026. Learn more.
PyramidingPolicy
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
Defines the algorithm for creating reduced-resolution image bands.
The default mask is the mean of input masks, reflecting the total weight of the input data.
Different policies like MEAN, SAMPLE, MIN, MAX, MODE, and MEDIAN are used for various data types and purposes.
The algorithm to be used when creating reduced-resolution versions of an image band. By default, the mask is computed as the MEAN of the input masks, reflecting the total weight of the input data over which the requested output statistic was calculated. In the case of SAMPLE, the sampled pixel's mask is used directly.
Enums
PYRAMIDING_POLICY_UNSPECIFIED
Not specified.
MEAN
Output pixel is the mask-weighted mean of the input pixels. Should be used for direct observation results and continuous quantities like temperature.
SAMPLE
Output pixel is identical to the upper-left input pixel. Should be used for QA/bitmask bands or other non-continuous fields like date of pixel acquisition.
MIN
Output pixel is the minimum value of the input pixels.
MAX
Output pixel is the maximum value of the input pixels.
MODE
Output pixel is the mask-weighted mode of the input pixels. Should be used for landcover bands.
MEDIAN
Output pixel is the mask-weighted median of the input pixels. In case of a tie, the mean of the middle two values is used.