공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ee.Join.saveBest
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
첫 번째 컬렉션의 각 요소를 두 번째 컬렉션의 일치하는 요소와 쌍으로 묶는 조인을 반환합니다. 조인 측정값이 가장 좋은 일치 항목이 각 결과에 추가 속성으로 추가됩니다. withinDistance 또는 maxDifference 필터가 조인 조건으로 사용되면 조인 측정값이 생성됩니다.
사용 | 반환 값 |
---|
ee.Join.saveBest(matchKey, measureKey, outer) | 참여 |
인수 | 유형 | 세부정보 |
---|
matchKey | 문자열 | 경기를 저장하는 데 사용되는 키입니다. |
measureKey | 문자열 | 일치 항목에서 조인 조건의 측정값을 저장하는 데 사용되는 키입니다. |
outer | 불리언, 기본값: false | true인 경우 일치 항목이 없는 기본 행이 결과에 포함됩니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(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. |"]]