ee.Join.saveAll
Returns a join that pairs each element from the first collection with a group of matching elements from the second collection. The list of matches is added to each result as an additional property. If measureKey is specified, each match has the value of its join measure attached. Join measures are produced when withinDistance or maxDifference filters are used as the join condition.
Usage | Returns |
---|
ee.Join.saveAll(matchesKey, ordering, ascending, measureKey, outer) | Join |
Argument | Type | Details |
---|
matchesKey | String | The property name used to save the matches list. |
ordering | String, default: null | The property on which to sort the matches list. |
ascending | Boolean, default: true | Whether the ordering is ascending. |
measureKey | String, default: null | An optional property name used to save the measure of the join condition on each match. |
outer | Boolean, default: false | If true, primary rows without matches will be included in the result. |
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 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["Pairs elements from the first collection with matching elements from the second, adding the matches as a new property."],["Optionally sorts the list of matches based on a specified property and order."],["Allows for saving the measure of the join condition (e.g., distance or difference) on each match if specified."],["Can include primary elements without matches in the results by setting the `outer` parameter to true."]]],["The `ee.Join.saveAll` function creates a join between two collections, pairing each element from the first with matching elements from the second. Matched elements are stored as a list under a specified `matchesKey`. Optionally, this list can be sorted by a given property (`ordering`) in ascending or descending order. If a join condition with distance or difference measures is used, the measurement values are attached using the `measureKey`. If `outer` is set to true elements from first collection without matches will be included in the result.\n"]]