ee.Feature.toDictionary
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wyodrębnij właściwości z obiektu jako słownik.
Wykorzystanie | Zwroty |
---|
Feature.toDictionary(properties) | Słownik |
Argument | Typ | Szczegóły |
---|
to: element | Element | Obiekt, z którego ma zostać wyodrębniona właściwość. |
properties | Lista, domyślna: null | Lista właściwości do wyodrębnienia. Domyślnie są to wszystkie usługi inne niż systemowe. |
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\u003eThe \u003ccode\u003etoDictionary()\u003c/code\u003e method extracts properties from a feature and returns them as a dictionary.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify a list of properties to extract, or extract all non-system properties by default.\u003c/p\u003e\n"],["\u003cp\u003eThis method operates on an Element object representing the feature.\u003c/p\u003e\n"]]],["The `toDictionary` method extracts properties from a feature, returning them as a dictionary. It takes a feature `element` and an optional list of `properties` as input. If no list is provided, it defaults to extracting all non-system properties. The method's output is a dictionary containing the specified or default properties and their values.\n"],null,["# ee.Feature.toDictionary\n\nExtract properties from a feature as a dictionary.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------|------------|\n| Feature.toDictionary`(`*properties*`)` | Dictionary |\n\n| Argument | Type | Details |\n|-----------------|---------------------|---------------------------------------------------------------------------|\n| this: `element` | Element | The feature to extract the property from. |\n| `properties` | List, default: null | The list of properties to extract. Defaults to all non-system properties. |"]]