Install
openclaw skills install @ruiduobao/geoskill-spatial-data-dashboardBuild spatial dashboards combining map layers and statistical charts into HTML
openclaw skills install @ruiduobao/geoskill-spatial-data-dashboardAggregates spatial data into a self-contained HTML dashboard: a Leaflet map + rendered overlay layers + KPI metric cards + pure-SVG histogram and zonal-mean line charts + a zonal statistics table.
Charts are drawn by a built-in SVG generator, with no dependency on external JS charting libraries, so the dashboard works offline.
raster_histogram / descriptive_stats / zonal_statistics statistics → SVG histogram and line-chart generation → render_overlay terrain overlay → Leaflet dashboard assembly.
pip install numpy rasterio scipy matplotlib geopandas shapely pillow
python geoskill-spatial-data-dashboard.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
python geoskill-spatial-data-dashboard.py --input dem.tif --bins 30 --title "watershed dashboard"
python geoskill-spatial-data-dashboard.py --bbox 116 39 117 40 --synthetic --bins 24
python geoskill-spatial-data-dashboard.py --input dem.tif --title "urban thermal environment"
python geoskill-spatial-data-dashboard.py --input dem.tif --bins 50
| File | Format | Description |
|---|---|---|
dashboard.html | HTML | Dashboard (primary output) |
dashboard.json | JSON | Statistics/histogram/zones (verifiable output) |
dashboard_data.tif | GeoTIFF | Data raster |
Each run also produces output-manifest.json (run manifest).
Local GeoTIFF / vector files; --synthetic mode generates physically consistent simulated data, fully offline.
--synthetic mode requires no network at all.MIT
把空间数据汇总成自包含 HTML 仪表盘:Leaflet 地图 + 渲染叠加层 + KPI 指标卡 + 纯 SVG 直方图与分区均值折线图 + 分区统计表。
图表用内置 SVG 生成器绘制,不依赖外部 JS 图表库,离线可开。
raster_histogram/descriptive_stats/zonal_statistics 统计 → SVG 直方图与折线生成 → render_overlay 地形叠加 → Leaflet 仪表盘组装。
pip install numpy rasterio scipy matplotlib geopandas shapely pillow
python geoskill-spatial-data-dashboard.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
python geoskill-spatial-data-dashboard.py --input dem.tif --bins 30 --title "流域仪表盘"
python geoskill-spatial-data-dashboard.py --bbox 116 39 117 40 --synthetic --bins 24
python geoskill-spatial-data-dashboard.py --input dem.tif --title "城市热环境"
python geoskill-spatial-data-dashboard.py --input dem.tif --bins 50
| 文件 | 格式 | 说明 |
|---|---|---|
dashboard.html | HTML | 仪表盘(主产物) |
dashboard.json | JSON | 统计/直方图/分区(可验证产物) |
dashboard_data.tif | GeoTIFF | 数据栅格 |
每次运行还会产出 output-manifest.json(运行清单)。
本地 GeoTIFF / 矢量文件;--synthetic 模式生成物理一致的模拟数据,完全离线。
--synthetic 模式完全无网络。MIT