Select properties from each Feature in a collection. It is also possible to call this function with only string arguments; they will be all be interpreted as propertySelectors (varargs).

Returns the feature collection with selected properties.

UsageReturns, newProperties, retainGeometry)FeatureCollection
this: featurecollectionFeatureCollection

The FeatureCollection instance.


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

newPropertiesList, optional

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

retainGeometryBoolean, optional

When false, the result will have a NULL geometry. Defaults to true.