技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
leafmap【数据与研究】Routes leafmap users to interactive maps, geospatial data helpers, MapLibre viewers, and optional backend choices.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill for the leafmap Python package when the task is about interactive geospatial maps, notebook-first data helpers, MapLibre viewers, or choosing among optional backends.
Use the published package unless you are explicitly working from a source checkout:
pip install leafmap
For a source checkout, editable install is fine too:
pip install -e .
Add only the targeted extras you actually need:
pip install "leafmap[maplibre]" localtileserver pmtiles fiona for MapLibre viewer workflows, especially view-vector and local GeoJSON inspection.pip install planetary-computer rioxarray xarray when data-helper imports complain about those packages.pip install "leafmap[backends]" or a backend-specific package only when you truly need a non-default backend.python -m leafmap --help
python -c "import leafmap; print(leafmap.__version__)"
If you want a richer local sanity check, run the shared helper:
python scripts/check_leafmap_smoke.py --mode all
sub-skills/interactive-maps/ — default Jupyter maps, basemaps, layers, legends, widgets, split maps, and HTML export.sub-skills/data-workflows/ — CSV/GeoJSON/SHP/KML conversion, STAC, Planetary Computer, OSM, fire, Terrascope, and other data helpers.sub-skills/maplibre-viewers/ — MapLibre GL maps, view-vector, view-raster, view_pmtiles, and python -m leafmap CLI behavior.sub-skills/alternate-backends/ — kepler, plotly, bokeh, pydeck/deck.gl, HERE, and mapbox backend choice and caveats.interactive-maps unless the task clearly needs remote data retrieval or a standalone viewer.data-workflows for any request that starts with a file, a catalog, a place query, or a service search.maplibre-viewers for browser-first HTML output, local file inspection, or CLI viewer commands.alternate-backends only when the user explicitly wants a non-default backend or is diagnosing an optional-backend import issue.references/workflow-overview.md for the route map and verified entry points.references/troubleshooting.md for cross-cutting install/import, widget, data, viewer, and optional-backend issues.references/repo-provenance.md when you need to check whether this skill is stale for the current repository snapshot.