geemap
Use geemap for Google Earth Engine interactive mapping, geospatial conversion, visualization, timelapse, and ML helper workflows.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- geemap
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Use geemap for Google Earth Engine interactive mapping, geospatial conversion, visualization, timelapse, and ML helper workflows.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/installation-and-auth.md4.2 KB
- 参考文档references/repo-provenance.md1.9 KB
- 参考文档references/repo-routing-metadata.json486 B
- 参考文档references/troubleshooting.md5.7 KB
- 脚本scripts/check_geemap_env.py6.6 KB
03 SKILL.md 正文
geemap
Use this repo skill when the task involves geemap, the Python package for interactive geospatial analysis and visualization with Google Earth Engine (GEE). It covers map construction, Earth Engine layers, data conversion/export, charts and cartographic output, timelapse animations, app publication, local ML classifier conversion, and optional AI dataset-search helpers.
Start here
- Confirm installation, Python version, Earth Engine credentials, and optional extras with references/installation-and-auth.md.
- Run the safe package smoke helper when the user asks you to check an environment: scripts/check_geemap_env.py.
- Pick the narrowest sub-skill below. If a workflow spans several areas, start with the primary output and follow the cross-links.
- For repository freshness or refresh decisions, read references/repo-provenance.md.
- For cross-cutting failures before diving into a workflow-specific page, read references/troubleshooting.md.
Route map
| User intent | Read |
|---|---|
Create a geemap.Map, choose ipyleaflet vs folium, add Earth Engine layers, basemaps, WMS/XYZ/COG/STAC/local raster layers, drawing tools, inspectors, layer managers, or save/embed an interactive map |
sub-skills/interactive-earth-engine-maps/SKILL.md |
| Convert Earth Engine JavaScript to Python/notebooks, convert local vector/raster formats, export EE Images/FeatureCollections/videos, use COG/STAC/titiler helpers, or diagnose CRS/selectors/export tasks | sub-skills/conversion-and-io/SKILL.md |
| Create charts, colorbars, palettes, legends, cartoee/cartopy static maps, Plotly maps, pydeck, kepler.gl, or MapLibre visualizations | sub-skills/visualization-and-charts/SKILL.md |
| Generate Landsat/Sentinel/GOES/NAIP/MODIS/Dynamic World timelapses, annotate GIFs, convert GIF/MP4, publish maps to HTML/Streamlit/Gradio/Voila/Solara-style apps | sub-skills/timelapse-and-apps/SKILL.md |
| Convert local scikit-learn trees/random forests into Earth Engine classifiers, plan EE classification workflows, or use optional Gemini/AI dataset-discovery helpers | sub-skills/machine-learning-and-ai/SKILL.md |
Minimal setup pattern
pip install geemap
python - <<'PY'
import geemap
print(geemap.__version__)
Map = geemap.Map(center=[40, -100], zoom=4, ee_initialize=False)
print(type(Map).__name__)
PY
Use ee_initialize=False for offline map construction or tests that should not contact Earth Engine. For real GEE layers or exports, authenticate and initialize Earth Engine first; see installation and auth.
Optional extras decision points
- Base map, conversion, local helper, and many tests use the base package.
geemap[backends]adds pydeck and kepler.gl routes.geemap[raster],geemap[vector], andgeemap[sql]add local raster, GeoPandas/OSM, and PostGIS-style workflows.geemap[apps]adds app-publication targets.geemap[ai]adds Gemini/LangChain/Google Cloud AI dataset-search routes.- Avoid
geemap[all]unless the user truly needs broad optional coverage; many extras bring compiled geospatial dependencies, services, credentials, or UI packages.
Safety and execution boundaries
- Do not run Earth Engine exports, notebook corpora, OSM/network downloads, cloud storage jobs, AI service calls, or app deployments unless the user explicitly wants those side effects and has credentials/network available.
- Prefer safe helper checks and dry-run planning scripts first; launch remote tasks only after validating ROI, scale, CRS, selectors, output path, and destination.
- Keep generated answers self-contained. Use this skill tree's references and scripts instead of depending on a repository checkout.
- CUDA/ROCm/MPS are not required for geemap itself; the important runtime gates are Python/Jupyter widgets, Earth Engine authentication, network access, and optional geospatial/service dependencies.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).