Code: whitebox tools
Main Source: Geemap
Edited by: Saudia.xyz
Uncomment the following line to install geemap if needed.
# !pip install geemap
import os
import geemap
import whiteboxgui
out_dir = os.path.expanduser('~/Downloads')
dem = os.path.join(out_dir, 'srtm_46_08.tif')
if not os.path.exists(dem):
dem_url = 'https://drive.google.com/file/d/1EBt4delAvxY7bdsy6y9-71XpVC62Gi8r/view?usp=sharing'
geemap.download_from_gdrive(dem_url, 'srtm_46_08.tif', out_dir, unzip=False)
Map = geemap.Map(center=(24, 45), zoom=5)
Map
whiteboxgui.show()
whiteboxgui.show(tree=True)