Classifies each feature in a collection.
Usage | Returns |
---|---|
FeatureCollection.classify(classifier, outputName) | FeatureCollection |
Argument | Type | Details |
---|---|---|
this: features | FeatureCollection | The collection of features to classify. Each feature must contain all the properties in the classifier's schema. |
classifier | Classifier | The classifier to use. |
outputName | String, default: "classification" | The name of the output property to be added. This argument is ignored if the classifier has more than one output. |