Files
coord-converter/workflow.yaml
T
mayihua e9f87fc693 feat: CoordConverter 坐标转换套件 v1.0.0
TXT / Excel(CSV) / SHP 三种格式任意互转
支持 WGS84 / CGCS2000 / Xian80 / Beijing54 / Web Mercator 坐标系转换

由 Mapo 🗺️ 自动生成
2026-07-29 12:49:08 +08:00

40 lines
1011 B
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: coord-converter
version: 1.0.0
platform: linux
params:
input_file:
type: string
required: true
desc: "输入文件路径,支持 .txt / .csv / .xlsx / .shp"
output_file:
type: string
required: true
desc: "输出文件路径,支持 .txt / .csv / .xlsx / .shp"
from_crs:
type: string
required: false
default: "auto"
desc: "源坐标系 EPSG 编码,如 EPSG:4326auto 表示自动识别(仅 SHP 支持)"
to_crs:
type: string
required: false
default: "EPSG:4490"
desc: "目标坐标系 EPSG 编码,默认 EPSG:4490CGCS2000"
output_format:
type: string
required: false
default: "auto"
desc: "输出格式 auto/txt/csv/xlsx/shpauto 根据 output_file 扩展名推断"
steps:
- name: convert
runtime: python3
base_image: gis-base:latest
script: run_suite.py
inputs:
- PARAM_INPUT_FILE
- PARAM_OUTPUT_FILE
- PARAM_FROM_CRS
- PARAM_TO_CRS
- PARAM_OUTPUT_FORMAT