docs: rewrite suite-user/TOOLS.md to match v3.0.2 (#8)
This commit is contained in:
+6
-6
@@ -29,7 +29,7 @@ sudo dpkg -i gis-actions_3.0.2_all.deb
|
||||
|
||||
所有套件运行在 `gis-base` 镜像中(含 Python 3, GDAL, Shapely, GeoPandas, numpy, openpyxl, xlrd)。
|
||||
|
||||
首次执行套件时,系统会自动下载镜像。也可提前准备:
|
||||
首次安装 gis-actions 时会自动下载镜像。也可提前手动准备:
|
||||
|
||||
```bash
|
||||
# 从 Gitea 直接下载镜像包(无需 registry 账号)
|
||||
@@ -40,14 +40,14 @@ docker load -i gis-base.tar.gz
|
||||
## 执行套件
|
||||
|
||||
```bash
|
||||
# 列出市场所有套件
|
||||
agc suites list
|
||||
# 查询市场套件(通过 curl)
|
||||
curl -s https://suites.mercator.cn/api/v1/suites | python3 -m json.tool
|
||||
|
||||
# 执行套件,输入文件用本地绝对路径
|
||||
agc run /tmp/output --suite-id <suite-id> --input key=val
|
||||
# 执行套件,输入参数用 key=value 格式
|
||||
agc run /tmp/output --suite-id <suite-id> --input key=value
|
||||
```
|
||||
|
||||
`<suite-id>` 从 `agc suites list` 获取。
|
||||
`<suite-id>` 从市场 API 或前端页面获取。
|
||||
|
||||
## 数据流向
|
||||
|
||||
|
||||
Reference in New Issue
Block a user