82 contours
In [1]:
Copied!
import ee
import geemap
import geemap.colormaps as cm
import ee
import geemap
import geemap.colormaps as cm
In [2]:
Copied!
# geemap.update_package()
# geemap.update_package()
In [3]:
Copied!
Map = geemap.Map()
Map
Map = geemap.Map()
Map
Out[3]:
Make this Notebook Trusted to load map: File -> Trust Notebook
In [4]:
Copied!
image = ee.Image("USGS/SRTMGL1_003")
image = ee.Image("USGS/SRTMGL1_003")
In [5]:
Copied!
hillshade = ee.Terrain.hillshade(image)
hillshade = ee.Terrain.hillshade(image)
In [6]:
Copied!
Map.addLayer(hillshade, {}, "Hillshade")
Map.addLayer(hillshade, {}, "Hillshade")
In [7]:
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 [8]:
Copied!
contours = geemap.create_contours(image, 0, 5000, 100, region=None)
contours = geemap.create_contours(image, 0, 5000, 100, region=None)
In [9]:
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:
2022-03-14