Install
openclaw skills install @ruiduobao/geoskill-interactive-webgisConfigure a lightweight WebGIS with query support as a self-contained HTML app
openclaw skills install @ruiduobao/geoskill-interactive-webgisGenerates a self-contained lightweight WebGIS: Leaflet base map + rendered overlay layers + POI monitoring point layer + click-to-query (embedded downsampled raster JSON, browser-side nearest-neighbor elevation query) + layer toggle panel. No backend required.
The attribute query engine supports six operators — gt/lt/ge/le/eq/contains — and is unit-testable; it also aggregates point features into a density raster.
query_value_at bilinear point query + nearest_query nearest-neighbor → build_layer_config layer configuration → point_density_raster aggregation → Leaflet + embedded GRID assembly.
pip install numpy rasterio scipy matplotlib geopandas shapely pillow
python geoskill-interactive-webgis.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
python geoskill-interactive-webgis.py --input poi.geojson --query-field value --query-op gt --query-value 50
python geoskill-interactive-webgis.py --input poi.geojson --query-field category --query-op contains --query-value school
python geoskill-interactive-webgis.py --bbox 116 39 117 40 --synthetic --n-points 200
python geoskill-interactive-webgis.py --bbox 116 39 117 40 --synthetic --color "#e6550d" --title "urban facilities"
| File | Format | Description |
|---|---|---|
webgis.html | HTML | WebGIS application (primary output) |
webgis_data.json | JSON | Raster grid/sites/config (verifiable output) |
features.geojson | GeoJSON | Point features |
density.tif | GeoTIFF | Point density 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
生成自包含轻量级 WebGIS:Leaflet 底图 + 渲染叠加层 + POI 监测点图层 + 点击即查(内嵌降采样栅格 JSON,浏览器端最近邻查询高程)+ 图层开关面板。无需后端。
属性查询引擎支持 gt/lt/ge/le/eq/contains 六种运算符,可单测;另把点要素聚合成密度栅格。
query_value_at 双线性点查询 + nearest_query 最近邻 → build_layer_config 图层配置 → point_density_raster 聚合 → Leaflet+内嵌 GRID 组装。
pip install numpy rasterio scipy matplotlib geopandas shapely pillow
python geoskill-interactive-webgis.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
python geoskill-interactive-webgis.py --input poi.geojson --query-field value --query-op gt --query-value 50
python geoskill-interactive-webgis.py --input poi.geojson --query-field category --query-op contains --query-value school
python geoskill-interactive-webgis.py --bbox 116 39 117 40 --synthetic --n-points 200
python geoskill-interactive-webgis.py --bbox 116 39 117 40 --synthetic --color "#e6550d" --title "城市设施"
| 文件 | 格式 | 说明 |
|---|---|---|
webgis.html | HTML | WebGIS 应用(主产物) |
webgis_data.json | JSON | 栅格网格/站点/配置(可验证产物) |
features.geojson | GeoJSON | 点要素 |
density.tif | GeoTIFF | 点密度栅格 |
每次运行还会产出 output-manifest.json(运行清单)。
本地 GeoTIFF / 矢量文件;--synthetic 模式生成物理一致的模拟数据,完全离线。
--synthetic 模式完全无网络。MIT