徐州参数化
  1. 航点结果
徐州参数化
  • 任务工单管理
    • 航点结果
      • [提供接口] 工单航点参数
        GET
  • 控制台
    • [提供接口] 接收某任务的鸟瞰图
      POST
  • 电子围栏
    • 施工现场
      • 施工现场列表
      • 施工现场详情
    • 电子围栏
      • 电子围栏列表
      • 电子围栏详情
    • 禁飞区
      • 禁飞区列表
      • 禁飞区详情
  1. 航点结果

[提供接口] 工单航点参数

测试外网环境
http://airia.nat100.top/api/xz_parametric/v1
测试外网环境
http://airia.nat100.top/api/xz_parametric/v1
GET
/waypoints/moreParam/{workNumberPrefix}
任务规划
Authorization:qsIUZW9N/dXK6gGtVtmEF5zLpxSwV1vmkxNnlLVlNoCkvB4+I01HVwZP3NSON1Ph
36环境:YrMF6QTuK4cZPvrAAhGZG3TSg6EAqb1O/5DCHxv9nf5zWW//0qyryBKlbWcBpxE1
waypoint_list 为航点列表,is_shoot为true时为拍照点,有特征编码;is_shoot为false时,为转移点,无特征编码。

请求参数

Path 参数
workNumberPrefix
string 
必需
工单流水号前缀;此参数绑定航迹,但可能对应多个工单。
示例值:
2024071215530LI
Query 参数
work_number
string 
必需
工单流水号;此参数唯一确定工单,而工单绑定飞机。
示例值:
2024071215530LI004
line_id
string 
线路id
可选
start_tower_number
string 
开始杆号
可选
end_tower_number
string 
结束杆号
可选
Header 参数
Authorization
string 
登录Token
可选
示例值:
qsIUZW9N/dXK6gGtVtmEF5zLpxSwV1vmkxNnlLVlNoCkvB4+I01HVwZP3NSON1Ph

示例代码

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://airia.nat100.top/api/xz_parametric/v1/waypoints/moreParam/2024071215530LI?work_number=2024071215530LI004&line_id&start_tower_number&end_tower_number' \
--header 'Authorization: qsIUZW9N/dXK6gGtVtmEF5zLpxSwV1vmkxNnlLVlNoCkvB4+I01HVwZP3NSON1Ph' \
--header 'Authorization;'

返回响应

🟢200成功
application/json
Body
code
integer 
必需
err
boolean 
必需
msg
string 
必需
req_id
string 
必需
data
object 
必需
work_task_id
integer 
工单ID
必需
自增ID
kind_id
integer 
专业
必需
输电、配电、变电、其他
kind_name
string 
专业名
必需
flight_mode_id
integer 
高度飞行模式
必需
见傲翼 heightType 描述
flight_mode_str
string 
高度飞行模式名
必需
work_task_name
string 
工单名
必需
work_number
string 
工单号
必需
工单绑定飞机
work_number_prefix
string 
工单号前缀
必需
与规划航点关联
line_id
string 
线路ID
必需
line_name
string 
线路名
必需
start_tower_number
string 
起始杆塔号
必需
end_tower_number
string 
终止杆塔号
必需
drone_id
integer 
飞机ID
必需
主键ID,为0时表示没有记录
drone_code
string 
飞机编号
必需
与傲翼绑定
drone_model
string 
飞机名
必需
waypoint_list
array [object {35}] 
航点列表
必需
示例
{
  "code": 0,
  "err": false,
  "msg": "OK",
  "req_id": "f779c56ea839/fQ70RdH05G-000041",
  "data": {
    "kind_id": 1,
    "kind_str": "输电",
    "flight_mode_id": 3,
    "flight_mode_str": "通道飞行",
    "work_task_id": 784,
    "work_task_name": "赵沙线36-37通道",
    "work_number": "2024071215530LI004",
    "work_number_prefix": "2024071215530LI",
    "line_id": "d4abe0834e434eb6be22cf983273fc85",
    "line_name": "赵沙4695线",
    "start_tower_number": "038",
    "end_tower_number": "037",
    "drone_id": 15,
    "drone_code": "XDH00001",
    "drone_model": "LH-200",
    "waypoint_list": [
      {
        "id": 63152,
        "line_id": "d4abe0834e434eb6be22cf983273fc85",
        "tower_number": "038",
        "position_code": "11",
        "fly_index": 1,
        "drone_side": 1,
        "drone_side_str": "左侧",
        "drone_head": 0,
        "drone_head_str": "中间",
        "offset_vertical": 12,
        "tower_lon": 117.1339385,
        "tower_lat": 34.13019846,
        "tower_bottom_alt": 55.297,
        "tower_top_alt": 72.797,
        "tower_azimuth": 113.427,
        "cross_arm_length": 7.6,
        "cross_arm_width": 0,
        "target_lon": 117.13397136,
        "target_lat": 34.13026129,
        "target_alt": 72.797,
        "target_height": 0,
        "drone_lon": 117.13399297,
        "drone_lat": 34.13030263,
        "drone_alt": 84.797,
        "drone_target_distance": 13,
        "camera_magnification": 1,
        "drone_azimuth": -156.597,
        "gimbal_azimuth": -156.597,
        "gimbal_pitch": -67.38,
        "picture_code": "",
        "job_photo_id": "",
        "job_photo_title": "",
        "is_shoot": false,
        "content": "无",
        "duration": {
          "timing": 0,
          "overlap_rate": 0
        }
      },
      {
        "id": 63153,
        "line_id": "d4abe0834e434eb6be22cf983273fc85",
        "tower_number": "038",
        "position_code": "11",
        "fly_index": 2,
        "drone_side": 1,
        "drone_side_str": "左侧",
        "drone_head": 0,
        "drone_head_str": "中间",
        "offset_vertical": 10,
        "tower_lon": 117.1339385,
        "tower_lat": 34.13019846,
        "tower_bottom_alt": 55.297,
        "tower_top_alt": 72.797,
        "tower_azimuth": 113.427,
        "cross_arm_length": 7.6,
        "cross_arm_width": 0,
        "target_lon": 117.13401459,
        "target_lat": 34.13034396,
        "target_alt": 82.797,
        "target_height": 0,
        "drone_lon": 117.13401459,
        "drone_lat": 34.13034396,
        "drone_alt": 82.797,
        "drone_target_distance": 0,
        "camera_magnification": 0,
        "drone_azimuth": 0,
        "gimbal_azimuth": 0,
        "gimbal_pitch": -90,
        "picture_code": "ec3079102011AA0108004",
        "job_photo_id": "08",
        "job_photo_title": "通道环境",
        "is_shoot": true,
        "content": "连续拍照",
        "duration": {
          "timing": 0,
          "overlap_rate": 0
        }
      },
      {
        "id": 63155,
        "line_id": "d4abe0834e434eb6be22cf983273fc85",
        "tower_number": "037",
        "position_code": "11",
        "fly_index": 3,
        "drone_side": 1,
        "drone_side_str": "左侧",
        "drone_head": 0,
        "drone_head_str": "中间",
        "offset_vertical": 10,
        "tower_lon": 117.1298728,
        "tower_lat": 34.13081245,
        "tower_bottom_alt": 65.586,
        "tower_top_alt": 82.136,
        "tower_azimuth": 100.326,
        "cross_arm_length": 6.7,
        "cross_arm_width": 0,
        "target_lon": 117.12990548,
        "target_lat": 34.13096053,
        "target_alt": 92.136,
        "target_height": 0,
        "drone_lon": 117.12990548,
        "drone_lat": 34.13096053,
        "drone_alt": 92.136,
        "drone_target_distance": 0,
        "camera_magnification": 0,
        "drone_azimuth": 0,
        "gimbal_azimuth": 0,
        "gimbal_pitch": -90,
        "picture_code": "ec3079102011AA0108004",
        "job_photo_id": "08",
        "job_photo_title": "通道环境",
        "is_shoot": true,
        "content": "连续拍照",
        "duration": {
          "timing": 0,
          "overlap_rate": 0
        }
      },
      {
        "id": 63157,
        "line_id": "d4abe0834e434eb6be22cf983273fc85",
        "tower_number": "037",
        "position_code": "11",
        "fly_index": 4,
        "drone_side": 1,
        "drone_side_str": "左侧",
        "drone_head": 0,
        "drone_head_str": "中间",
        "offset_vertical": 12,
        "tower_lon": 117.1298728,
        "tower_lat": 34.13081245,
        "tower_bottom_alt": 65.586,
        "tower_top_alt": 82.136,
        "tower_azimuth": 100.326,
        "cross_arm_length": 6.7,
        "cross_arm_width": 0,
        "target_lon": 117.12988591,
        "target_lat": 34.13087186,
        "target_alt": 82.136,
        "target_height": 0,
        "drone_lon": 117.12989569,
        "drone_lat": 34.13091619,
        "drone_alt": 94.136,
        "drone_target_distance": 13,
        "camera_magnification": 1,
        "drone_azimuth": -169.651,
        "gimbal_azimuth": -169.651,
        "gimbal_pitch": -67.38,
        "picture_code": "",
        "job_photo_id": "",
        "job_photo_title": "",
        "is_shoot": false,
        "content": "无",
        "duration": {
          "timing": 0,
          "overlap_rate": 0
        }
      },
      {
        "id": 63158,
        "line_id": "d4abe0834e434eb6be22cf983273fc85",
        "tower_number": "037",
        "position_code": "1A",
        "fly_index": 5,
        "drone_side": -1,
        "drone_side_str": "右侧",
        "drone_head": 0,
        "drone_head_str": "中间",
        "offset_vertical": 12,
        "tower_lon": 117.1298728,
        "tower_lat": 34.13081245,
        "tower_bottom_alt": 65.586,
        "tower_top_alt": 82.136,
        "tower_azimuth": 100.326,
        "cross_arm_length": 6.7,
        "cross_arm_width": 0,
        "target_lon": 117.12985969,
        "target_lat": 34.13075304,
        "target_alt": 82.136,
        "target_height": 0,
        "drone_lon": 117.12984991,
        "drone_lat": 34.1307087,
        "drone_alt": 94.136,
        "drone_target_distance": 13,
        "camera_magnification": 1,
        "drone_azimuth": 10.353,
        "gimbal_azimuth": 10.353,
        "gimbal_pitch": -67.38,
        "picture_code": "",
        "job_photo_id": "",
        "job_photo_title": "",
        "is_shoot": false,
        "content": "无",
        "duration": {
          "timing": 0,
          "overlap_rate": 0
        }
      },
      {
        "id": 63156,
        "line_id": "d4abe0834e434eb6be22cf983273fc85",
        "tower_number": "037",
        "position_code": "1A",
        "fly_index": 6,
        "drone_side": -1,
        "drone_side_str": "右侧",
        "drone_head": 0,
        "drone_head_str": "中间",
        "offset_vertical": 10,
        "tower_lon": 117.1298728,
        "tower_lat": 34.13081245,
        "tower_bottom_alt": 65.586,
        "tower_top_alt": 82.136,
        "tower_azimuth": 100.326,
        "cross_arm_length": 6.7,
        "cross_arm_width": 0,
        "target_lon": 117.12984012,
        "target_lat": 34.13066437,
        "target_alt": 92.136,
        "target_height": 0,
        "drone_lon": 117.12984012,
        "drone_lat": 34.13066437,
        "drone_alt": 92.136,
        "drone_target_distance": 0,
        "camera_magnification": 0,
        "drone_azimuth": 0,
        "gimbal_azimuth": 0,
        "gimbal_pitch": -90,
        "picture_code": "ec3079102011aA0108004",
        "job_photo_id": "08",
        "job_photo_title": "通道环境",
        "is_shoot": true,
        "content": "连续拍照",
        "duration": {
          "timing": 0,
          "overlap_rate": 0
        }
      },
      {
        "id": 63154,
        "line_id": "d4abe0834e434eb6be22cf983273fc85",
        "tower_number": "038",
        "position_code": "1A",
        "fly_index": 7,
        "drone_side": -1,
        "drone_side_str": "右侧",
        "drone_head": 0,
        "drone_head_str": "中间",
        "offset_vertical": 10,
        "tower_lon": 117.1339385,
        "tower_lat": 34.13019846,
        "tower_bottom_alt": 55.297,
        "tower_top_alt": 72.797,
        "tower_azimuth": 113.427,
        "cross_arm_length": 7.6,
        "cross_arm_width": 0,
        "target_lon": 117.13386241,
        "target_lat": 34.13005296,
        "target_alt": 82.797,
        "target_height": 0,
        "drone_lon": 117.13386241,
        "drone_lat": 34.13005296,
        "drone_alt": 82.797,
        "drone_target_distance": 0,
        "camera_magnification": 0,
        "drone_azimuth": 0,
        "gimbal_azimuth": 0,
        "gimbal_pitch": -90,
        "picture_code": "ec3079102011aA0108004",
        "job_photo_id": "08",
        "job_photo_title": "通道环境",
        "is_shoot": true,
        "content": "连续拍照",
        "duration": {
          "timing": 0,
          "overlap_rate": 0
        }
      },
      {
        "id": 63159,
        "line_id": "d4abe0834e434eb6be22cf983273fc85",
        "tower_number": "038",
        "position_code": "1A",
        "fly_index": 8,
        "drone_side": -1,
        "drone_side_str": "右侧",
        "drone_head": 0,
        "drone_head_str": "中间",
        "offset_vertical": 12,
        "tower_lon": 117.1339385,
        "tower_lat": 34.13019846,
        "tower_bottom_alt": 55.297,
        "tower_top_alt": 72.797,
        "tower_azimuth": 113.427,
        "cross_arm_length": 7.6,
        "cross_arm_width": 0,
        "target_lon": 117.13390564,
        "target_lat": 34.13013563,
        "target_alt": 72.797,
        "target_height": 0,
        "drone_lon": 117.13388403,
        "drone_lat": 34.13009429,
        "drone_alt": 84.797,
        "drone_target_distance": 13,
        "camera_magnification": 1,
        "drone_azimuth": 23.412,
        "gimbal_azimuth": 23.412,
        "gimbal_pitch": -67.38,
        "picture_code": "",
        "job_photo_id": "",
        "job_photo_title": "",
        "is_shoot": false,
        "content": "无",
        "duration": {
          "timing": 0,
          "overlap_rate": 0
        }
      },
      {
        "id": 63160,
        "line_id": "d4abe0834e434eb6be22cf983273fc85",
        "tower_number": "038",
        "position_code": "11",
        "fly_index": 9,
        "drone_side": 1,
        "drone_side_str": "左侧",
        "drone_head": 0,
        "drone_head_str": "中间",
        "offset_vertical": 12,
        "tower_lon": 117.1339385,
        "tower_lat": 34.13019846,
        "tower_bottom_alt": 55.297,
        "tower_top_alt": 72.797,
        "tower_azimuth": 113.427,
        "cross_arm_length": 7.6,
        "cross_arm_width": 0,
        "target_lon": 117.13397136,
        "target_lat": 34.13026129,
        "target_alt": 72.797,
        "target_height": 0,
        "drone_lon": 117.13399297,
        "drone_lat": 34.13030263,
        "drone_alt": 84.797,
        "drone_target_distance": 13,
        "camera_magnification": 1,
        "drone_azimuth": -156.597,
        "gimbal_azimuth": -156.597,
        "gimbal_pitch": -67.38,
        "picture_code": "",
        "job_photo_id": "",
        "job_photo_title": "",
        "is_shoot": false,
        "content": "无",
        "duration": {
          "timing": 0,
          "overlap_rate": 0
        }
      }
    ]
  }
}
下一页
[提供接口] 接收某任务的鸟瞰图
Built with