- 登录
- 字典
- 区划
- 文件上传
- 大文件上传
- 农业物候
- 耕作制度
- 数据源管理
- 算法模型管理
- 在线解译(旧)
- 在线解译(新)
- 预览(新)
- 成果管理
- 在线检索
- 格网
- 标签管理
- 样本管理导入
- 样本管理动态切片
- 样本管理
- 样本管理(工作空间临时表)
- 样本图层(工作空间图层)
- 栅格渲染方案
- 工作空间
- 定时任务
- 哨兵L3A合成
- 光谱建库任务
- 解译
- 解译(成果合并)
- 影像镶嵌
- 镶嵌任务
- 遥感指数计算
- 样本集
- 样本集新接口
- 模型库
- 种植属性监测
- 撂荒地监测
- 非粮化
- 非农化
- 模型训练
- 模型发布
- 任务管理
- 样本集 Copy
- 监控模块
- 图斑规则化
- 耕地保护一张图
- 耕地预警
详情
开发中
GET
http://gykj123.cn:9000/middleground-rsanalysis-model/api/v1/model-predict-task/getById
最后修改时间:2023-12-13 08:27:11
责任人:梅柳春
请求参数
Query 参数
id
string
可选
示例值:
20231212134934062
Header 参数
token
string
可选
默认值:
{{access_token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://gykj123.cn:9000/middleground-rsanalysis-model/api/v1/model-predict-task/getById?id=20231212134934062' \
--header 'token: {{access_token}}'
返回响应
🟢200成功
application/json
Body
timestamp
integer
必需
datetime
string
必需
code
integer
必需
message
string
必需
success
boolean
必需
data
object
必需
taskId
string
必需
taskName
string
必需
typeCode
string
必需
typeName
string
必需
modelId
string
必需
modelName
string
必需
modelFile
string
必需
modelUuid
string
必需
labelCode
string
必需
labelName
string
必需
image1Id
string
必需
image1Name
string
必需
image1Path
string
必需
image2Id
string
必需
image2Name
string
必需
image2Path
string
必需
qhdm
string
必需
qhmc
string
必需
resultType
string
必需
userId
string
必需
userName
string
必需
taskStatus
integer
必需
progress
integer
必需
startTime
string
必需
endTime
string
必需
errorMsg
null
必需
resultFile
string
必需
resultUrl
string
必需
resultFileSize
null
必需
thematicmap
null
必需
legend
null
必需
description
string
必需
createTime
string
必需
modifyTime
string
必需
collect
integer
必需
tjxx
string
必需
runTimeString
string
必需
tjxxInfo
array [object {7}]
必需
示例
{
"timestamp": 1702457845615,
"datetime": "2023-12-13T16:57:25.615",
"code": 200,
"message": "成功",
"success": true,
"data": {
"taskId": "20231212181844205",
"taskName": "12月12日目标识别温室大棚",
"typeCode": "2",
"typeName": "目标识别",
"modelId": "20231212093825",
"modelName": "模型二",
"modelFile": "/data/rsanalysis/modeltrainout/20231212090235_20231212090245519/epoch_10.pth",
"modelUuid": "20231212090235_20231212090245519",
"labelCode": "13",
"labelName": "温室大棚",
"image1Id": "71c60a35c3544600803693616574bcf9",
"image1Name": "131023_永清县20230507.tif",
"image1Path": "/data/remoteimage/减灾中心影像处理/灾害/秋粮/棉花干旱/131023_永清县20230507.tif",
"image2Id": "b51dd3b1bf694ffd94d26259b1d7594c",
"image2Name": "131023_永清县20230621.tif",
"image2Path": "/data/remoteimage/减灾中心影像处理/灾害/秋粮/棉花干旱/131023_永清县20230621.tif",
"qhdm": "131023",
"qhmc": "永清县",
"resultType": ".shp",
"userId": "192",
"userName": "dev_admin",
"taskStatus": 9,
"progress": 100,
"startTime": "2023-12-12T18:19:21.368",
"endTime": "2023-12-12T18:19:23.388",
"errorMsg": null,
"resultFile": "/data/rsanalysis/modelpredictout/20231212181844205_20231212181854239/all_shp/131023_永清县20230507/131023_永清县20230507_0_shp/131023_永清县20230507_0.shp",
"resultUrl": "http://gykj123.cn:9000/middleground-rsanalysis-dynamictile/api/v1/dynamictile/get_model_predict_result_tile?z={z}&x={x}&y={y}&taskId=20231212181844205",
"resultFileSize": null,
"thematicmap": null,
"legend": null,
"description": "12月12日目标识别温室大棚",
"createTime": "2023-12-12T18:18:44.205",
"modifyTime": "2023-12-12T18:18:44.205",
"collect": 1,
"tjxx": "[{\"labeldm\":\"07\",\"labelmc\":\"冬小麦\",\"value\":7,\"count\":33,\"area\":3.1,\"percent\":0.67},{\"labeldm\":\"16\",\"labelmc\":\"玉米\",\"value\":16,\"count\":64,\"area\":6.2,\"percent\":0.67}]",
"runTimeString": "2秒",
"tjxxInfo": [
{
"area": 3.1,
"labelmc": "冬小麦",
"color": "#008040",
"labeldm": "07",
"count": 33,
"value": 7,
"percent": 0.3402061855670103
},
{
"area": 6.2,
"labelmc": "玉米",
"color": "#FABF0C",
"labeldm": "16",
"count": 64,
"value": 16,
"percent": 0.6597938144329897
}
]
}
}