Install
openclaw skills install @ruiduobao/geoskill-lidar-urban-modelingopenclaw skills install @ruiduobao/geoskill-lidar-urban-modelingExtracts urban buildings from a LiDAR point cloud and builds 2.5D models (footprints + height + volume). Workflow:
Synthetic mode generates a simulated point cloud of gentle terrain + several random rectangular buildings (height 6–25 m, footprint 8–18 m, dense rooftop grid points + wall points at multiple heights, no ground returns inside building footprints), automatically matches the ground truth, and reports the detection rate and height RMSE. Suited to urban 3D modeling, building stock estimation, and floor-area-ratio / building-volume analysis.
pip install numpy rasterio scipy geopandas shapely
python geoskill-lidar-urban-modeling.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
python geoskill-lidar-urban-modeling.py \
--bbox 116.0 39.0 117.0 40.0 \
--synthetic --min-height 3.0 \
--output-dir ./bld_3m
python geoskill-lidar-urban-modeling.py \
--bbox 121.0 31.0 122.0 32.0 \
--synthetic --ground-method percentile --min-area 50 \
--output-dir ./bld_large
python geoskill-lidar-urban-modeling.py \
--input city_block.npy --min-height 3.0 --cell-size 1.0 \
--output-dir ./real_block
python geoskill-lidar-urban-modeling.py \
--input city_block.csv --min-height 1.5 --min-area 6 --quiet \
--output-dir ./sheds
| File | Format | Description |
|---|---|---|
ndsm.tif | GeoTIFF (float32) | Normalized Digital Surface Model, EPSG:4326 |
buildings.geojson | GeoJSON (Polygon) | Building footprints + height_max/height_mean/area/volume attributes |
stats.json | JSON | Building count, height/volume statistics, detection rate and RMSE (synthetic mode) |
output-manifest.json | JSON | Run manifest (input/output/QA/software versions) |
MIT
从 LiDAR 点云提取城市建筑物并构建 2.5D 模型(轮廓 + 高度 + 体积)。 流程:
合成模式生成平缓地形 + 若干随机矩形建筑(高 6–25 m、足迹 8–18 m, 屋顶密网格点 + 多高度墙面点,建筑内部无地面回波)的模拟点云,自动 与真值匹配输出检测率与高度 RMSE。适用于城市三维建模、建筑存量估算、 容积率/体量分析。
pip install numpy rasterio scipy geopandas shapely
python geoskill-lidar-urban-modeling.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
python geoskill-lidar-urban-modeling.py \
--bbox 116.0 39.0 117.0 40.0 \
--synthetic --min-height 3.0 \
--output-dir ./bld_3m
python geoskill-lidar-urban-modeling.py \
--bbox 121.0 31.0 122.0 32.0 \
--synthetic --ground-method percentile --min-area 50 \
--output-dir ./bld_large
python geoskill-lidar-urban-modeling.py \
--input city_block.npy --min-height 3.0 --cell-size 1.0 \
--output-dir ./real_block
python geoskill-lidar-urban-modeling.py \
--input city_block.csv --min-height 1.5 --min-area 6 --quiet \
--output-dir ./sheds
| 文件 | 格式 | 说明 |
|---|---|---|
ndsm.tif | GeoTIFF (float32) | 归一化数字表面模型,EPSG:4326 |
buildings.geojson | GeoJSON (Polygon) | 建筑轮廓 + height_max/height_mean/area/volume 属性 |
stats.json | JSON | 栋数、高度/体积统计、检测率与 RMSE(合成模式) |
output-manifest.json | JSON | 运行清单(输入/输出/QA/软件版本) |
MIT