Timeline for Failing to Show Custom Sentinel 2 Image Collection on a Map in Google Earth Engine
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 5, 2020 at 15:33 | comment | added | Kevin Reid |
@Wallee When do Map.addLayer on an image collection, the default behavior is to mosaic the collection: at each pixel, to take the most recent image. That is available as the .mosaic() operation on collections. But if you take the sum, then the magnitude of the value will depend on the number of images being summed at each point. Thus, overlaps are brighter. I assumed since you asked for sum you wanted .sum() , but perhaps .mosaic() is what you want. Or .median() if you want the median of all the images rather than the most reent available image.
|
|
Jul 5, 2020 at 10:00 | comment | added | Waleed93 |
Excellent! Thanks Kevin, it worked using .sum() But here's a small issue arising: It does create and show new combined image. But this image is showing edges of child images. They are not seen when showing initial image collection of children images on a map. Why is it so?
|
|
Jul 5, 2020 at 0:29 | history | answered | Kevin Reid | CC BY-SA 4.0 |