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.
ee.Reducer.combine
Stay organized with collections
Save and categorize content based on your preferences.
Creates a Reducer that runs two reducers in parallel. The combined reducer's outputs will be those of reducer1 followed by those of reducer2, where the output names of reducer2 are prefixed with the given string.
If sharedInputs is true, the reducers must have the same number of inputs, and the combined reducer's will match them; if it is false, the inputs of the combined reducer will be those of reducer1 followed by those of reducer2.
| Usage | Returns | Reducer.combine(reducer2, outputPrefix, sharedInputs) | Reducer |
| Argument | Type | Details | this: reducer1 | Reducer | The first reducer. |
reducer2 | Reducer | The second reducer. |
outputPrefix | String, default: "" | Prefix for reducer2's output names. |
sharedInputs | Boolean, default: false | Whether the reducers share inputs. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-19 UTC.
[null,null,["Last updated 2024-09-19 UTC."],[],[]]