feat: 添加 Linux/Windows 双平台测试套件(云南省界叠加分析)
- test-linux: platform=linux, docker + python3 - test-windows: platform=windows, arcpy + python3 - 附示例 GeoJSON: 云南/昆明/大理/百色 Ref: SuiteHub/agent-profiles#22
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
name: 云南省界叠加分析(Windows 测试)
|
||||
description: 验证 GIS Actions 4.0 Windows 执行链路的测试套件。将示例 GeoJSON 转为 SHP → 叠加分析(arcpy)→ 输出 Excel
|
||||
version: 1.0.0
|
||||
author: SuiteForge
|
||||
platform: windows
|
||||
slug: test-yunnan-overlay-windows
|
||||
tags: [测试, 叠加分析, Windows, 云南省]
|
||||
category: 测试验证
|
||||
|
||||
params:
|
||||
province:
|
||||
type: string
|
||||
required: true
|
||||
desc: 省界 GeoJSON 文件路径
|
||||
cities:
|
||||
type: string
|
||||
required: true
|
||||
desc: 待分析城市 GeoJSON 文件路径,多个文件用逗号分隔
|
||||
output_path:
|
||||
type: string
|
||||
required: true
|
||||
desc: 输出 Excel 文件路径(.xlsx)
|
||||
|
||||
steps:
|
||||
- id: geojson_to_shp
|
||||
name: 转为 SHP
|
||||
runtime: arcpy
|
||||
script_id: arcpy_convert
|
||||
params:
|
||||
province: $params.province
|
||||
cities: $params.cities
|
||||
output_dir: /tmp/output/shp
|
||||
|
||||
- id: overlay
|
||||
name: 叠加分析
|
||||
runtime: arcpy
|
||||
script_id: arcpy_overlay
|
||||
depends_on: [geojson_to_shp]
|
||||
params:
|
||||
province_shp: /tmp/output/shp/province.shp
|
||||
cities_dir: /tmp/output/shp
|
||||
output_dir: /tmp/output/result
|
||||
|
||||
- id: export_excel
|
||||
name: 输出 Excel
|
||||
runtime: python3
|
||||
script_id: excel
|
||||
depends_on: [overlay]
|
||||
params:
|
||||
result_dir: /tmp/output/result
|
||||
output_path: $params.output_path
|
||||
Reference in New Issue
Block a user