ee.Reducer.countDistinct
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zwraca funkcję Reducer, która oblicza liczbę różnych danych wejściowych. W odpowiednich przypadkach nazwa danych wyjściowych to „count”.
Wykorzystanie | Zwroty |
---|
ee.Reducer.countDistinct() | Ograniczenie |
Brak argumentów.
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\u003eReturns a Reducer that calculates the number of distinct input values.\u003c/p\u003e\n"],["\u003cp\u003eThe output is typically named "count".\u003c/p\u003e\n"],["\u003cp\u003eIt's used within the Earth Engine platform and is invoked using \u003ccode\u003eee.Reducer.countDistinct()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis reducer takes no arguments.\u003c/p\u003e\n"]]],["The `ee.Reducer.countDistinct()` function returns a Reducer that calculates the number of unique input values. The output of this Reducer, when applied, represents the distinct count. It operates without any input arguments and produces a Reducer object. The default output name for the distinct count result is \"count\".\n"],null,["# ee.Reducer.countDistinct\n\nReturns a Reducer that computes the number of distinct inputs. Where applicable, the output name is \"count\".\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------|---------|\n| `ee.Reducer.countDistinct()` | Reducer |\n\n**No arguments.**"]]