Объявление : Все некоммерческие проекты, зарегистрированные для использования Earth Engine до
15 апреля 2025 года, должны
подтвердить некоммерческое право на сохранение доступа к Earth Engine.
ee.Join.saveBest
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Возвращает соединение, которое сопоставляет каждый элемент из первой коллекции с соответствующим элементом из второй коллекции. Соответствие с наилучшей мерой соединения добавляется к каждому результату как дополнительное свойство. Меры соединения создаются, когда в качестве условия соединения используются фильтры withinDistance или maxDifference.
Использование | Возврат | ee.Join.saveBest(matchKey, measureKey, outer ) | Присоединиться |
Аргумент | Тип | Подробности | matchKey | Нить | Ключ, используемый для сохранения матча. |
measureKey | Нить | Ключ, используемый для сохранения меры условия соединения при сопоставлении. |
outer | Логическое значение, по умолчанию: false | Если true, в результат будут включены основные строки без совпадений. |
,Возвращает соединение, которое сопоставляет каждый элемент из первой коллекции с соответствующим элементом из второй коллекции. Соответствие с наилучшей мерой соединения добавляется к каждому результату как дополнительное свойство. Меры соединения создаются, когда в качестве условия соединения используются фильтры withinDistance или maxDifference.
Использование | Возврат | ee.Join.saveBest(matchKey, measureKey, outer ) | Присоединиться |
Аргумент | Тип | Подробности | matchKey | Нить | Ключ, используемый для сохранения матча. |
measureKey | Нить | Ключ, используемый для сохранения меры условия соединения при сопоставлении. |
outer | Логическое значение, по умолчанию: false | Если true, в результат будут включены основные строки без совпадений. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 UTC."],[[["\u003cp\u003eThe \u003ccode\u003esaveBest\u003c/code\u003e join pairs elements from two collections based on the best match according to a specified measure.\u003c/p\u003e\n"],["\u003cp\u003eA join measure, like distance or difference, is calculated when using \u003ccode\u003ewithinDistance\u003c/code\u003e or \u003ccode\u003emaxDifference\u003c/code\u003e filters in the join condition.\u003c/p\u003e\n"],["\u003cp\u003eThe best match and its corresponding measure are added as properties to the result using specified keys (\u003ccode\u003ematchKey\u003c/code\u003e, \u003ccode\u003emeasureKey\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eOptionally, unmatched primary elements can be included in the output by setting the \u003ccode\u003eouter\u003c/code\u003e parameter to \u003ccode\u003etrue\u003c/code\u003e.\u003c/p\u003e\n"]]],["This describes a join operation that pairs elements from two collections. It identifies the best match between elements based on filters like `withinDistance` or `maxDifference`, storing this match in a specified `matchKey`. The quality of the match is stored under `measureKey`. The `outer` argument determines if unmatched elements from the first collection are included in the output. The function, `ee.Join.saveBest`, returns a join object.\n"],null,["# ee.Join.saveBest\n\nReturns a join that pairs each element from the first collection with a matching element from the second collection. The match with the best join measure is added to each result as an additional property. Join measures are produced when withinDistance or maxDifference filters are used as the join condition.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------|---------|\n| `ee.Join.saveBest(matchKey, measureKey, `*outer*`)` | Join |\n\n| Argument | Type | Details |\n|--------------|-------------------------|-----------------------------------------------------------------------|\n| `matchKey` | String | The key used to save the match. |\n| `measureKey` | String | The key used to save the measure of the join condition on the match. |\n| `outer` | Boolean, default: false | If true, primary rows without matches will be included in the result. |"]]