Stay organized with collections
Save and categorize content based on your preferences.
Makes a new collection that is a copy of the images in primary, adding all the bands from the image in secondary with a matching ID. If there are no matching IDs, the resulting collection will be empty. This is equivalent to an inner join on ID with merging of the bands of the result.
Note that this algorithm assumes that for a matching pair of inputs, both have the same footprint and metadata.
Usage
Returns
ImageCollection.combine(secondary, overwrite)
ImageCollection
Argument
Type
Details
this: primary
ImageCollection
The primary collection to join.
secondary
ImageCollection
The secondary collection to join.
overwrite
Boolean, default: false
If true, bands with the same name will get overwritten. If false, bands with the same name will be renamed.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["Creates a new image collection by combining images from two input collections based on matching IDs."],["Merges bands from matching images, resulting in an empty collection if no IDs match."],["Images with the same ID in both input collections are assumed to have identical footprint and metadata."],["Band names are preserved by default, but can be overwritten using the `overwrite` parameter."]]],[]]