07a9c3f6dd
- 去掉 province/cities 参数,只保留 output_path - GeoJSON 数据放在 data/ 目录,脚本自动读取 - 版本升到 1.0.1 - MEMORY.md / TOOLS.md 补充 platform 发布参数说明 Ref: SuiteHub/agent-profiles#22
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
name: 云南省界叠加分析(Linux 测试)
|
||
description: 验证 GIS Actions 4.0 Linux 双平台执行链路的测试套件。内置云南/昆明/大理/百色 GeoJSON 示例数据,开箱即用。
|
||
version: 1.0.1
|
||
author: SuiteForge
|
||
platform: linux
|
||
slug: test-yunnan-overlay-linux
|
||
tags: [测试, 叠加分析, Linux, 云南省]
|
||
category: 测试验证
|
||
|
||
params:
|
||
output_path:
|
||
type: string
|
||
required: true
|
||
desc: 输出 Excel 文件路径(.xlsx)
|
||
|
||
base_image: gis-base:latest
|
||
|
||
steps:
|
||
- id: geojson_to_shp
|
||
name: 转为 SHP
|
||
runtime: docker
|
||
script_id: convert
|
||
params:
|
||
output_dir: /tmp/output/shp
|
||
|
||
- id: overlay
|
||
name: 叠加分析
|
||
runtime: docker
|
||
script_id: 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
|