将新栅格添加到影像服务指定的影像集中,支持批量添加多个影像。
请求示例
{
"collectionName":"420281大冶市",
"type":"Image",
"path": "D:/420281大冶市/aaa.tif" //数据来源类型对应的绝对路径
}
{
"collectionName":"420281大冶市",
"type":"Catalog",
"path": "D:/420281大冶市" //数据来源类型对应的绝对路径
}
{
"collectionName":"420281大冶市",
"type":"ImageList",
"path": "D:/420281大冶市/aaa.txt" //数据来源类型对应的绝对路径
}
{
"collectionName":"420281大冶市",
"type":"Image",
"path": "D:/420281大冶市/aaa.tif"
}
curl --location --request POST '/rest/services//image/addRasters' \
--header 'Content-Type: application/json' \
--data-raw '{
"collectionName":"420281大冶市",
"type":"Image",
"path": "D:/420281大冶市/aaa.tif"
}'
{
"resultcode": "success"
}