82 contours
In [ ]:
Copied!
import ee
import geemap
import geemap.colormaps as cm
import ee
import geemap
import geemap.colormaps as cm
In [ ]:
Copied!
# geemap.update_package()
# geemap.update_package()
In [ ]:
Copied!
Map = geemap.Map()
Map
Map = geemap.Map()
Map
In [ ]:
Copied!
image = ee.Image("USGS/SRTMGL1_003")
image = ee.Image("USGS/SRTMGL1_003")
In [ ]:
Copied!
hillshade = ee.Terrain.hillshade(image)
hillshade = ee.Terrain.hillshade(image)
In [ ]:
Copied!
Map.addLayer(hillshade, {}, "Hillshade")
Map.addLayer(hillshade, {}, "Hillshade")
In [ ]:
Copied!
Map.addLayer(
image, {'min': 0, "max": 5000, "palette": cm.palettes.dem}, "dem", True, 0.5
)
Map.addLayer(
image, {'min': 0, "max": 5000, "palette": cm.palettes.dem}, "dem", True, 0.5
)
In [ ]:
Copied!
contours = geemap.create_contours(image, 0, 5000, 100, region=None)
contours = geemap.create_contours(image, 0, 5000, 100, region=None)
In [ ]:
Copied!
Map.addLayer(
contours, {'min': 0, "max": 5000, 'palette': cm.palettes.terrain}, 'contours'
)
Map.addLayer(
contours, {'min': 0, "max": 5000, 'palette': cm.palettes.terrain}, 'contours'
)
Last update:
2023-03-19
Created: 2020-03-31
Created: 2020-03-31