My research area needs multiple landsat images(About 15 images), so I want to mosaic images where they are in the same path first (they have the same acquisition date). Howerver, I only know the mosaic operation for the specified date
ee.Image(collection.filterDate('2018-01-01','2018-01-02').mosaic())
So how do I get the date of each image in the image collection? Or is there any better iterative way to mosaic the same date images?
Best Answer
I typically iterate over the dates you need your mosaic for:
https://code.earthengine.google.com/e08db00830e500decf7b55ded7642864
Alternatively, you could use a join:
https://code.earthengine.google.com/411502413e90e52f36e356461e738ffc