Files
2026-07-20 08:55:54 +00:00

35 lines
747 B
Markdown

# 快速开始
## 安装 gis-actions
```bash
# 下载
# Linux
curl -sLO https://packages.mercator.cn/public/gis-actions/latest.deb
sudo dpkg -i latest.deb
# Windows
# 下载 latest-windows.zip 解压到 %LOCALAPPDATA%\AgentGIS\gis-actions\ 并加入 PATH
```
## 浏览套件
```bash
curl -s https://suites.mercator.cn/api/v1/suites | python3 -m json.tool
```
## 执行套件
选择一个套件 ID,在本地执行:
```bash
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 发布,详见 [套件发布指南](../开发者指南/套件发布指南.md)。