ee.Filter.intersects
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Tworzy filtr jednoargumentowy lub dwuargumentowy, który zwraca wartość true, jeśli lewa geometria przecina prawą geometrię.
Wykorzystanie | Zwroty |
---|
ee.Filter.intersects(leftField, rightValue, rightField, leftValue, maxError) | Filtr |
Argument | Typ | Szczegóły |
---|
leftField | Ciąg tekstowy, domyślnie: null | Selektor lewego argumentu. Nie należy go określać, jeśli określono wartość leftValue. |
rightValue | Obiekt, domyślnie: null | Wartość prawego argumentu. Nie należy go określać, jeśli określono parametr rightField. |
rightField | Ciąg tekstowy, domyślnie: null | Selektor prawego argumentu. Nie należy go określać, jeśli określono wartość rightValue. |
leftValue | Obiekt, domyślnie: null | Wartość lewego argumentu. Nie należy go określać, jeśli określono parametr leftField. |
maxError | ErrorMargin (opcjonalny) | Maksymalny błąd ponownej projekcji dozwolony podczas stosowania filtra. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eDefines a filter that selects geometries intersecting with another geometry, specified by either a field or a direct value.\u003c/p\u003e\n"],["\u003cp\u003eAllows for specifying both left and right operands using fields or values, but not both for the same side.\u003c/p\u003e\n"],["\u003cp\u003eAccepts an optional \u003ccode\u003emaxError\u003c/code\u003e parameter to control the allowed reprojection error during filtering.\u003c/p\u003e\n"]]],[],null,["# ee.Filter.intersects\n\nCreates a unary or binary filter that passes if the left geometry intersects the right geometry.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------------------------------------------------------------------------------------|---------|\n| `ee.Filter.intersects(`*leftField* `, `*rightValue* `, `*rightField* `, `*leftValue* `, `*maxError*`)` | Filter |\n\n| Argument | Type | Details |\n|--------------|-----------------------|---------------------------------------------------------------------------------------|\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. |"]]