895 lines
37 KiB
Markdown
895 lines
37 KiB
Markdown
## 航空器滑行路由接口
|
||
|
||
### 1.1.登录认证
|
||
1、登录接口:http://IP:端口/login
|
||
2、请求方式:post
|
||
3、参数:username、password
|
||
4、示例:127.0.0.1:8080/login?username=XXXX&password=XXXX
|
||
5、返回值 data 为返回的鉴权token,后续接口需要再header中携带,data所有的数据是一个token,不要截断
|
||
示例:{
|
||
"status": 200,
|
||
"msg": "登入成功",
|
||
"data": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzI3ODMwOTAsInVzZXJuYW1lIjoiYWRtaW4ifQ.y9feEL_9NT8UzED9NNkb0Ln6C-PBoufiSHWobWe5vWY"
|
||
}
|
||
|
||
### 1.2.Token续时
|
||
1、登录接口:http://IP:端口/userInfoController/refreshToken
|
||
2、请求方式:get
|
||
3、参数:header 携带登录返回的token
|
||
4、示例:127.0.0.1:8080/userInfoController/refreshToken
|
||
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzI3ODMwOTAsInVzZXJuYW1lIjoiYWRtaW4ifQ.y9feEL_9NT8UzED9NNkb0Ln6C-PBoufiSHWobWe5vWY
|
||
|
||
5、返回值 data 为返回的鉴权token,后续接口需要再header中携带,data所有的数据是一个token,不要截断
|
||
示例:{
|
||
"status": 200,
|
||
"msg": "OK",
|
||
"data": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzQ0OTA0NTcsInVzZXJuYW1lIjoiZGlhbnhpbiJ9.1Ss3Gd6ijjmUmVW2DFwQF7lsdUwlB0m1TP73zf-B5mk"
|
||
}
|
||
|
||
### 1.3.航空器进港滑行路线
|
||
1、接口地址: http://IP:端口/runwayPathPlanningController/findArrTaxiwayByRunwayAndContactCrossAndSeat
|
||
2、请求方式: get
|
||
3、返回格式:以对象形式数据返回
|
||
4、请求接口示例
|
||
参数:
|
||
inRunway :进港跑道编号 35
|
||
outRunway:出港跑道编号 34
|
||
contactCross:联络道口 F1
|
||
seat:目的机位 138
|
||
|
||
5、数据结构
|
||
type:进出港类型
|
||
status:接口状态
|
||
codes:滑行线编码
|
||
geoPath:返回路线
|
||
{
|
||
type:JeoJson集合
|
||
geometry:返回的路线JeoJson集合,前端直接绘制即可,拿出features直接绘制JeoJson即可
|
||
}
|
||
|
||
示例:
|
||
{
|
||
"type": "IN",
|
||
"status": "COMPLETE",
|
||
"codes": "F1,L4,138",
|
||
"geometry": null,
|
||
"geoPath": {
|
||
"type": "FeatureCollection",
|
||
"features": [
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050742275893088E7,
|
||
4026164.644604296
|
||
],
|
||
[
|
||
4.050742342874898E7,
|
||
4026162.545793306
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "L4"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050743615407222E7,
|
||
4026122.672208275
|
||
],
|
||
[
|
||
4.050743684026714E7,
|
||
4026120.146600441
|
||
],
|
||
[
|
||
4.050743730372977E7,
|
||
4026117.570797326
|
||
],
|
||
[
|
||
4.050743754093282E7,
|
||
4026114.964402468
|
||
],
|
||
[
|
||
4.050743757419489E7,
|
||
4026113.602043673
|
||
],
|
||
[
|
||
4.050743755007106E7,
|
||
4026112.347252104
|
||
],
|
||
[
|
||
4.050743733107493E7,
|
||
4026109.739264329
|
||
],
|
||
[
|
||
4.050743688561112E7,
|
||
4026107.160287504
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "L4"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050717462298063E7,
|
||
4026091.904402129
|
||
],
|
||
[
|
||
4.050716820216861E7,
|
||
4026089.855066455
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050722536188381E7,
|
||
4026108.097315812
|
||
],
|
||
[
|
||
4.050720821283463E7,
|
||
4026102.624334418
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050727144214725E7,
|
||
4026112.527790001
|
||
],
|
||
[
|
||
4.050726278505515E7,
|
||
4026114.415332655
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050731882638656E7,
|
||
4026102.196402456
|
||
],
|
||
[
|
||
4.050727312768086E7,
|
||
4026112.160285922
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050738651815705E7,
|
||
4026087.437277401
|
||
],
|
||
[
|
||
4.050734647450486E7,
|
||
4026096.168165339
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050714461981621E7,
|
||
4026082.328947974
|
||
],
|
||
[
|
||
4.05071119278174E7,
|
||
4026071.895744022
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050734647450486E7,
|
||
4026096.168165339
|
||
],
|
||
[
|
||
4.050733913391775E7,
|
||
4026097.768664928
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050689454491971E7,
|
||
4026002.519737061
|
||
],
|
||
[
|
||
4.050693265139649E7,
|
||
4026014.681113256
|
||
],
|
||
[
|
||
4.050697075787329E7,
|
||
4026026.842489458
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050741162298967E7,
|
||
4026083.825606086
|
||
],
|
||
[
|
||
4.050741416963529E7,
|
||
4026084.285112275
|
||
],
|
||
[
|
||
4.050741669524226E7,
|
||
4026084.971307588
|
||
],
|
||
[
|
||
4.050741915143272E7,
|
||
4026085.875012957
|
||
],
|
||
[
|
||
4.050742151951354E7,
|
||
4026086.989350639
|
||
],
|
||
[
|
||
4.050742378146222E7,
|
||
4026088.305839852
|
||
],
|
||
[
|
||
4.050742592006397E7,
|
||
4026089.814461317
|
||
],
|
||
[
|
||
4.050742791904272E7,
|
||
4026091.503733515
|
||
],
|
||
[
|
||
4.050742976318505E7,
|
||
4026093.360800063
|
||
],
|
||
[
|
||
4.050743143845592E7,
|
||
4026095.371527565
|
||
],
|
||
[
|
||
4.050743293210549E7,
|
||
4026097.52061317
|
||
],
|
||
[
|
||
4.050743423276621E7,
|
||
4026099.791701039
|
||
],
|
||
[
|
||
4.050743533053925E7,
|
||
4026102.167506821
|
||
],
|
||
[
|
||
4.05074362170699E7,
|
||
4026104.629949201
|
||
],
|
||
[
|
||
4.050743683431807E7,
|
||
4026106.966150228
|
||
],
|
||
[
|
||
4.050743688561112E7,
|
||
4026107.160287504
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": {}
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050697552118288E7,
|
||
4026028.362661481
|
||
],
|
||
[
|
||
4.050697075787329E7,
|
||
4026026.842489458
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050704221346159E7,
|
||
4026049.646966941
|
||
],
|
||
[
|
||
4.050703137036284E7,
|
||
4026046.18647901
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050708746004742E7,
|
||
4026064.087051627
|
||
],
|
||
[
|
||
4.050704840096232E7,
|
||
4026051.621473066
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.05071119278174E7,
|
||
4026071.895744022
|
||
],
|
||
[
|
||
4.050710556055213E7,
|
||
4026069.863682419
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050741939071107E7,
|
||
4026175.198599438
|
||
],
|
||
[
|
||
4.05074216811156E7,
|
||
4026168.021835575
|
||
],
|
||
[
|
||
4.050742275893088E7,
|
||
4026164.644604296
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "L4"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050753774654577E7,
|
||
4026246.448261945
|
||
],
|
||
[
|
||
4.050749515081406E7,
|
||
4026236.848849251
|
||
],
|
||
[
|
||
4.050744870329395E7,
|
||
4026226.381394062
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "138"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050753774654577E7,
|
||
4026246.448261945
|
||
],
|
||
[
|
||
4.0507613391983E7,
|
||
4026263.495786141
|
||
],
|
||
[
|
||
4.05076192451935E7,
|
||
4026264.814870958
|
||
],
|
||
[
|
||
4.050762119626365E7,
|
||
4026265.254565894
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "138"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050742342874898E7,
|
||
4026162.545793306
|
||
],
|
||
[
|
||
4.050743615407222E7,
|
||
4026122.672208275
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "L4"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050716820216861E7,
|
||
4026089.855066455
|
||
],
|
||
[
|
||
4.050714461981621E7,
|
||
4026082.328947974
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050720821283463E7,
|
||
4026102.624334418
|
||
],
|
||
[
|
||
4.050717462298063E7,
|
||
4026091.904402129
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050726278505515E7,
|
||
4026114.415332655
|
||
],
|
||
[
|
||
4.050725934642086E7,
|
||
4026115.009285077
|
||
],
|
||
[
|
||
4.050725586910526E7,
|
||
4026115.301280484
|
||
],
|
||
[
|
||
4.050725237957282E7,
|
||
4026115.289096617
|
||
],
|
||
[
|
||
4.050724890438099E7,
|
||
4026114.9728262
|
||
],
|
||
[
|
||
4.050724546997807E7,
|
||
4026114.354876244
|
||
],
|
||
[
|
||
4.050724210250195E7,
|
||
4026113.43994972
|
||
],
|
||
[
|
||
4.050722536188381E7,
|
||
4026108.097315812
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050727312768086E7,
|
||
4026112.160285922
|
||
],
|
||
[
|
||
4.050727144214725E7,
|
||
4026112.527790001
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050733913391775E7,
|
||
4026097.768664928
|
||
],
|
||
[
|
||
4.050731882638656E7,
|
||
4026102.196402456
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.05074011833275E7,
|
||
4026084.239767811
|
||
],
|
||
[
|
||
4.050738651815705E7,
|
||
4026087.437277401
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.05074011833275E7,
|
||
4026084.239767811
|
||
],
|
||
[
|
||
4.050740376230329E7,
|
||
4026083.794303922
|
||
],
|
||
[
|
||
4.050740637029002E7,
|
||
4026083.5753078
|
||
],
|
||
[
|
||
4.050740898743934E7,
|
||
4026083.584446135
|
||
],
|
||
[
|
||
4.050741162298967E7,
|
||
4026083.825606086
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050744870329395E7,
|
||
4026226.381394062
|
||
],
|
||
[
|
||
4.050744533581797E7,
|
||
4026225.466467002
|
||
],
|
||
[
|
||
4.050744206089737E7,
|
||
4026224.261526533
|
||
],
|
||
[
|
||
4.050743890345625E7,
|
||
4026222.775742978
|
||
],
|
||
[
|
||
4.050743588752466E7,
|
||
4026221.020424048
|
||
],
|
||
[
|
||
4.050743303605565E7,
|
||
4026219.00892878
|
||
],
|
||
[
|
||
4.050743037075064E7,
|
||
4026216.756565868
|
||
],
|
||
[
|
||
4.050742791189419E7,
|
||
4026214.280477153
|
||
],
|
||
[
|
||
4.050742567819968E7,
|
||
4026211.599507165
|
||
],
|
||
[
|
||
4.050742368666689E7,
|
||
4026208.734059705
|
||
],
|
||
[
|
||
4.050742195245258E7,
|
||
4026205.705942559
|
||
],
|
||
[
|
||
4.050742048875517E7,
|
||
4026202.538201526
|
||
],
|
||
[
|
||
4.050741930671428E7,
|
||
4026199.254945029
|
||
],
|
||
[
|
||
4.050741841532595E7,
|
||
4026195.88116063
|
||
],
|
||
[
|
||
4.050741782137419E7,
|
||
4026192.442524868
|
||
],
|
||
[
|
||
4.050741752937933E7,
|
||
4026188.965207836
|
||
],
|
||
[
|
||
4.050741754156362E7,
|
||
4026185.475674017
|
||
],
|
||
[
|
||
4.050741785783435E7,
|
||
4026182.000480871
|
||
],
|
||
[
|
||
4.050741847578449E7,
|
||
4026178.566076715
|
||
],
|
||
[
|
||
4.050741939071107E7,
|
||
4026175.198599438
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": {}
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050684675534101E7,
|
||
4025987.268076611
|
||
],
|
||
[
|
||
4.050685643844293E7,
|
||
4025990.358360866
|
||
],
|
||
[
|
||
4.050689454491971E7,
|
||
4026002.519737061
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050703137036284E7,
|
||
4026046.18647901
|
||
],
|
||
[
|
||
4.05070295640735E7,
|
||
4026045.610016264
|
||
],
|
||
[
|
||
4.050701981996215E7,
|
||
4026042.500261312
|
||
],
|
||
[
|
||
4.050697623399237E7,
|
||
4026028.590148907
|
||
],
|
||
[
|
||
4.050697552118288E7,
|
||
4026028.362661481
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050704840096232E7,
|
||
4026051.621473066
|
||
],
|
||
[
|
||
4.050704221346159E7,
|
||
4026049.646966941
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
},
|
||
{
|
||
"type": "Feature",
|
||
"geometry": {
|
||
"type": "LineString",
|
||
"coordinates": [
|
||
[
|
||
4.050710556055213E7,
|
||
4026069.863682419
|
||
],
|
||
[
|
||
4.050708746004742E7,
|
||
4026064.087051627
|
||
]
|
||
]
|
||
},
|
||
"properties": {
|
||
"code": "F1"
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
|
||
### 1.4.航空器出港滑行路线
|
||
1、接口地址: http://IP:端口/runwayPathPlanningController
|
||
/findDepTaxiwayByRunwayAndContactCrossAndSeat
|
||
2、请求方式: get
|
||
3、返回格式:以对象形式数据返回
|
||
4、请求接口示例
|
||
|
||
inRunway :进港跑道编号
|
||
outRunway:出港跑道编号
|
||
startSeat:起始机位
|
||
5、数据结构
|
||
type:进出港类型
|
||
status:接口状态
|
||
codes:滑行线编码
|
||
geoPath:返回路线
|
||
{
|
||
type:JeoJson集合
|
||
geometry:返回的路线JeoJson集合,前端直接绘制即可
|
||
}
|
||
数据返回示例与1.3一致 |