Install
openclaw skills install @ruiduobao/geoskill-buffer-analysisopenclaw skills install @ruiduobao/geoskill-buffer-analysisVector buffer analysis: generates buffers for point/line/polygon features, supports merging of multiple buffers (unary_union/dissolve), overlay statistics against a target layer, and area measurement approximated with a local equirectangular projection in geographic coordinates (km²).
pip install numpy rasterio scipy geopandas shapely
python geoskill-buffer-analysis.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
python geoskill-buffer-analysis.py --bbox 121.0 31.0 122.0 32.0 --synthetic --output-dir ./out2 --quiet
python geoskill-buffer-analysis.py --input <your data file> --output-dir ./out3
python geoskill-buffer-analysis.py --bbox 116.39 39.90 116.40 39.91 --synthetic --output-dir ./out4 --quiet
| File | Format | Description |
|---|---|---|
buffers.geojson | GeoTIFF/GeoJSON/JSON | Main output |
dissolved_buffer.geojson | GeoTIFF/GeoJSON/JSON | Main output |
buffer_stats.json | GeoTIFF/GeoJSON/JSON | Main output |
output-manifest.json | JSON | Run manifest |
--synthetic mode reads no external data.MIT
矢量缓冲区分析:对点/线/面要素生成缓冲,支持多要素融合(unary_union/dissolve)、与目标层叠加统计,以及地理坐标下用局部等距投影近似的面积量算(km²)。
pip install numpy rasterio scipy geopandas shapely
python geoskill-buffer-analysis.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
python geoskill-buffer-analysis.py --bbox 121.0 31.0 122.0 32.0 --synthetic --output-dir ./out2 --quiet
python geoskill-buffer-analysis.py --input <你的数据文件> --output-dir ./out3
python geoskill-buffer-analysis.py --bbox 116.39 39.90 116.40 39.91 --synthetic --output-dir ./out4 --quiet
| 文件 | 格式 | 说明 |
|---|---|---|
buffers.geojson | GeoTIFF/GeoJSON/JSON | 主产物 |
dissolved_buffer.geojson | GeoTIFF/GeoJSON/JSON | 主产物 |
buffer_stats.json | GeoTIFF/GeoJSON/JSON | 主产物 |
output-manifest.json | JSON | 运行清单 |
--synthetic 模式不读取任何外部数据。MIT