获取高程文件列表
POST
/openapi/v0.9/model/api/v1/workspaces/{proj_uuid}/elevation-files-list
es-file-storage
请求参数
Path 参数
proj_uuid
string
必需
Header 参数
x-user-token
string
必需
默认值:
{{x-user-token}}
X-Request-Id
string
可选
默认值:
{% mock 'uuid' %}
Body 参数application/json
distance
number
可选
example: 100.0
geographic_points
array [object {2}]
地理点列表
lat
number
必需
example: 39.9042
lng
number
必需
example: 116.4074
geographic_type
integer
已废弃
example: 1
workspaceID
string
必需
example: "ws-123"
示例
{
"geographic_points": [
{
"lat": 77,
"lng": 67
},
{
"lat": 85,
"lng": 83
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/openapi/v0.9/model/api/v1/workspaces//elevation-files-list' \
--header 'x-user-token;' \
--header 'X-Request-Id: {% mock '\''uuid'\'' %}' \
--header 'Content-Type: application/json' \
--data-raw '{
"geographic_points": [
{
"lat": 77,
"lng": 67
},
{
"lat": 85,
"lng": 83
}
]
}'
返回响应
🟢200成功
application/json
Body
code
integer
响应码
message
string
响应消息
data
object
可选
model_list
array[object (model_vo.TifFile) {6}]
模型列表
示例
{
"code": 0,
"message": "success",
"data": {
"model_list": [
{
"file_id": 123,
"file_uuid": "864c38c3-8a50-470b-8db6-3776d09ee7aa",
"file_name": "模型-2024-08-23+21_16_00+(UTC+08)",
"resample_state": 3,
"resample_code": 0,
"resampled_tif_key": "resampled-model/41456514-599d-4ce3-a889-4ba8e97fdfd8/864c38c3-8a50-470b-8db6-3776d09ee7aa/high_confidence_b3dm_1_tileset.tif"
}
]
}
}
修改于 2025-06-27 07:03:44