Commit 09291f32 authored by p x's avatar p x
Browse files

集成一部分51

parent dcb7c2a6
{
"sources": {
"3DTiles": {
"url": "http://support.minedata.cn:81/testdata/Qingdao3DTile/tileset.json",
"type": "3d-tiles",
"maximumScreenSpaceError":12
},
"MERGE_2":{"tiles":["cloudservice://mvt-layer/merge/{z}/{r}/{c}/{z}_{x}_{y}.pbf"],
"type":"vector"
},
"satellite":{"tiles":["http://smap.minedata.com.cn/service/map/satellite?z={z}&x={x}&y={y}"],
"tileSize":256,
"type":"raster"
}
},
"layers": [{
"layout": {
"visibility": "visible"
},
"maxzoom": 20.0,
"paint": {
"background-color": "#f5f5f5"
},
"source": "",
"source-layer": "",
"id": "9d86a24a66294b15be50e254e3d4f8ad",
"type": "background",
"minzoom": 0.0
},
{
"layout": {
"visibility": "visible"
},
"maxzoom": 3.0,
"source": "",
"source-layer": "",
"id": "9d86a24a66294b15be50e254e3d4f8adsphere",
"type": "sphere",
"minzoom": 0.0
},
{"layout":{"visibility":"none"},
"maxzoom":17.5,
"paint":{},
"source":"satellite",
"source-layer":"satellite",
"id":"b541e3a11b2449959669855aa5e84acb",
"type":"raster",
"minzoom":3
},
{
"layout": {
"visibility": "visible"
},
"maxzoom": 20.0,
"source": "3DTiles",
"source-layer": "",
"id": "9d86a24a66294b15be50e254e3d4f8ae",
"type": "3d-tiles",
"minzoom": 0.0
},{
"layout": {
"visibility": "none",
"border-visibility": "visible",
"line-cap": "butt",
"line-join": "round"
},
"maxzoom": 20,
"paint": {
"line-translate-anchor": "viewport",
"line-width": 5.2,
"line-border-width": 1,
"line-border-color": "#dcc21a",
"line-color": "#fee566"
},
"source": "MERGE_2",
"source-layer": "natProHighway",
"id": "1022902036979085408",
"type": "line",
"minzoom": 7
},
{
"layout": {
"visibility": "none"
},
"maxzoom": 20,
"paint": {
"extrusion-height": {
"property": "levels",
"type": "identity"
},
"extrusion-color": "#fdf7f9",
"extrusion-base": 0,
"extrusion-opacity": 0.3,
"extrusion-translate-anchor": "viewport",
"extrusion-translate": [0, 0]
},
"source": "MERGE_2",
"source-layer": "building",
"id": "1022902036979085390",
"type": "extrusion",
"minzoom": 13
}
],
"version": 8
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
{"line":
[
[
125.14257946500526,
43.838850972613784
],
[
125.14257872221566,
43.838851880044864
],
[
125.14238925146908,
43.8390789628863
],
[
125.1422942052776,
43.83919422709003
],
[
125.14204438598463,
43.8394953926954
],
[
125.14204012353633,
43.8395037587309
],
[
125.1420358501836,
43.839515255594826
],
[
125.14203430199653,
43.8395271054114
],
[
125.14203552406234,
43.83953897162878
],
[
125.1420394806985,
43.83955051661564
],
[
125.14204605956249,
43.839561412377044
],
[
125.14205507445587,
43.83957134949696
],
[
125.14206626806443,
43.83958004428222
],
[
125.14208898306244,
43.839591740154475
],
[
125.14235228857866,
43.83970591790077
],
[
125.14263815163811,
43.83983049659493
],
[
125.14293580432056,
43.83996105058049
],
[
125.1429505493302,
43.839967448386304
],
[
125.14296601937112,
43.83997304064295
],
[
125.14298251087494,
43.83997680995209
],
[
125.14299961679251,
43.83997866100733
],
[
125.14301691822614,
43.839978549133136
],
[
125.14303398557422,
43.83997647756237
],
[
125.14305040214371,
43.839972497861645
],
[
125.14306576029794,
43.83996670640929
],
[
125.14307968389234,
43.83995924664393
],
[
125.14309182801652,
43.83995030187058
],
[
125.1431018950957,
43.83994009403707
],
[
125.14310676713771,
43.83993439900782
],
[
125.14348256549769,
43.83948208350916
],
[
125.14355540500749,
43.83939390759524
],
[
125.14366695852446,
43.839259322911346
],
[
125.14369885466584,
43.839220379823104
],
[
125.14374790800576,
43.83916099866528
],
[
125.14377619073592,
43.83912679395584
],
[
125.14380992016922,
43.83908584770111
],
[
125.14396334829817,
43.8388990917878
],
[
125.14398373598257,
43.83887404884853
],
[
125.14398537412318,
43.838871933614946
],
[
125.14398684606766,
43.83886975513546
],
[
125.14398814835043,
43.83886752067868
],
[
125.1439892749917,
43.83886523666397
],
[
125.14399022376688,
43.838862910334974
],
[
125.14399099124259,
43.838860549859525
],
[
125.14399157519419,
43.83885816248126
],
[
125.14399197339719,
43.83885575544384
],
[
125.14399218486795,
43.83885333596591
],
[
125.14399220862293,
43.838850911266164
],
[
125.14399204498397,
43.83884849033671
],
[
125.14399169544949,
43.83884608034627
],
[
125.14399115903593,
43.83884368851351
],
[
125.14399043848277,
43.83884132198219
],
[
125.14398953535283,
43.83883898971945
],
[
125.14398845356223,
43.83883669704562
],
[
125.14398719712364,
43.838834451978734
],
[
125.14398576756767,
43.83883226258668
],
[
125.14398417129249,
43.83883013413989
],
[
125.14398241231078,
43.83882807465632
],
[
125.14398049702066,
43.83882608940641
],
[
125.14397843188468,
43.83882418545896
],
[
125.14397622085113,
43.83882236903355
],
[
125.1439738740412,
43.83882064532569
],
[
125.143971396612,
43.838819019630726
],
[
125.14396879744382,
43.838817497169146
],
[
125.14396608417576,
43.83881608318641
],
[
125.14396326438265,
43.838814781129486
],
[
125.14394522002516,
43.83880702652331
],
[
125.14390819644473,
43.838790450860984
],
[
125.1439094857008,
43.838788893363365
],
[
125.14390021756205,
43.838784667801406
],
[
125.14389491479716,
43.83878311243691
],
[
125.14388932745982,
43.83878221159517
],
[
125.14388361170772,
43.83878199093022
],
[
125.14387792047647,
43.83878245546416
],
[
125.14387241229552,
43.838783593009396
],
[
125.14386723509038,
43.838785372694616
],
[
125.14386253362888,
43.83878774481509
],
[
125.14385843230747,
43.83879064567819
],
[
125.14385504749745,
43.838793995555214
],
[
125.14384228398526,
43.83880911708494
],
[
125.14383557824696,
43.83881722023156
],
[
125.1438279071096,
43.838824374547215
],
[
125.14381769259843,
43.83883087183167
],
[
125.14380618753825,
43.83883611457202
],
[
125.14379368275466,
43.838839970037114
],
[
125.14378049763141,
43.83884234001618
],
[
125.1437669629292,
43.83884316656373
],
[
125.14375342307474,
43.83884242655438
],
[
125.14374022152589,
43.83884013917613
],
[
125.14372769071466,
43.83883636253315
],
[
125.14371614829183,
43.838831192821466
],
[
125.14342925781992,
43.83870671502457
]
]
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
{"centrePoint":"125.14352794,43.83879859","vehiclePlate":"吉AC242","extendPoint":"125.14349284,43.83873430","callOrBackPoint":"125.1424934543.83896992","parkingSpace":"1D-006"}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
package com.sd.cavphmi.bean
/****交通信号灯****/
class TrafficLightBean {
}
\ No newline at end of file
data class TrafficLightBean(
val signalgroup: List<Signalgroup>,
val timestamp: String
)
data class Signalgroup(
val idtype: Any,
val junctionid: String,
val phase: List<Phase>
)
data class Phase(
val color: String,
val countDown: Int,
val lightmodelid: List<Lightmodelid>,
val phaseid: String,
val turnlanesid: List<Turnlanesid>
)
data class Lightmodelid(
val id: String,
val phase: Int
)
data class Turnlanesid(
val id: Int,
val lane_type: String,
val text: Any
)
\ No newline at end of file
package com.sd.cavphmi.bean
/****交通感知****/
class TrafficPerBean {
}
\ No newline at end of file
/****交通感知事件****/
data class TrafficPerBean(
val accessTime: Any,
val description: Any,
val endTime: Any,
val id: String,
val imagesUrl: Any,
val level: Int,
val location: List<TLocation>,
val mqttTime: Any,
val name: String,
val ptcIds: List<String>,
val reportTime: Any,
val startTime: Any,
val type: String,
val videosUrl: Any
)
data class TLocation(
val elevation: Any,
val latitude: Double,
val longitude: Double
)
\ No newline at end of file
......@@ -5,28 +5,32 @@ object MyContants {
var HOST = "https://faw.cuscavp.cn:8443"
var WSHOST = "wss://itg-dev.cu-sc.com:19443/WSPLUSV5/socket?"
private val token="111"
private val reType="51world"
var WSHOST = "wss://itg-dev.cu-sc.com:19443/WSPLUSV5/socket?token=${token}&reType=${reType}&"
// var PORT = if (IS_DEBUG) "123" else "34534"
/***感知目标物***/
var WS_FEEL_TARGET = "${WSHOST}token=111&msgType=1&reType=51world"
var WS_FEEL_TARGET = "${WSHOST}msgType=1"
/***网联车辆位姿***/
var WS_VEH_LOC = "${WSHOST}token=111&msgType=2&reType=51world&vehicleId="
/***网联车辆位姿 &vehicleId=***/
var WS_VEH_LOC = "${WSHOST}msgType=2"
/***V2X预警 vehicleId 传了就是获取某一辆车的预警 ***/
var WS_V2X = "${WSHOST}token=111&msgType=4&reType=51world&vehicleId="
/***V2X预警 vehicleId 传了就是获取某一辆车的预警 &vehicleId=***/
var WS_V2X = "${WSHOST}msgType=4"
/***网联车辆状态***/
var WS_VEH_STATU = "${WSHOST}token=111&msgType=6&reType=51world&vehicleId="
/***网联车辆状态 &vehicleId=''***/
var WS_VEH_STATU = "${WSHOST}msgType=6"
/***感知延时***/
var WS_PRE_DELAY = "${WSHOST}token=111&msgType=7&intersectionCode="
/***感知延时 &intersectionCode=''***/
var WS_PRE_DELAY = "${WSHOST}msgType=7"
/***交通(感知)事件***/
var WS_TRAFFIC_PER = "${WSHOST}token=111&msgType=5&intersectionCode=="
/***交通(感知)事件 &intersectionCode=''***/
var WS_TRAFFIC_PER = "${WSHOST}msgType=5"
/***交通信号灯***/
var WS_TRAFFIC_LIGHT = "${WSHOST}token=111&msgType=3&intersectionCode=="
/***交通信号灯 &intersectionCode=''***/
var WS_TRAFFIC_LIGHT = "${WSHOST}msgType=3&"
/***已经**/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment