记忆

Geoskill: Cadastral Change Detection

试用

Topology-aware cadastral parcel change detection between two epochs. Identifies new, deleted, expanded, reduced, split, and merged parcels from cadastral vector data (宗地/地块/调查图斑). Use when comparing two epochs of land parcels, auditing boundary changes, or generating cadastral change ledgers.

它能做什么

Topology-aware cadastral parcel change detection between two epochs. Identifies new, deleted, expanded, reduced, split, and merged parcels from cadastral vector data (宗地/地块/调查图斑). Use when comparing two epochs of land parcels, auditing boundary changes, or generating cadastral change ledgers.

技能文档

Prerequisites / 先准备 X 文件

⚠️ 必读 — 本 skill 不属于即用型,需要先准备特定文件才能跑。

本 skill 需要 两期宗地矢量(GeoJSON / Shapefile),来自地方不动产登记。

👉 完整教程见仓库根目录 PREREQUISITES.md 2.1 节。

先准备 X 文件references/sample_before.geojson + references/sample_after.geojson 试跑,再换成真实宗地。

快速试跑命令:

python cadastral_change_detection.py --before references/sample_before.geojson --after references/sample_after.geojson --output-dir ./test

Cadastral Change Detection

Compares two epochs of cadastral parcels to detect object-level changes with topology awareness.

Trigger

Use when the user wants to:

  • Compare two epochs of parcel/cadastral data
  • Identify new/deleted/changed parcels
  • Detect split and merge events
  • Audit boundary adjustments
  • Generate change ledgers and topology issue reports

CLI Usage

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

# With custom parameters
python scripts/cadastral_change_detection.py \
  --before before.geojson \
  --after after.geojson \
  --id-field ZDBM \
  --field-map field_map.json \
  --tolerance 0.3 \
  --area-threshold 0.1 \
  --match-iou 0.1 \
  --output-dir ./ccd-output

# Dry run (validate only)
python scripts/cadastral_change_detection.py \
  --before before.geojson \
  --after after.geojson \
  --dry-run

Parameters

ParameterDefaultDescription
--beforerequired前期宗地数据 (GeoJSON/Shapefile)
--afterrequired后期宗地数据 (GeoJSON/Shapefile)
--id-fieldauto宗地唯一标识字段名
--field-mapNone字段映射 JSON (前期字段→后期字段)
--tolerance0.0几何容差 (CRS 单位)
--area-threshold0.05面积变化阈值比例
--match-iou0.1IoU 匹配阈值
--rulesNone业务规则 JSON 文件路径
--output-dir./cadastral-change-output输出目录
--dry-runFalse仅验证参数
--bboxNone(reserved) standard flag, has no effect on this skill
--date-rangeNone(reserved) standard flag, has no effect on this skill
--aoi-fileNone(reserved) standard flag, has no effect on this skill

数据下载 (Data Download)

This skill does not auto-download cadastral data. Cadastral / land-parcel datasets are jurisdiction-specific and not available from open archives. The user must supply two epochs of vector data (--before and --after).

The --bbox, --date-range, and --aoi-file flags are still registered (for CLI consistency with the other 49 GeoSkills) but have no effect on the analysis. Supplying --bbox without --before/--after raises a clear error.

Output

FileDescription
parcel_changes.geojson变更宗地图层(含变更类型与指标)
change_ledger.xlsx变更台账(Excel 汇总表)
topology_issues.geojson拓扑问题图层(重叠/缝隙)
field_changes.csv属性字段变更记录
audit_report.pdf审核报告(HTML 格式)
request.json请求参数记录
dataset-manifest.json数据集清单
output-manifest.json输出清单
qa.json质量检查结果
run.log运行日志

Change Types

TypeMeaning
new新增宗地(仅后期存在)
deleted删除宗地(仅前期存在)
expanded面积扩大(超阈值)
reduced面积缩小(超阈值)
unchanged未变化(面积在容差内)
split分割(1前期→N后期)
merge合并(N前期→1后期)
boundary_adjust边界调整(面积不变但边界位移)

Exit Codes

CodeMeaning
0成功
2参数错误
3依赖缺失
6数据校验失败
7处理失败

Constraints

  • 几何容差按 CRS 单位配置,禁止在经纬度直接用米容差
  • 图匹配处理一对多/多对一并保存映射
  • 面积差区分几何精度误差与业务阈值
  • 敏感数据默认不联网、不上传

相关技能

Object-level building change detection between two epochs. Identifies new, demolished, expanded, reduced, split, and merged buildings from footprint vectors. Use when comparing two building datasets, auditing construction changes, or generating building change reports.

1 次安装

对矢量数据做变更检测、版本快照与差异比较,支持 commit / diff / log 操作。Change detection, version snapshots and diff comparison for vector data with commit / diff / log operations.

Detect and classify cropland changes from before/after NDVI rasters. Identifies suspected construction, water, forest, and bare soil changes and generates compliance investigation materials. Use when the user wants to check farmland for unauthorized changes, monitor cropland conversion, or generate compliance reports.

1 次安装

Find or verify parcel vertex coordinates on the Cote d'Ivoire Mining Cadastre Map Portal/Landfolio site. Use when a user gives an official parcel or license code and asks for vertices, boundary coordinates, WGS84/DMS coordinates, decimal latitude/longitude, Esri geometry, or a repeatable workflow.

1 次安装

Delineate urban growth boundaries from historical expansion rate and direction plus terrain, cropland and ecological constraints.

1 次安装

Multi-temporal shoreline change rate analysis. Generates transects, computes Endpoint Rate (EPR) and Linear Regression Rate (LRR), and identifies erosion hotspots. Use when monitoring coastline retreat/accretion or identifying erosion-prone segments.

1 次安装