ee.Feature.select

Selects properties from a feature by name or RE2-compatible regex and optionally renames them.

UsageReturns
Feature.select(propertySelectors, newProperties, retainGeometry)Element
ArgumentTypeDetails
this: inputElement

The feature to select properties from.

propertySelectorsList

A list of names or regexes specifying the properties to select.

newPropertiesList, default: null

Optional new names for the output properties. Must match the number of properties selected.

retainGeometryBoolean, default: true

When false, the result will have a NULL geometry.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!