feat: CoordConverter 坐标转换套件 v1.0.0
TXT / Excel(CSV) / SHP 三种格式任意互转
支持 WGS84 / CGCS2000 / Xian80 / Beijing54 / Web Mercator 坐标系转换
由 Mapo 🗺️ 自动生成
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
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:4326;auto 表示自动识别(仅 SHP 支持)"
|
||||
to_crs:
|
||||
type: string
|
||||
required: false
|
||||
default: "EPSG:4490"
|
||||
desc: "目标坐标系 EPSG 编码,默认 EPSG:4490(CGCS2000)"
|
||||
output_format:
|
||||
type: string
|
||||
required: false
|
||||
default: "auto"
|
||||
desc: "输出格式 auto/txt/csv/xlsx/shp;auto 根据 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
|
||||
Reference in New Issue
Block a user