Skip to content
Skills Library
Data & analytics · Conversion & formats

spatial-resource-mapper

/spatial-resource-mapper

用于多源空间资源数据的清洗、坐标精修、空间归属、分类统计、多格式导出和方法论沉淀。 当用户提到"资源地图""点位清洗""坐标精修""地市/区县归属""未识别数据定位" "GeoJSON/CSV 导出""数据整合方法论""跨省份数据迁移"时使用。

Licence
MIT
Last repository change
29.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
13
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 29.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/locate_unidentified_points.py

What it does and when to use it

用于多源空间资源数据的清洗、坐标精修、空间归属、分类统计、多格式导出和方法论沉淀。 当用户提到"资源地图""点位清洗""坐标精修""地市/区县归属""未识别数据定位" "GeoJSON/CSV 导出""数据整合方法论""跨省份数据迁移"时使用。

Triggers from the description

资源地图点位清洗坐标精修地市/区县归属未识别数据定位GeoJSON/CSV 导出数据整合方法论跨省份数据迁移
Original author description

用于多源空间资源数据的清洗、坐标精修、空间归属、分类统计、多格式导出和方法论沉淀。 当用户提到"资源地图""点位清洗""坐标精修""地市/区县归属""未识别数据定位" "GeoJSON/CSV 导出""数据整合方法论""跨省份数据迁移"时使用。

How it works

  1. 角色
  2. 触发条件
  3. 工作流程
  4. 输出规范
  5. 边界情况
  6. 参考案例
Original SKILL.md headings · 89 lines, 157 words
SKILL.md preview
---
name: spatial-resource-mapper
description: >
  用于多源空间资源数据的清洗、坐标精修、空间归属、分类统计、多格式导出和方法论沉淀。
  当用户提到"资源地图""点位清洗""坐标精修""地市/区县归属""未识别数据定位"
  "GeoJSON/CSV 导出""数据整合方法论""跨省份数据迁移"时使用。
license: MIT
metadata:
  author: user
  version: "1.0.0"
---

## 角色

你是一个空间资源地图与资料库开发助手,负责把多源、多格式、坐标系不一致的资源点位数据,
整理成可入库、可地图展示、可跨地区复用的标准数据集。

## 触发条件

当用户提出以下需求时激活:

- 整理某省/市/区县的资源点位数据;
- 清洗未识别行政区、坐标异常、地址残缺的数据;
- 做坐标精修、坐标系转换、空间归属判断;
- 生成 GeoJSON、CSV、Excel 等地图数据;
- 输出数据质量报告、分类统计表、行政区分布表;
- 把数据整合流程沉淀为可复用方法论;
- 将已有方法迁移到其他省份或其他领域;
- 为资源地图项目建立标准化数据口径。

## 工作流程

1. **确认任务边界**
   - 明确区域范围、资源类型、数据来源、坐标系要求。
   - 确认输出格式:GeoJSON、CSV、Excel、Markdown 报告等。
   - 确认是否需要行政区归属、分类统计、质量校验。

2. **汇聚与清洗**
   - 统一字段:名称、地址、经度、纬度、坐标系、类型、行政区、来源。
   - 去除重复点位、无效坐标、明显越界坐标、0,0 坐标。
   - 标准化地址、类型名称和行政区划名称。
   - 保留原始字段,新增清洗后字段,形成可追溯的清洗轨迹。

3. **坐标精修**
   - 优先保留权威来源坐标。
   - 对缺失坐标数据,按地址地理编码或名称线索补全。
   - 对推断坐标必须标记置信度,不强行当作精确坐标。
   - 统一坐标系口径,常见包括 WGS84、GCJ02、BD09 等。

4. **空间归属**
   - 使用行政区划边界做坐标反查。
   - 对"未识别行政区"数据,按坐标、地址、名称、来源依次判断。
   - 低置信数据进入人工核验,不自动归属。
   - 跨边界或疑似省外数据单独标记。

5. **分类与统计**
   - 按资源类型、行政区、来源进行统计。
   - 输出分类分布表、行政区分布表,并做合计校验。
   - 分类体系需根据目标省份或目标领域重新定义。

6. **多格式导出**
   - 导出 GeoJSON 用于地图展示。
   - 导出 CSV/Excel 用于资料库入库。
   - 导出 Markdown/PDF 用于项目总结和方法论沉淀。
   - 导出时保留坐标系、置信度、推断方法等元数据。

7. **一致性校验**
   - 校验总数、分类合计、行政区合计是否一致。
   - 校验坐标范围、坐标系、字段完整性。
   - 记录清洗轨迹:原始值、推断值、推断方法、置信度。
   - 对异常数据生成问题清单,不直接并入正式库。

8. **方法论沉淀**
   - 把流程抽象为:汇聚清洗 → 坐标精修 → 空间归属 → 多级切分 → 多格式导出 → 一致性校验 → 资产化归档。
   - 对每个阶段说明"通用规则"和"可替换参数"。
   - 可替换参数包括:区域范围、分类体系、坐标系、边界数据、来源字段、置信度阈值等。

## 输出规范

- 数据输出建议包含字段:名称、地址、经度、纬度、坐标系、类型、行政区、区县、来源、置信度、推断方法。
- 表格类输出必须提供合计行,并做交叉校验。
- 方法论输出要区分"通用步骤"和"可替换参数",方便复用。
- 对未识别、低置信、坐标异常数据,必须单独列出,不直接并入正式库。
- 如果涉及具体省份或领域案例,需明确标注为示例,不作为默认口径。

## 边界情况

- 如果缺少坐标系信息,先确认是 WGS84、GCJ02、BD09 或其他坐标系。
- 如果地址不完整,不强行地理编码,应标记为待核验。
- 如果名称相似但坐标差异大,按多点位处理,不自动合并。
- 如果跨行政区边界,优先使用权威行政区划边界复核。
- 如果用户要求迁移到其他领域,需重新确认数据字段、坐标依赖和归属规则。
- 如果行政区划边界数据缺失,需提示用户补充权威边界文件。

## 参考案例

`references/shandong-case-study.md` 中提供了山东文化资源地图项目的案例,包括点位口径、
资源分类、地市分布、清洗规则和一致性校验结果。该案例仅作为方法验证示例,迁移到其他省份
或其他领域时,需要替换区域范围、分类体系、边界数据和字段口径。
Files in this package (13)
  • .gitignore 1 KB
  • CHANGELOG.md 1 KB
  • LICENSE.txt 1 KB
  • README.md 2 KB
  • SKILL.md 5 KB
  • assets/.gitkeep 1 KB
  • references/README.md 1 KB
  • references/classification-example.md 4 KB
  • references/cleaning-rules.md 6 KB
  • references/methodology.md 5 KB
  • references/shandong-case-study.md 4 KB
  • scripts/README.md 1 KB
  • scripts/locate_unidentified_points.py 5 KB

Versions

The database has no other skills named spatial-resource-mapper.

Database snapshot: 13.11.2026 · package version c6fd3645e011 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 98bjbus-reach-map
    用北京公交实时数据(bjbus MCP)制作"某公交站 60 分钟内、最多换乘一次"的可达范围地图。输入起点站名,输出总图 + 核心区放大图(PNG)+ 站点明细 CSV + GeoJSON + Shapefile(WGS84)。当用户要求"做 XX 站的可达图 / 一小时能到哪 / 等时圈 / isochrone"时使用。
  • 100duckdb-spatial
    Use when doing spatial analysis inside a DuckDB database or SQL pipeline — INSTALL spatial / LOAD spatial, ST_Read over Shapefile/GeoPackage/GeoJSON, ST_Point/ST_GeomFromText, ST_Intersects/ST_Contains/ST_Buffer joins, ST_Area_Spheroid, ST_AsMVT tiles, DuckDB-WASM in the…
  • 100nz-arcgis
    Discover and query allowlisted New Zealand public-sector and utility ArcGIS services and layers, including Auckland, Christchurch, Dunedin and Hamilton assets, hazards and transport data. Use for service/layer metadata, counts and bounded WGS84 spatial extracts as JSON, GeoJSON…
  • 95load-and-inspect-geodata
    Load GeoJSON files with GeoPandas and inspect their structure — columns, CRS, geometry types, and sample rows. Use this before any spatial analysis to understand field names and data layout.
  • 100map
    Use when GeoJSON - features a search found, a route, any FeatureCollection - should be shown on a map served by a getmapstack container on localhost:4326 - "show these on a map", "draw this GeoJSON", "put the route on a map". Not for finding the features or computing the route;…
  • 100keplergl-python
    Create interactive map visualizations and export to standalone HTML using the keplergl Python package. Use when the user wants to create maps, visualize geospatial data, plot locations on a map, or generate HTML map files from DataFrames, GeoDataFrames, GeoJSON, or CSV data with coordinates.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.