Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var region= MNDWI_DPS
- //NDWI
- var NDWI = ee.Image('MODIS/MCD43A4_NDWI/MCD43A4_005_2016_05_16')
- var visualize = NDWI.visualize({bands: ['NDWI'], min: -1, max: 0}).clip(region);
- //DEM+SLOPE
- var MDE = ee.Image('USGS/SRTMGL1_003')
- var terrain = ee.Algorithms.Terrain(ee.Image('USGS/SRTMGL1_003'));
- var visualize1 = MDE.visualize({bands: ['elevation'], min: 0, max: 4100}).clip(region);
- var slope = ee.Terrain.slope(MDE);
- var visualize2 = slope.visualize({bands: ['slope'], min: 0, max: 15}).clip(region)
- Map.addLayer(visualize.clip(region))
- Map.addLayer(visualize1.clip(region))
- Map.addLayer(visualize2.clip(region))
Add Comment
Please, Sign In to add comment