A lightweight Python package for interactive mapping with Earth Engine and folium
MIT License
A Python package for interactive mapping with Google Earth Engine, ipyleaflet, and ipywidgets.
eefolium is a Python package for interactive mapping with Google Earth Engine (GEE), which is a cloud computing platform with a multi-petabyte catalog of satellite imagery and geospatial datasets. During the past few years, GEE has become very popular in the geospatial community and it has empowered numerous environmental applications at local, regional, and global scales. GEE provides both JavaScript and Python APIs for making computational requests to the Earth Engine servers. Compared with the comprehensive documentation and interactive IDE (i.e., GEE JavaScript Code Editor) of the GEE JavaScript API, the GEE Python API has relatively little documentation and limited functionality for visualizing results interactively. The eefolium Python package was created to fill this gap. It is built upon ipyleaflet and ipywidgets, and enables users to analyze and visualize Earth Engine datasets interactively within a Jupyter-based environment.
eefolium is intended for students and researchers, who would like to utilize the Python ecosystem of diverse libraries and tools to explore Google Earth Engine. It is also designed for existing GEE users who would like to transition from the GEE JavaScript API to Python API. The automated JavaScript-to-Python conversion module of the eefolium package can greatly reduce the time needed to convert existing GEE JavaScripts to Python scripts and Jupyter notebooks.
For video tutorials and notebook examples, please visit the examples page. For complete documentation on eefolium modules and methods, please visit the API Reference.
If you find eefolium useful in your research, please consider citing the following papers to support my work. Thank you for your support.
Below is a partial list of features available for the eefolium package. Please check the examples page for notebook examples, GIF animations, and video tutorials.
Map.addLayer()
, Map.setCenter()
, Map.centerObject()
, Map.setOptions()
.I have created a YouTube Channel for sharing eefolium tutorials. You can subscribe to my channel for regular updates. If there is any specific tutorial you would like to see, please submit a feature request here.