ee.Join.saveBest

Returns a join that pairs each element from the first collection with a matching element from the second collection. The match with the best join measure is added to each result as an additional property. Join measures are produced when withinDistance or maxDifference filters are used as the join condition.

UsageReturns
ee.Join.saveBest(matchKey, measureKey, outer)Join
ArgumentTypeDetails
matchKeyString

The key used to save the match.

measureKeyString

The key used to save the measure of the join condition on the match.

outerBoolean, default: false

If true, primary rows without matches will be included in the result.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!