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. |
Examples
JavaScript
// Your example goes here!
Python
# Your example goes here!