공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ee.Filter.withinDistance
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
왼쪽 도형이 오른쪽 도형에서 지정된 거리 내에 있는 경우 통과하는 단항 또는 이항 필터를 만듭니다. 조인 조건으로 사용되는 경우 이 거리는 조인 측정치로 사용됩니다.
사용 | 반환 값 |
---|
ee.Filter.withinDistance(distance, leftField, rightValue, rightField, leftValue, maxError) | 필터 |
인수 | 유형 | 세부정보 |
---|
distance | 부동 소수점 수 | 필터가 true를 반환하는 최대 거리입니다. |
leftField | 문자열, 기본값: null | 왼쪽 피연산자의 선택기입니다. leftValue가 지정된 경우 지정하면 안 됩니다. |
rightValue | 객체, 기본값: null | 오른쪽 피연산자의 값입니다. rightField가 지정된 경우 지정하면 안 됩니다. |
rightField | 문자열, 기본값: null | 오른쪽 피연산자의 선택기입니다. rightValue가 지정된 경우 지정하면 안 됩니다. |
leftValue | 객체, 기본값: null | 왼쪽 피연산자의 값입니다. leftField가 지정된 경우 지정하면 안 됩니다. |
maxError | ErrorMargin(선택사항) | 필터 적용 중에 허용되는 최대 재투영 오류입니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eDetermines if one geometry lies within a specified distance of another, useful for filtering and spatial joins.\u003c/p\u003e\n"],["\u003cp\u003eOperates on two geometries, allowing specification by field or direct value for both.\u003c/p\u003e\n"],["\u003cp\u003eDistance is a crucial parameter defining the maximum allowable separation for the filter to pass.\u003c/p\u003e\n"],["\u003cp\u003eOffers flexibility with optional error margin control during reprojection.\u003c/p\u003e\n"]]],["This functionality generates a filter based on the proximity of two geometries. It verifies if a left geometry falls within a designated `distance` of a right geometry. The `distance` parameter dictates the threshold for a true result. It accepts parameters such as `leftField`, `rightValue`, `rightField`, `leftValue`, and `maxError`. The filter's operation can be defined via fields or direct values for each geometry. When used in a join, it measures join proximity by the specified `distance`.\n"],null,["# ee.Filter.withinDistance\n\nCreates a unary or binary filter that passes if the left geometry is within a specified distance of the right geometry. If used as a join condition, this distance is used as a join measure.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------------------------------------------------------------------------------------|---------|\n| `ee.Filter.withinDistance(distance, `*leftField* `, `*rightValue* `, `*rightField* `, `*leftValue* `, `*maxError*`)` | Filter |\n\n| Argument | Type | Details |\n|--------------|-----------------------|---------------------------------------------------------------------------------------|\n| `distance` | Float | The maximum distance for which the filter will return true. |\n| `leftField` | String, default: null | A selector for the left operand. Should not be specified if leftValue is specified. |\n| `rightValue` | Object, default: null | The value of the right operand. Should not be specified if rightField is specified. |\n| `rightField` | String, default: null | A selector for the right operand. Should not be specified if rightValue is specified. |\n| `leftValue` | Object, default: null | The value of the left operand. Should not be specified if leftField is specified. |\n| `maxError` | ErrorMargin, optional | The maximum reprojection error allowed during filter application. |"]]