Created
April 24, 2024 00:32
-
-
Save geografif/cf48c16e1e2b45a4a25b1b93337a9c24 to your computer and use it in GitHub Desktop.
This file contains 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
var canopyHeight = ee.ImageCollection('projects/meta-forest-monitoring-okw37/assets/CanopyHeight').mosaic(); | |
var treenotree = canopyHeight.updateMask(canopyHeight.gte(1)) | |
//// viz settings //// | |
var palettes = require('users/gena/packages:palettes'); | |
///Other teams layers/// | |
var ethcanopyheight = ee.Image('users/nlang/ETH_GlobalCanopyHeight_2020_10m_v1') | |
Map.addLayer(ethcanopyheight, { | |
min: 0, | |
max: 25, | |
palette: palettes.matplotlib.viridis[7] | |
}, 'Canopy Height Lang 2022 98%', false) | |
var umdheight = ee.ImageCollection("users/potapovpeter/GEDI_V27").mosaic() | |
Map.addLayer(umdheight, { | |
min: 0, | |
max: 25, | |
palette: palettes.matplotlib.viridis[7] | |
}, 'Canopy Height Potapov 2021 95%', false) | |
///Our layers/// | |
Map.addLayer(treenotree, { | |
min: 0, | |
max: 1, | |
palette: ['440154', 'fde725'] | |
}, 'Canopy height (>=1 meter)', false); | |
Map.addLayer(canopyHeight, { | |
min: 0, | |
max: 25, | |
palette: palettes.matplotlib.viridis[7] | |
}, 'Canopy Height [meters]'); | |
///Default location and zoom/// | |
Map.setCenter(0, 10, 3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment