Last active
July 16, 2022 11:15
-
-
Save PratyushTripathy/17472091c10535531ce4b750fad0d734 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get footprint of the landsat scenes | |
var master_fp = master.geometry(); | |
var slave_fp = slave.geometry(); | |
// Perform intersection to extarct overlap area | |
var overlap = master_fp.intersection(slave_fp); | |
// Add all the three layers to the map | |
Map.addLayer(master_fp, {}, 'Master Footprint'); | |
Map.addLayer(slave_fp, {}, 'Slave Footprint'); | |
Map.addLayer(overlap, {}, 'Footprint Intersection'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment