Module Overview¶
The geeViz package provides a comprehensive suite of modules for working with Google Earth Engine in Python. Below is an overview of the core modules available in geeViz.
Core Visualization Modules¶
geeViz.geeViewInteractive map viewer for Earth Engine datasets. Provides the primary
mapperclass for creating web-based visualizations with support for querying, charting, and layer management.geeViz.foliumViewAlternative map viewer using Folium for lightweight, static map generation and Jupyter notebook integration.
Image Processing & Analysis¶
geeViz.getImagesLibComprehensive wrapper functions for accessing and processing Landsat, Sentinel-2, MODIS, and other satellite imagery. Handles compositing, cloud masking, and standardized preprocessing. Preferred Sentinel-2 function:
superSimpleGetS2().geeViz.changeDetectionLibTools for running and visualizing change detection algorithms including LandTrendr, CCDC, and VERDET. Includes segmentation and temporal analysis utilities.
geeViz.phEEnoVizPhenology visualization and analysis tools for examining vegetation temporal patterns and seasonal dynamics.
Output Libraries (geeViz.outputLib)¶
geeViz.outputLib.chartsZonal summary and charting library. Auto-detects thematic vs. continuous data, produces Plotly charts (time series, bar, donut, scatter) and D3 Sankey transition diagrams with gradient-colored links. Use
chart_type='sankey'for Sankey charts. FormerlygeeViz.chartingLib.geeViz.outputLib.thumbsPublication-ready thumbnails, animated GIFs, and filmstrip grids from Earth Engine imagery. Includes auto-visualization detection, basemap compositing, projected CRS support, scalebar, north arrow, inset map, and legend rendering.
geeViz.outputLib.reportsAutomated report generation combining thumbnails, charts, Sankey diagrams, data tables, and LLM-generated narratives (via Gemini). All EE data requests run in parallel. Supports HTML, Markdown, and PDF with dark/light themes.
geeViz.outputLib.themesUnified theme system for consistent colors across charts, thumbnails, and reports. Provides named presets (
dark,light,teal) and auto-generation from a background color.
Summary Areas¶
geeViz.getSummaryAreasLibFunctions returning filtered
ee.FeatureCollectionobjects for administrative boundaries (levels 0–4 from geoBoundaries, FAO GAUL, or FieldMaps), USFS units (forests, districts, regions), US census geographies (tracts, block groups, blocks, urban areas), buildings, roads (TIGER 2012-2025 and GRIP4 global), and protected areas.
External Data¶
geeViz.edwLibUSFS Enterprise Data Warehouse (EDW) REST API client. Search, inspect, and query ~215 Forest Service geospatial services (fire, ownership, vegetation, roads, etc.). Returns GeoJSON loadable into Earth Engine.
geeViz.googleMapsLibGoogle Maps Platform client for ground-truthing remote sensing analysis. Includes geocoding, places search, Street View imagery, panorama stitching, AI interpretation (Gemini), semantic segmentation (SegFormer), elevation, air quality, solar, and more. Requires
GOOGLE_MAPS_PLATFORM_API_KEYand optionallyGEMINI_API_KEYin a.envfile.
Data Management Modules¶
geeViz.taskManagerLibUtilities for managing Earth Engine export tasks, monitoring progress, and handling batch exports to Drive, Cloud Storage, or Assets.
geeViz.assetManagerLibFunctions for managing Earth Engine assets including uploading, deleting, copying, and organizing asset collections.
geeViz.cloudStorageManagerLibTools for interacting with Google Cloud Storage, including uploading, downloading, and managing geospatial data in cloud buckets.
geeViz.gee2PandasUtilities for converting Earth Engine data structures (FeatureCollections, charts, zonal statistics) to pandas DataFrames for further analysis.
AI-Assisted Development¶
geeViz.mcp.serverMCP (Model Context Protocol) server that gives AI coding assistants live access to geeViz and Earth Engine. 22 tools for code execution, API introspection, asset inspection, map control, Google Maps, and report generation. Charting, thumbnails, and EDW queries are accessed via
run_code. See the MCP Server guide for setup.
Module Reference¶
View GEE objects using Python |
|
Get images and organize them so they are easier to work with |
|
Apply change detection methods usin GEE |
|
Zonal Summary & Charting Library for GEE |
|
Generate Earth Engine thumbnails with automatic visualization handling. |
|
Generate reports from Earth Engine data with LLM-powered narratives. |
|
Unified theme system for geeViz output libraries. |
|
Functions for retrieving common summary and study area FeatureCollections. |
|
USFS Enterprise Data Warehouse (EDW) REST API client. |
|
Google Maps Platform client for geeViz. |
|
Monitor and manage tasks programatically |
|
Helpful functions for managing GEE assets |
|
Helpful functions for managing Google Cloud Storage (GCS) buckets and blobs |
|
Take data from GEE to Pandas and back |
|
View GEE objects using Folium. |
|
Visualize the spectral seasonality of an area to facilitate composting methods development |
|
geeViz MCP Server -- execution and introspection tools for Earth Engine via geeViz. |