Commit Graph

4 Commits

Author SHA1 Message Date
SuiteForge 75a8fcf114 fix: Step 1 手动解析 GeoJSON,兼容 ArcGIS 10.8 (#3)
arcpy.JSONToFeatures_conversion 仅支持 ArcGIS 内部 JSON 格式,
不兼容标准 GeoJSON(RFC 7946),ArcGIS 10.8 报 ERROR 001558。

重写 arcpy_convert.py:
- 自行读取 GeoJSON 文件,解析 coordinates
- 使用 arcpy.Polygon + InsertCursor 手动构建面要素
- 支持 Polygon 和 MultiPolygon 两种几何类型
- 保留原有字段(name, code, population)
- 保持 # -*- coding: utf-8 -*- 声明

workflow.yaml: version 1.0.4 → 1.0.5
2026-07-22 21:43:54 +08:00
SuiteForge 52858c151b fix: arcpy scripts 添加 encoding 声明 (#2)
根据 Mercator 用户交流平台话题 #2 的要求:
- arcpy_convert.py: 添加 # -*- coding: utf-8 -*-
- arcpy_overlay.py: 添加 # -*- coding: utf-8 -*-
- workflow.yaml: version 1.0.3 → 1.0.4

原因:arcpy 运行在 Python 2.7 环境,默认 ASCII 编码,
含中文注释/字符串的脚本需要显式声明 UTF-8 编码。
2026-07-22 21:28:10 +08:00
SuiteForge 07a9c3f6dd fix: 测试数据打包进套件 data/,去掉外部输入参数
- 去掉 province/cities 参数,只保留 output_path
- GeoJSON 数据放在 data/ 目录,脚本自动读取
- 版本升到 1.0.1
- MEMORY.md / TOOLS.md 补充 platform 发布参数说明

Ref: SuiteHub/agent-profiles#22
2026-07-21 00:19:00 +08:00
SuiteForge 967fa0f59c feat: 添加 Linux/Windows 双平台测试套件(云南省界叠加分析)
- test-linux: platform=linux, docker + python3
- test-windows: platform=windows, arcpy + python3
- 附示例 GeoJSON: 云南/昆明/大理/百色

Ref: SuiteHub/agent-profiles#22
2026-07-21 00:10:50 +08:00