Annuncio: tutti i progetti non commerciali registrati per l'utilizzo di Earth Engine prima del
15 aprile 2025 devono
verificare l'idoneità non commerciale per mantenere l'accesso a Earth Engine.
ee.Feature.select
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Seleziona le proprietà di una funzionalità in base al nome o all'espressione regolare compatibile con RE2 e, se vuoi, le rinomina.
Utilizzo | Resi |
---|
Feature.select(propertySelectors, newProperties, retainGeometry) | Elemento |
Argomento | Tipo | Dettagli |
---|
questo: input | Elemento | La funzionalità da cui selezionare le proprietà. |
propertySelectors | Elenco | Un elenco di nomi o espressioni regolari che specificano le proprietà da selezionare. |
newProperties | Elenco, valore predefinito: null | Nuovi nomi facoltativi per le proprietà di output. Deve corrispondere al numero di proprietà selezionate. |
retainGeometry | Booleano, valore predefinito: true | Se il valore è false, il risultato avrà una geometria NULL. |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 2025-07-26 UTC."],[[["\u003cp\u003eSelects properties from a given feature based on provided names or regular expressions.\u003c/p\u003e\n"],["\u003cp\u003eOptionally allows renaming the selected properties using a separate list.\u003c/p\u003e\n"],["\u003cp\u003eBy default, retains the original geometry of the feature, but this can be disabled to return only properties.\u003c/p\u003e\n"],["\u003cp\u003eReturns a new Element containing only the selected and potentially renamed properties.\u003c/p\u003e\n"]]],[],null,["# ee.Feature.select\n\nSelects properties from a feature by name or RE2-compatible regex and optionally renames them.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------------------|---------|\n| Feature.select`(propertySelectors, `*newProperties* `, `*retainGeometry*`)` | Element |\n\n| Argument | Type | Details |\n|---------------------|------------------------|---------------------------------------------------------------------------------------------|\n| this: `input` | Element | The feature to select properties from. |\n| `propertySelectors` | List | A list of names or regexes specifying the properties to select. |\n| `newProperties` | List, default: null | Optional new names for the output properties. Must match the number of properties selected. |\n| `retainGeometry` | Boolean, default: true | When false, the result will have a NULL geometry. |"]]