I have two images of different sizes. I can make them overlay each other using Map.addLayer() for each. But I want to combine them into one image as shown in illustration below. How to achieve this?

enter image description here


Never mind my impatience,

It was easy. I just convert them to image collection and then create mosaic of it!

var combined_img = ee.ImageCollection([img_1, img_2]).mosaic();
  • Well done on answering your question! A good answer should not only include what, but also how you go about solving the problem. Please edit your answer to also include the steps required to perform your solution. – Midavalo Aug 18 '20 at 0:33
  • Okay, I did edit it now – Waleed93 Aug 18 '20 at 17:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.