Files
gis-actions/suites/test-linux/workflow.yaml
T
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

54 lines
1.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: 云南省界叠加分析(Linux 测试)
description: 验证 GIS Actions 4.0 Linux 双平台执行链路的测试套件。将示例 GeoJSON 转为 SHP → 叠加分析(判断城市是否在省内)→ 输出 Excel
version: 1.0.0
author: SuiteForge
platform: linux
slug: test-yunnan-overlay-linux
tags: [测试, 叠加分析, Linux, 云南省]
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
base_image: gis-base:latest
steps:
- id: geojson_to_shp
name: 转为 SHP
runtime: docker
script_id: convert
params:
province: $params.province
cities: $params.cities
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