Geoskill: Building Change Audit

Object-level building change detection between two epochs. Identifies new, demolished, expanded, reduced, split, and merged buildings from footprint vectors. Use when comparing two…

ruiduobao

@ruiduobao

Install

$ openclaw skills install @ruiduobao/geoskill-building-change-audit

Building Change Audit

Compares two epochs of building footprints to detect object-level changes.

Trigger

Use when the user wants to:

  • Compare two building datasets for changes
  • Identify new/demolished buildings
  • Audit construction changes between epochs
  • Generate building change statistics

CLI Usage

# Basic comparison
python scripts/building_change_audit.py \
  --before-buildings before.geojson \
  --after-buildings after.geojson

# With custom IoU threshold
python scripts/building_change_audit.py \
  --before-buildings before.geojson \
  --after-buildings after.geojson \
  --match-iou 0.3 --area-tolerance 0.1

# Specify output directory
python scripts/building_change_audit.py \
  --before-buildings before.geojson \
  --after-buildings after.geojson \
  --output-dir ./audit-output

Parameters

ParameterDefaultDescription
--before-buildingsrequired*Before epoch buildings (GeoJSON/Shapefile)
--after-buildingsrequired*After epoch buildings (GeoJSON/Shapefile)
--match-iou0.1IoU threshold for matching
--area-tolerance0.05Area ratio tolerance for "unchanged"
--bboxBounding box W,S,E,N for auto-downloading ms-buildings
--date-rangeDate range START,END for auto-download
--aoi-fileAOI polygon file (GeoJSON)
--cache-dirOverride the default cache directory
--output-dir./building-change-outputOutput directory

*Required unless --synthetic or --bbox+--date-range is supplied.

Output

FileDescription
building_changes.geojsonChange features with type and metrics
report.htmlHTML summary report
output-manifest.jsonMachine-readable manifest

Change Types

TypeMeaning
newBuilding present only in after epoch
demolishedBuilding present only in before epoch
expandedMatched, area increased > tolerance
reducedMatched, area decreased > tolerance
unchangedMatched, area within tolerance
splitOne before → multiple after
mergeMultiple before → one after

Exit Codes

CodeMeaning
0Success
2Argument error
3Dependency missing
6Data validation failure
7Processing failure

数据下载

本 skill 可自动从 Microsoft Planetary Computer 下载 Microsoft Building Footprints (ms-buildings) data, generating two snapshots — one for --before-buildings and one for --after-buildings — so you can run a change audit without supplying your own GeoJSON.

python building_change_audit.py --bbox 116,39,117,40 --date-range 2024-06-01,2024-06-30 --output-dir <tmp>
  • --bbox W,S,E,N: WGS-84 边界框 (西, 南, 东, 北)
  • --date-range START,END: 日期范围 (YYYY-MM-DD,YYYY-MM-DD)
  • --aoi-file <path.geojson>: 替代 --bbox 的 GeoJSON 多边形
  • --cache-dir <path>: 缓存目录 (默认 ~/.geoskill_cache)

当用户只给 --bbox + --date-range (没有 --before-buildings/--after-buildings) 时, skill 自动下载两份 ms-buildings 数据 (一前一后)。 注意:ms-buildings 是单一静态数据集, 两次下载返回的通常是同一份 parquet blob — 真正的 temporal change detection 需要在脚本外做区域/日期过滤。 由于 ms-buildings 用的是 abfs:// URL (urllib 不支持),下载会失败并自动 fall back 到 --synthetic 模式。

Top skills in this category

Skill Vetter

@spclaudehome

Security-first skill vetting for AI agents. Use before installing any skill from ClawdHub, GitHub, or other sources. Checks for red flags, permission scope, and suspicious patterns.

1.3k271k

Skill Vetter - Pre-Install Security Review

@donovanpankratz-del

Security vetting protocol before installing any AI agent skill. Red flag detection for credential theft, obfuscated code, exfiltration. Risk classification L...

2726k

google-slides

@byungkyu

Google Slides API integration with managed OAuth. Create presentations, add slides, insert content, and manage slide formatting. Use this skill when users want to interact with Google Slides. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Calls run through the `maton` CLI with OAuth login; default to read and list calls, and confirm every write or new connection with the user.

3320k

google-workspace-admin

@byungkyu

Google Workspace Admin SDK integration with managed OAuth. This is a write-capable administrative integration for users, groups, organizational units, roles, and domain settings. Only connect with a least-privileged Google admin account, restrict OAuth scopes to the specific resources needed, and revoke the connection after use. All write operations require explicit user approval showing the exact HTTP method, endpoint path, and target resource identifier before execution. Use this skill only when users need Google Workspace administration. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Calls run through the `maton` CLI with OAuth login; default to read and list calls, and confirm every write or new connection with the user.

2118k

OpenClaw Token Optimizer

@asif2bd

OpenClaw Token Optimizer v3.2.0 — practical cost-control toolkit for OpenClaw agents. Lazy context loading, Sonnet/Opus-aware routing, heartbeat scheduling,...

3013k