Uncomment the following line to install geemap if needed.
-from ipyleaflet import Map, Marker, basemaps, basemap_to_tiles
-m = Map(
- basemap=basemap_to_tiles(
- basemaps.NASAGIBS.ModisTerraTrueColorCR, "2017-04-08"
- ),
- center=(52.204793, 360.121558),
- zoom=4
-)
-m.add_layer(Marker(location=(52.204793, 360.121558)))
-m
-import geemapgeemap.show_youtube('9EUTX8j-YVM')Map = geemap.Map()
-Map.split_map()
-MapMap = geemap.Map()
-Map.split_map(left_layer='HYBRID', right_layer='ROADMAP')
-Mapbasemaps = geemap.basemaps.keys()
-print(basemaps)for basemap in basemaps:
- print(basemap)Map = geemap.Map()
-Map.split_map(
- left_layer='NLCD 2016 CONUS Land Cover', right_layer='NLCD 2001 CONUS Land Cover'
-)
-Mapimport ee# https://developers.google.com/earth-engine/datasets/catalog/USGS_NLCD
-collection = ee.ImageCollection("USGS/NLCD")
-print(collection.aggregate_array('system:id').getInfo())nlcd_2001 = ee.Image('USGS/NLCD/NLCD2001').select('landcover')
-nlcd_2016 = ee.Image('USGS/NLCD/NLCD2016').select('landcover')
-
-left_layer = geemap.ee_tile_layer(nlcd_2001, {}, 'NLCD 2001')
-right_layer = geemap.ee_tile_layer(nlcd_2016, {}, 'NLCD 2016')
-
-Map = geemap.Map()
-Map.split_map(left_layer, right_layer)
-Map
- View source on GitHub
- |
-
- |
-
- Run in Google Colab
- |
-
-
!pip install geemapLooking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
-Collecting geemap
- Downloading geemap-0.17.1-py2.py3-none-any.whl (2.1 MB)
- |████████████████████████████████| 2.1 MB 12.3 MB/s
-Requirement already satisfied: gdown in /usr/local/lib/python3.7/dist-packages (from geemap) (4.4.0)
-Collecting jupyterlab>=3
- Downloading jupyterlab-3.4.8-py3-none-any.whl (8.8 MB)
- |████████████████████████████████| 8.8 MB 46.2 MB/s
-Collecting colour
- Downloading colour-0.1.5-py2.py3-none-any.whl (23 kB)
-Collecting scooby
- Downloading scooby-0.6.0-py3-none-any.whl (14 kB)
-Requirement already satisfied: pandas in /usr/local/lib/python3.7/dist-packages (from geemap) (1.3.5)
-Requirement already satisfied: earthengine-api>=0.1.304 in /usr/local/lib/python3.7/dist-packages (from geemap) (0.1.323)
-Collecting geocoder
- Downloading geocoder-1.38.1-py2.py3-none-any.whl (98 kB)
- |████████████████████████████████| 98 kB 8.8 MB/s
-Collecting ipyevents
- Downloading ipyevents-2.0.1-py2.py3-none-any.whl (130 kB)
- |████████████████████████████████| 130 kB 69.7 MB/s
-Collecting python-box
- Downloading python_box-6.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB)
- |████████████████████████████████| 3.0 MB 62.3 MB/s
-Collecting ee-extra>=0.0.10
- Downloading ee_extra-0.0.14.tar.gz (198 kB)
- |████████████████████████████████| 198 kB 75.6 MB/s
-Collecting ipyfilechooser>=0.6.0
- Downloading ipyfilechooser-0.6.0-py3-none-any.whl (11 kB)
-Collecting ipyleaflet>=0.17.0
- Downloading ipyleaflet-0.17.1-py3-none-any.whl (3.4 MB)
- |████████████████████████████████| 3.4 MB 75.5 MB/s
-Collecting geeadd>=0.5.1
- Downloading geeadd-0.5.6-py3-none-any.whl (30 kB)
-Collecting pycrs
- Downloading PyCRS-1.0.2.tar.gz (36 kB)
-Collecting whiteboxgui>=0.6.0
- Downloading whiteboxgui-0.7.0-py2.py3-none-any.whl (99 kB)
- |████████████████████████████████| 99 kB 9.4 MB/s
-Collecting xyzservices
- Downloading xyzservices-2022.9.0-py3-none-any.whl (55 kB)
- |████████████████████████████████| 55 kB 4.3 MB/s
-Requirement already satisfied: folium>=0.11.0 in /usr/local/lib/python3.7/dist-packages (from geemap) (0.12.1.post1)
-Requirement already satisfied: pillow in /usr/local/lib/python3.7/dist-packages (from geemap) (7.1.2)
-Requirement already satisfied: matplotlib in /usr/local/lib/python3.7/dist-packages (from geemap) (3.2.2)
-Collecting ffmpeg-python
- Downloading ffmpeg_python-0.2.0-py3-none-any.whl (25 kB)
-Requirement already satisfied: numpy in /usr/local/lib/python3.7/dist-packages (from geemap) (1.21.6)
-Collecting bqplot
- Downloading bqplot-0.12.36-py2.py3-none-any.whl (1.2 MB)
- |████████████████████████████████| 1.2 MB 57.8 MB/s
-Collecting pyshp>=2.1.3
- Downloading pyshp-2.3.1-py2.py3-none-any.whl (46 kB)
- |████████████████████████████████| 46 kB 3.7 MB/s
-Collecting sankee>=0.1.0
- Downloading sankee-0.2.0.tar.gz (29 kB)
-Collecting ipytree
- Downloading ipytree-0.2.2-py2.py3-none-any.whl (1.3 MB)
- |████████████████████████████████| 1.3 MB 53.6 MB/s
-Collecting geojson
- Downloading geojson-2.5.0-py2.py3-none-any.whl (14 kB)
-Requirement already satisfied: google-auth-httplib2>=0.0.3 in /usr/local/lib/python3.7/dist-packages (from earthengine-api>=0.1.304->geemap) (0.0.4)
-Requirement already satisfied: google-auth>=1.4.1 in /usr/local/lib/python3.7/dist-packages (from earthengine-api>=0.1.304->geemap) (1.35.0)
-Requirement already satisfied: google-cloud-storage in /usr/local/lib/python3.7/dist-packages (from earthengine-api>=0.1.304->geemap) (1.18.1)
-Requirement already satisfied: future in /usr/local/lib/python3.7/dist-packages (from earthengine-api>=0.1.304->geemap) (0.16.0)
-Requirement already satisfied: google-api-python-client<2,>=1.12.1 in /usr/local/lib/python3.7/dist-packages (from earthengine-api>=0.1.304->geemap) (1.12.11)
-Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (from earthengine-api>=0.1.304->geemap) (1.15.0)
-Requirement already satisfied: httplib2<1dev,>=0.9.2 in /usr/local/lib/python3.7/dist-packages (from earthengine-api>=0.1.304->geemap) (0.17.4)
-Requirement already satisfied: httplib2shim in /usr/local/lib/python3.7/dist-packages (from earthengine-api>=0.1.304->geemap) (0.0.3)
-Requirement already satisfied: jinja2>=2.9 in /usr/local/lib/python3.7/dist-packages (from folium>=0.11.0->geemap) (2.11.3)
-Requirement already satisfied: branca>=0.3.0 in /usr/local/lib/python3.7/dist-packages (from folium>=0.11.0->geemap) (0.5.0)
-Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (from folium>=0.11.0->geemap) (2.23.0)
-Collecting beautifulsoup4>=4.9.0
- Downloading beautifulsoup4-4.11.1-py3-none-any.whl (128 kB)
- |████████████████████████████████| 128 kB 67.9 MB/s
-Collecting logzero>=1.5.0
- Downloading logzero-1.7.0-py2.py3-none-any.whl (16 kB)
-Collecting soupsieve>1.2
- Downloading soupsieve-2.3.2.post1-py3-none-any.whl (37 kB)
-Requirement already satisfied: uritemplate<4dev,>=3.0.0 in /usr/local/lib/python3.7/dist-packages (from google-api-python-client<2,>=1.12.1->earthengine-api>=0.1.304->geemap) (3.0.1)
-Requirement already satisfied: google-api-core<3dev,>=1.21.0 in /usr/local/lib/python3.7/dist-packages (from google-api-python-client<2,>=1.12.1->earthengine-api>=0.1.304->geemap) (1.31.6)
-Requirement already satisfied: setuptools>=40.3.0 in /usr/local/lib/python3.7/dist-packages (from google-api-core<3dev,>=1.21.0->google-api-python-client<2,>=1.12.1->earthengine-api>=0.1.304->geemap) (57.4.0)
-Requirement already satisfied: packaging>=14.3 in /usr/local/lib/python3.7/dist-packages (from google-api-core<3dev,>=1.21.0->google-api-python-client<2,>=1.12.1->earthengine-api>=0.1.304->geemap) (21.3)
-Requirement already satisfied: googleapis-common-protos<2.0dev,>=1.6.0 in /usr/local/lib/python3.7/dist-packages (from google-api-core<3dev,>=1.21.0->google-api-python-client<2,>=1.12.1->earthengine-api>=0.1.304->geemap) (1.56.4)
-Requirement already satisfied: protobuf<4.0.0dev,>=3.12.0 in /usr/local/lib/python3.7/dist-packages (from google-api-core<3dev,>=1.21.0->google-api-python-client<2,>=1.12.1->earthengine-api>=0.1.304->geemap) (3.17.3)
-Requirement already satisfied: pytz in /usr/local/lib/python3.7/dist-packages (from google-api-core<3dev,>=1.21.0->google-api-python-client<2,>=1.12.1->earthengine-api>=0.1.304->geemap) (2022.2.1)
-Requirement already satisfied: cachetools<5.0,>=2.0.0 in /usr/local/lib/python3.7/dist-packages (from google-auth>=1.4.1->earthengine-api>=0.1.304->geemap) (4.2.4)
-Requirement already satisfied: rsa<5,>=3.1.4 in /usr/local/lib/python3.7/dist-packages (from google-auth>=1.4.1->earthengine-api>=0.1.304->geemap) (4.9)
-Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/local/lib/python3.7/dist-packages (from google-auth>=1.4.1->earthengine-api>=0.1.304->geemap) (0.2.8)
-Requirement already satisfied: ipywidgets in /usr/local/lib/python3.7/dist-packages (from ipyfilechooser>=0.6.0->geemap) (7.7.1)
-Collecting traittypes<3,>=0.2.1
- Downloading traittypes-0.2.1-py2.py3-none-any.whl (8.6 kB)
-Requirement already satisfied: traitlets>=4.3.1 in /usr/local/lib/python3.7/dist-packages (from ipywidgets->ipyfilechooser>=0.6.0->geemap) (5.1.1)
-Requirement already satisfied: jupyterlab-widgets>=1.0.0 in /usr/local/lib/python3.7/dist-packages (from ipywidgets->ipyfilechooser>=0.6.0->geemap) (3.0.3)
-Requirement already satisfied: ipykernel>=4.5.1 in /usr/local/lib/python3.7/dist-packages (from ipywidgets->ipyfilechooser>=0.6.0->geemap) (5.3.4)
-Requirement already satisfied: ipython>=4.0.0 in /usr/local/lib/python3.7/dist-packages (from ipywidgets->ipyfilechooser>=0.6.0->geemap) (7.9.0)
-Requirement already satisfied: ipython-genutils~=0.2.0 in /usr/local/lib/python3.7/dist-packages (from ipywidgets->ipyfilechooser>=0.6.0->geemap) (0.2.0)
-Requirement already satisfied: widgetsnbextension~=3.6.0 in /usr/local/lib/python3.7/dist-packages (from ipywidgets->ipyfilechooser>=0.6.0->geemap) (3.6.1)
-Requirement already satisfied: tornado>=4.2 in /usr/local/lib/python3.7/dist-packages (from ipykernel>=4.5.1->ipywidgets->ipyfilechooser>=0.6.0->geemap) (5.1.1)
-Requirement already satisfied: jupyter-client in /usr/local/lib/python3.7/dist-packages (from ipykernel>=4.5.1->ipywidgets->ipyfilechooser>=0.6.0->geemap) (6.1.12)
-Requirement already satisfied: decorator in /usr/local/lib/python3.7/dist-packages (from ipython>=4.0.0->ipywidgets->ipyfilechooser>=0.6.0->geemap) (4.4.2)
-Requirement already satisfied: pygments in /usr/local/lib/python3.7/dist-packages (from ipython>=4.0.0->ipywidgets->ipyfilechooser>=0.6.0->geemap) (2.6.1)
-Requirement already satisfied: backcall in /usr/local/lib/python3.7/dist-packages (from ipython>=4.0.0->ipywidgets->ipyfilechooser>=0.6.0->geemap) (0.2.0)
-Requirement already satisfied: pexpect in /usr/local/lib/python3.7/dist-packages (from ipython>=4.0.0->ipywidgets->ipyfilechooser>=0.6.0->geemap) (4.8.0)
-Requirement already satisfied: pickleshare in /usr/local/lib/python3.7/dist-packages (from ipython>=4.0.0->ipywidgets->ipyfilechooser>=0.6.0->geemap) (0.7.5)
-Collecting jedi>=0.10
- Downloading jedi-0.18.1-py2.py3-none-any.whl (1.6 MB)
- |████████████████████████████████| 1.6 MB 53.3 MB/s
-Requirement already satisfied: prompt-toolkit<2.1.0,>=2.0.0 in /usr/local/lib/python3.7/dist-packages (from ipython>=4.0.0->ipywidgets->ipyfilechooser>=0.6.0->geemap) (2.0.10)
-Requirement already satisfied: parso<0.9.0,>=0.8.0 in /usr/local/lib/python3.7/dist-packages (from jedi>=0.10->ipython>=4.0.0->ipywidgets->ipyfilechooser>=0.6.0->geemap) (0.8.3)
-Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib/python3.7/dist-packages (from jinja2>=2.9->folium>=0.11.0->geemap) (2.0.1)
-Requirement already satisfied: jupyter-core in /usr/local/lib/python3.7/dist-packages (from jupyterlab>=3->geemap) (4.11.1)
-Collecting jupyterlab-server~=2.10
- Downloading jupyterlab_server-2.15.2-py3-none-any.whl (54 kB)
- |████████████████████████████████| 54 kB 2.9 MB/s
-Requirement already satisfied: notebook<7 in /usr/local/lib/python3.7/dist-packages (from jupyterlab>=3->geemap) (5.3.1)
-Collecting tornado>=4.2
- Downloading tornado-6.2-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (423 kB)
- |████████████████████████████████| 423 kB 78.4 MB/s
-Requirement already satisfied: tomli in /usr/local/lib/python3.7/dist-packages (from jupyterlab>=3->geemap) (2.0.1)
-Collecting nbclassic
- Downloading nbclassic-0.4.4-py3-none-any.whl (9.8 MB)
- |████████████████████████████████| 9.8 MB 40.4 MB/s
-Collecting jupyter-server~=1.16
- Downloading jupyter_server-1.19.1-py3-none-any.whl (346 kB)
- |████████████████████████████████| 346 kB 76.2 MB/s
-Requirement already satisfied: nbformat>=5.2.0 in /usr/local/lib/python3.7/dist-packages (from jupyter-server~=1.16->jupyterlab>=3->geemap) (5.4.0)
-Requirement already satisfied: Send2Trash in /usr/local/lib/python3.7/dist-packages (from jupyter-server~=1.16->jupyterlab>=3->geemap) (1.8.0)
-Requirement already satisfied: terminado>=0.8.3 in /usr/local/lib/python3.7/dist-packages (from jupyter-server~=1.16->jupyterlab>=3->geemap) (0.13.3)
-Collecting prometheus-client
- Downloading prometheus_client-0.14.1-py3-none-any.whl (59 kB)
- |████████████████████████████████| 59 kB 6.5 MB/s
-Requirement already satisfied: pyzmq>=17 in /usr/local/lib/python3.7/dist-packages (from jupyter-server~=1.16->jupyterlab>=3->geemap) (23.2.1)
-Collecting argon2-cffi
- Downloading argon2_cffi-21.3.0-py3-none-any.whl (14 kB)
-Collecting anyio<4,>=3.1.0
- Downloading anyio-3.6.1-py3-none-any.whl (80 kB)
- |████████████████████████████████| 80 kB 8.4 MB/s
-Collecting websocket-client
- Downloading websocket_client-1.4.1-py3-none-any.whl (55 kB)
- |████████████████████████████████| 55 kB 3.9 MB/s
-Collecting nbconvert>=6.4.4
- Downloading nbconvert-7.1.0-py3-none-any.whl (272 kB)
- |████████████████████████████████| 272 kB 71.8 MB/s
-Requirement already satisfied: typing-extensions in /usr/local/lib/python3.7/dist-packages (from anyio<4,>=3.1.0->jupyter-server~=1.16->jupyterlab>=3->geemap) (4.1.1)
-Collecting sniffio>=1.1
- Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)
-Requirement already satisfied: idna>=2.8 in /usr/local/lib/python3.7/dist-packages (from anyio<4,>=3.1.0->jupyter-server~=1.16->jupyterlab>=3->geemap) (2.10)
-Requirement already satisfied: python-dateutil>=2.1 in /usr/local/lib/python3.7/dist-packages (from jupyter-client->ipykernel>=4.5.1->ipywidgets->ipyfilechooser>=0.6.0->geemap) (2.8.2)
-Collecting json5
- Downloading json5-0.9.10-py2.py3-none-any.whl (19 kB)
-Requirement already satisfied: importlib-metadata>=3.6 in /usr/local/lib/python3.7/dist-packages (from jupyterlab-server~=2.10->jupyterlab>=3->geemap) (4.12.0)
-Collecting jinja2>=2.9
- Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
- |████████████████████████████████| 133 kB 96.3 MB/s
-Requirement already satisfied: jsonschema>=3.0.1 in /usr/local/lib/python3.7/dist-packages (from jupyterlab-server~=2.10->jupyterlab>=3->geemap) (4.3.3)
-Requirement already satisfied: babel in /usr/local/lib/python3.7/dist-packages (from jupyterlab-server~=2.10->jupyterlab>=3->geemap) (2.10.3)
-Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata>=3.6->jupyterlab-server~=2.10->jupyterlab>=3->geemap) (3.8.1)
-Requirement already satisfied: importlib-resources>=1.4.0 in /usr/local/lib/python3.7/dist-packages (from jsonschema>=3.0.1->jupyterlab-server~=2.10->jupyterlab>=3->geemap) (5.9.0)
-Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /usr/local/lib/python3.7/dist-packages (from jsonschema>=3.0.1->jupyterlab-server~=2.10->jupyterlab>=3->geemap) (0.18.1)
-Requirement already satisfied: attrs>=17.4.0 in /usr/local/lib/python3.7/dist-packages (from jsonschema>=3.0.1->jupyterlab-server~=2.10->jupyterlab>=3->geemap) (22.1.0)
-Requirement already satisfied: defusedxml in /usr/local/lib/python3.7/dist-packages (from nbconvert>=6.4.4->jupyter-server~=1.16->jupyterlab>=3->geemap) (0.7.1)
-Collecting mistune<3,>=2.0.3
- Downloading mistune-2.0.4-py2.py3-none-any.whl (24 kB)
-Collecting tinycss2
- Downloading tinycss2-1.1.1-py3-none-any.whl (21 kB)
-Requirement already satisfied: bleach in /usr/local/lib/python3.7/dist-packages (from nbconvert>=6.4.4->jupyter-server~=1.16->jupyterlab>=3->geemap) (5.0.1)
-Collecting jupyterlab-pygments
- Downloading jupyterlab_pygments-0.2.2-py2.py3-none-any.whl (21 kB)
-Requirement already satisfied: pandocfilters>=1.4.1 in /usr/local/lib/python3.7/dist-packages (from nbconvert>=6.4.4->jupyter-server~=1.16->jupyterlab>=3->geemap) (1.5.0)
-Collecting nbclient>=0.5.0
- Downloading nbclient-0.6.8-py3-none-any.whl (71 kB)
- |████████████████████████████████| 71 kB 209 kB/s
-Collecting traitlets>=4.3.1
- Downloading traitlets-5.4.0-py3-none-any.whl (107 kB)
- |████████████████████████████████| 107 kB 73.7 MB/s
-Collecting nest-asyncio
- Downloading nest_asyncio-1.5.6-py3-none-any.whl (5.2 kB)
-Requirement already satisfied: fastjsonschema in /usr/local/lib/python3.7/dist-packages (from nbformat>=5.2.0->jupyter-server~=1.16->jupyterlab>=3->geemap) (2.16.1)
-Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /usr/local/lib/python3.7/dist-packages (from packaging>=14.3->google-api-core<3dev,>=1.21.0->google-api-python-client<2,>=1.12.1->earthengine-api>=0.1.304->geemap) (3.0.9)
-Requirement already satisfied: wcwidth in /usr/local/lib/python3.7/dist-packages (from prompt-toolkit<2.1.0,>=2.0.0->ipython>=4.0.0->ipywidgets->ipyfilechooser>=0.6.0->geemap) (0.2.5)
-Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in /usr/local/lib/python3.7/dist-packages (from pyasn1-modules>=0.2.1->google-auth>=1.4.1->earthengine-api>=0.1.304->geemap) (0.4.8)
-Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests->folium>=0.11.0->geemap) (1.24.3)
-Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests->folium>=0.11.0->geemap) (2022.6.15)
-Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.7/dist-packages (from requests->folium>=0.11.0->geemap) (3.0.4)
-Requirement already satisfied: plotly>=5.2.2 in /usr/local/lib/python3.7/dist-packages (from sankee>=0.1.0->geemap) (5.5.0)
-Requirement already satisfied: tenacity>=6.2.0 in /usr/local/lib/python3.7/dist-packages (from plotly>=5.2.2->sankee>=0.1.0->geemap) (8.0.1)
-Requirement already satisfied: ptyprocess in /usr/local/lib/python3.7/dist-packages (from terminado>=0.8.3->jupyter-server~=1.16->jupyterlab>=3->geemap) (0.7.0)
-Collecting whitebox
- Downloading whitebox-2.1.4-py2.py3-none-any.whl (75 kB)
- |████████████████████████████████| 75 kB 5.9 MB/s
-Collecting argon2-cffi-bindings
- Downloading argon2_cffi_bindings-21.2.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (86 kB)
- |████████████████████████████████| 86 kB 5.9 MB/s
-Requirement already satisfied: cffi>=1.0.1 in /usr/local/lib/python3.7/dist-packages (from argon2-cffi-bindings->argon2-cffi->jupyter-server~=1.16->jupyterlab>=3->geemap) (1.15.1)
-Requirement already satisfied: pycparser in /usr/local/lib/python3.7/dist-packages (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi->jupyter-server~=1.16->jupyterlab>=3->geemap) (2.21)
-Requirement already satisfied: webencodings in /usr/local/lib/python3.7/dist-packages (from bleach->nbconvert>=6.4.4->jupyter-server~=1.16->jupyterlab>=3->geemap) (0.5.1)
-Requirement already satisfied: filelock in /usr/local/lib/python3.7/dist-packages (from gdown->geemap) (3.8.0)
-Requirement already satisfied: tqdm in /usr/local/lib/python3.7/dist-packages (from gdown->geemap) (4.64.1)
-Requirement already satisfied: click in /usr/local/lib/python3.7/dist-packages (from geocoder->geemap) (7.1.2)
-Collecting ratelim
- Downloading ratelim-0.1.6-py2.py3-none-any.whl (4.0 kB)
-Requirement already satisfied: google-resumable-media<0.5.0dev,>=0.3.1 in /usr/local/lib/python3.7/dist-packages (from google-cloud-storage->earthengine-api>=0.1.304->geemap) (0.4.1)
-Requirement already satisfied: google-cloud-core<2.0dev,>=1.0.0 in /usr/local/lib/python3.7/dist-packages (from google-cloud-storage->earthengine-api>=0.1.304->geemap) (1.0.3)
-Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.7/dist-packages (from matplotlib->geemap) (0.11.0)
-Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib->geemap) (1.4.4)
-Collecting notebook-shim>=0.1.0
- Downloading notebook_shim-0.1.0-py3-none-any.whl (13 kB)
-Requirement already satisfied: PySocks!=1.5.7,>=1.5.6 in /usr/local/lib/python3.7/dist-packages (from requests->folium>=0.11.0->geemap) (1.7.1)
-Building wheels for collected packages: ee-extra, sankee, pycrs
- Building wheel for ee-extra (setup.py) ... done
- Created wheel for ee-extra: filename=ee_extra-0.0.14-py3-none-any.whl size=209114 sha256=84c43ef88c7184c5afb39b6928c62fcea68f3f279cee5e9c01e3610e3f82d4b4
- Stored in directory: /root/.cache/pip/wheels/50/1f/56/c638a525bcb6972c82e422747430d756edea7d57b539229bb3
- Building wheel for sankee (setup.py) ... done
- Created wheel for sankee: filename=sankee-0.2.0-py3-none-any.whl size=28745 sha256=a84564bd97ad102e0089fcfdd93a3fc2ca133b2f39c7ddd45199fdab4ca650d7
- Stored in directory: /root/.cache/pip/wheels/36/b4/ac/84c3f06e5c44d3fe5029713232438862881e6e1f26657d5fd8
- Building wheel for pycrs (setup.py) ... done
- Created wheel for pycrs: filename=PyCRS-1.0.2-py3-none-any.whl size=32704 sha256=c1e9c2b2042507e7b2597ad26a84b80e9b854131a9e1902a46f8e4375d550aa2
- Stored in directory: /root/.cache/pip/wheels/3e/ce/32/1ec0aba6b9770681a423e82f0274c57d09ad2c20c2864901f9
-Successfully built ee-extra sankee pycrs
-Installing collected packages: traitlets, tornado, soupsieve, nest-asyncio, jedi, tinycss2, nbclient, mistune, jupyterlab-pygments, jinja2, beautifulsoup4, sniffio, nbconvert, argon2-cffi-bindings, websocket-client, prometheus-client, argon2-cffi, anyio, jupyter-server, notebook-shim, json5, xyzservices, whitebox, traittypes, ratelim, nbclassic, logzero, jupyterlab-server, ipytree, ipyfilechooser, whiteboxgui, scooby, sankee, python-box, pyshp, pycrs, jupyterlab, ipyleaflet, ipyevents, geojson, geocoder, geeadd, ffmpeg-python, ee-extra, colour, bqplot, geemap
- Attempting uninstall: traitlets
- Found existing installation: traitlets 5.1.1
- Uninstalling traitlets-5.1.1:
- Successfully uninstalled traitlets-5.1.1
- Attempting uninstall: tornado
- Found existing installation: tornado 5.1.1
- Uninstalling tornado-5.1.1:
- Successfully uninstalled tornado-5.1.1
- Attempting uninstall: mistune
- Found existing installation: mistune 0.8.4
- Uninstalling mistune-0.8.4:
- Successfully uninstalled mistune-0.8.4
- Attempting uninstall: jinja2
- Found existing installation: Jinja2 2.11.3
- Uninstalling Jinja2-2.11.3:
- Successfully uninstalled Jinja2-2.11.3
- Attempting uninstall: beautifulsoup4
- Found existing installation: beautifulsoup4 4.6.3
- Uninstalling beautifulsoup4-4.6.3:
- Successfully uninstalled beautifulsoup4-4.6.3
- Attempting uninstall: nbconvert
- Found existing installation: nbconvert 5.6.1
- Uninstalling nbconvert-5.6.1:
- Successfully uninstalled nbconvert-5.6.1
-ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
-google-colab 1.0.0 requires tornado~=5.1.0, but you have tornado 6.2 which is incompatible.
-flask 1.1.4 requires Jinja2<3.0,>=2.10.1, but you have jinja2 3.1.2 which is incompatible.
-Successfully installed anyio-3.6.1 argon2-cffi-21.3.0 argon2-cffi-bindings-21.2.0 beautifulsoup4-4.11.1 bqplot-0.12.36 colour-0.1.5 ee-extra-0.0.14 ffmpeg-python-0.2.0 geeadd-0.5.6 geemap-0.17.1 geocoder-1.38.1 geojson-2.5.0 ipyevents-2.0.1 ipyfilechooser-0.6.0 ipyleaflet-0.17.1 ipytree-0.2.2 jedi-0.18.1 jinja2-3.1.2 json5-0.9.10 jupyter-server-1.19.1 jupyterlab-3.4.8 jupyterlab-pygments-0.2.2 jupyterlab-server-2.15.2 logzero-1.7.0 mistune-2.0.4 nbclassic-0.4.4 nbclient-0.6.8 nbconvert-7.1.0 nest-asyncio-1.5.6 notebook-shim-0.1.0 prometheus-client-0.14.1 pycrs-1.0.2 pyshp-2.3.1 python-box-6.0.2 ratelim-0.1.6 sankee-0.2.0 scooby-0.6.0 sniffio-1.3.0 soupsieve-2.3.2.post1 tinycss2-1.1.1 tornado-6.2 traitlets-5.4.0 traittypes-0.2.1 websocket-client-1.4.1 whitebox-2.1.4 whiteboxgui-0.7.0 xyzservices-2022.9.0
-Unable to display output for mime type(s): application/vnd.colab-display-data+json
-The geemap Python package has two plotting backends: ipyleaflet and folium. A key difference between folium and ipyleaflet is that ipyleaflet is built upon ipywidgets and allows bidirectional communication between the front-end and the backend enabling the use of the map to capture user input, while folium is meant for displaying static data only (source). Note that Google Colab currently does not support ipyleaflet (source). Therefore, if you are using geemap with Google Colab, you should use import geemap.eefolium as geemap.
import ee
-import geemap.eefolium as geemapMap = geemap.Map()
-# Map# Add Earth Engine dataset
-image = ee.Image('USGS/SRTMGL1_003')
-
-# Set visualization parameters.
-vis_params = {
- 'min': 0,
- 'max': 4000,
- 'palette': ['006633', 'E5FFCC', '662A00', 'D8D8D8', 'F5F5F5']}
-
-# Print the elevation of Mount Everest.
-xy = ee.Geometry.Point([86.9250, 27.9881])
-elev = image.sample(xy, 30).first().get('elevation').getInfo()
-print('Mount Everest elevation (m):', elev)
-
-# Add Earth Engine layers to Map
-Map.addLayer(image, vis_params, 'DEM')
-Map.addLayer(xy, {'color': 'red'}, 'Mount Everest')
-
-# Center the map based on an Earth Engine object or coordinates (longitude, latitude)
-# Map.centerObject(xy, 4)
-Map.setCenter(86.9250, 27.9881, 4)Map.addLayerControl()
-MapThis is a book created from markdown and executable code.
-See Knuth (1984) for additional discussion of literate programming.
- - - - -In summary, this book has no content whatsoever.
- - - -