Files
agent-profiles/suites-help/开发者指南/快速开始.md
T

702 B

快速开始

安装 gis-actions

# 下载
curl -sLO https://git.mercator.cn/api/packages/AgentGIS/generic/gis-actions/3.0.5/gis-actions_3.0.5_all.deb

# 安装
sudo dpkg -i gis-actions_3.0.5_all.deb

浏览套件

curl -s https://suites.mercator.cn/api/v1/suites | python3 -m json.tool

执行套件

选择一个套件 ID,在本地执行:

agc run /tmp/my-output \
  --suite-id 2c99a1cb-84a5-42dd-9147-1c8e8f7f2941 \
  --input bid_xls=/path/to/标段清单.xls \
  --input points_shp=/path/to/点状工程.shp

发布套件

套件通过 Gitea 仓库 + 发布 API 发布,详见 套件发布指南