{"id":23783,"library":"geemap","title":"geemap","description":"A Python package for interactive mapping with Google Earth Engine (GEE) and ipyleaflet. It provides a high-level API for creating interactive maps, analyzing geospatial data, and building GIS applications. Current version: 0.37.2, released frequently (monthly or weekly).","status":"active","version":"0.37.2","language":"python","source_language":"en","source_url":"https://github.com/gee-community/geemap","tags":["google-earth-engine","ipyleaflet","geospatial","mapping","gis"],"install":[{"cmd":"pip install geemap","lang":"bash","label":"pip install"},{"cmd":"conda install -c conda-forge geemap","lang":"bash","label":"conda install"}],"dependencies":[{"reason":"Required for Google Earth Engine authentication and API calls","package":"google-api-python-client","optional":false},{"reason":"Python client for Google Earth Engine","package":"earthengine-api","optional":false}],"imports":[{"note":"Both work, but from import is preferred.","wrong":"import geemap; m = geemap.Map()","symbol":"Map","correct":"from geemap import Map"}],"quickstart":{"code":"import ee\nimport geemap\n\n# If not already authenticated, use ee.Authenticate()\n# ee.Initialize()\n\n# Create a map\nm = geemap.Map()\n\n# Add a sample dataset (e.g., Landsat composite)\nimage = ee.Image('LANDSAT/LC08/C01/T1_TOA/LC08_044034_20140318')\nvis_params = {'bands': ['B4', 'B3', 'B2'], 'max': 0.3}\nm.addLayer(image, vis_params, 'Landsat 8')\n\n# Display the map\nm","lang":"python","description":"Creates an interactive map and adds a Landsat 8 image layer from Earth Engine."},"warnings":[{"fix":"Run `earthengine authenticate` in the terminal or use `ee.Authenticate()` in the notebook.","message":"geemap requires the Earth Engine Python API (earthengine-api) and authentication. First run `earthengine authenticate` or `ee.Authenticate()` and `ee.Initialize()`.","severity":"gotcha","affected_versions":"all"},{"fix":"Use `geemap.set_backend('folium')` before creating a Map.","message":"The default backend is ipyleaflet. For faster performance, you can switch to the folium or mapboxgl backend via `geemap.set_projection()` or environment variables.","severity":"gotcha","affected_versions":">0.30"},{"fix":"Use `m.add_legend()` on a Map instance instead.","message":"Some old API functions like `geemap.legend()` have been deprecated in favor of `Map.add_legend()`.","severity":"deprecated","affected_versions":">0.35"},{"fix":"Upgrade Python to 3.10 or later.","message":"In version 0.37.0, the minimum Python version was raised to 3.10. Older Python versions are no longer supported.","severity":"breaking","affected_versions":">=0.37.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run `ee.Authenticate()` then `ee.Initialize()` or use the command line: `earthengine authenticate`.","cause":"You haven't authenticated or initialized Earth Engine.","error":"ee.ee_exception.EEException: Earth Engine authentication required."},{"fix":"Install with `pip install geemap` or `conda install -c conda-forge geemap`.","cause":"geemap is not installed or the environment is not activated.","error":"ModuleNotFoundError: No module named 'geemap'"},{"fix":"Ensure geemap is updated to the latest version: `pip install --upgrade geemap`. Then use `from geemap import Map`.","cause":"Possibly an outdated version of geemap where Map was in a submodule or imported differently.","error":"ImportError: cannot import name 'Map' from 'geemap'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}