basicTool.json 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459
  1. [
  2. {
  3. "code": "1",
  4. "title": "基本设置",
  5. "children": [
  6. {
  7. "code": "1-1",
  8. "title": "设置背景",
  9. "data": {
  10. "ActionName": "SetBackground",
  11. "Parameters": {
  12. "opacity": 0.7,
  13. "color": "#002F47",
  14. "theme": "light",
  15. "token": ""
  16. }
  17. }
  18. },
  19. {
  20. "code": "1-14",
  21. "title": "定位",
  22. "data": {
  23. "ActionName": "SetLocation",
  24. "Parameters": {
  25. "x": "0",
  26. "y": "0",
  27. "z": "1000",
  28. "heading": "40",
  29. "tilt": "20",
  30. "isfly": true,
  31. "token": ""
  32. }
  33. }
  34. },
  35. {
  36. "code": "1-2",
  37. "title": "添加底图",
  38. "data": {
  39. "ActionName": "AddBaseMapLayer",
  40. "Parameters": {
  41. "id": "BaseMap",
  42. "title":"BaseMap",
  43. "visible": true,
  44. "opacity": 1,
  45. "url": "https://cimweb.zjw.sh.cegn.cn:2008/MapServiceProxy/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3Mzk1MzU1MDcsImtleSI6IjkzNDkzMzIxIiwic2VydmljZU5vIjoiRDkwMDEwMDcxMjAyMzA4MDEiLCJ1c2VybmFtZSI6InB0Z2wifQ.t3S-wreYHssdtkJiOiu-vG29CUKsFBG07s96UtKyv30",
  46. "token": ""
  47. }
  48. }
  49. },
  50. {
  51. "code": "1-3",
  52. "title": "添加图层",
  53. "data": {
  54. "ActionName": "AddSingleLayer",
  55. "Parameters": {
  56. "type":"scene",
  57. "id": "WhiteMold",
  58. "title":"WhiteMold",
  59. "visible": true,
  60. "opacity": 1,
  61. "url": "https://cimweb.zjw.sh.cegn.cn:2008/MapServiceProxy/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3Mzk0MTE0ODQsImtleSI6IjA1MTk1NDE4Iiwic2VydmljZU5vIjoiRDkwMDMwMDA2MjAyMzA4MDEiLCJ1c2VybmFtZSI6InB0Z2wifQ.EN28BolVC79OxdF8BDaNQwWsRhV3gVFkKruFNS6-MQg",
  62. "token": ""
  63. }
  64. }
  65. },
  66. {
  67. "code": "1-16",
  68. "title": "图层重渲染",
  69. "data": {
  70. "ActionName": "ReRendering",
  71. "Parameters": {
  72. "type":"scene",
  73. "id": "WhiteMold",
  74. "token": ""
  75. }
  76. }
  77. },
  78. {
  79. "code": "1-4",
  80. "title": "河流波纹",
  81. "data": {
  82. "ActionName": "WaterEffect",
  83. "Parameters": {
  84. "status":"show",
  85. "url":"https://serve2d31.gis.cn:6443/geoscene/rest/services/04-swhy/040101013100000000000120240101202401/MapServer/0",
  86. "waveDirection": 260,
  87. "color": "#25427c",
  88. "waveStrength": "moderate"
  89. }
  90. }
  91. },
  92. {
  93. "code": "1-38",
  94. "title": "热力图",
  95. "data": {
  96. "ActionName": "HeatMap",
  97. "Parameters": {
  98. "id": "heatMapLayer",
  99. "title": "热力图",
  100. "url": "***",
  101. "visible": true
  102. }
  103. }
  104. },
  105. {
  106. "code": "1-5",
  107. "title": "测量",
  108. "data": {
  109. "ActionName": "Measurement",
  110. "Parameters": {
  111. "status":"show",
  112. "type":"polyline",
  113. "position":"top-right",
  114. "token": ""
  115. }
  116. }
  117. },
  118. {
  119. "code": "1-6",
  120. "title": "日照分析",
  121. "data": {
  122. "ActionName": "SunshineAnalysis",
  123. "Parameters": {
  124. "status":"show",
  125. "position":"top-right",
  126. "token": ""
  127. }
  128. }
  129. },
  130. {
  131. "code": "1-7",
  132. "title": "悬浮事件",
  133. "data": {
  134. "ActionName": "AccessFeaturesWithPointEvents",
  135. "Parameters": {
  136. "status":"show",
  137. "type":"pointer-move",
  138. "mouse_time":500,
  139. "popup_title":"悬浮结果",
  140. "mouse_handle_id":"mouse_handle_id",
  141. "highlight_handle_id":"highlight_handle_id",
  142. "token": ""
  143. }
  144. }
  145. },
  146. {
  147. "code": "1-8",
  148. "title": "比例尺切换加载服务事件",
  149. "data": {
  150. "ActionName": "ShowLayersWithScaleEvents",
  151. "Parameters": {
  152. "status":"show",
  153. "scale_handle_id":"scale_handle_id",
  154. "token": ""
  155. }
  156. }
  157. },
  158. {
  159. "code": "1-9",
  160. "title": "可视域加载",
  161. "data": {
  162. "ActionName": "ViewshedAnalysis",
  163. "Parameters": {
  164. "status": "show",
  165. "token": ""
  166. }
  167. }
  168. },
  169. {
  170. "code": "1-10",
  171. "title": "二维服务三维拉伸",
  172. "data": {
  173. "ActionName": "FeatureLayerThreeDimension",
  174. "Parameters": {
  175. "status": "show",
  176. "token": ""
  177. }
  178. }
  179. },
  180. {
  181. "code": "1-11",
  182. "title": "发光球",
  183. "data": {
  184. "ActionName": "AddLightBall",
  185. "Parameters": {
  186. "status": "show",
  187. "token": ""
  188. }
  189. }
  190. },
  191. {
  192. "code": "1-12",
  193. "title": "三维格网",
  194. "data": {
  195. "ActionName": "ThreeGrid",
  196. "Parameters": {
  197. "status": "show",
  198. "size": 50,
  199. "extent": {"minX":2176,"maxX":6048,"minY":-1024,"maxY":1352},
  200. "height": 1200,
  201. "layerHeight": 50,
  202. "animationEnabled": true,
  203. "token": ""
  204. }
  205. }
  206. },
  207. {
  208. "code": "1-29",
  209. "title": "三维格子",
  210. "data": {
  211. "ActionName": "ShowThreeCube",
  212. "Parameters": {
  213. "status": "show",
  214. "points": [
  215. {
  216. "x": 0,
  217. "y": 0,
  218. "z": 0
  219. },
  220. {
  221. "x": 600,
  222. "y": 600,
  223. "z": 600
  224. }
  225. ],
  226. "size": {
  227. "xLength":300.3056739761723293,
  228. "yLength":300.851112421389189,
  229. "zLength":300.3678964689243376
  230. },
  231. "token": ""
  232. }
  233. }
  234. },
  235. {
  236. "code": "1-31",
  237. "title": "三维格子特效版",
  238. "data": {
  239. "ActionName": "ShowThreeCubeDetail",
  240. "Parameters": {
  241. "id": "1",
  242. "status": "show",
  243. "points": [
  244. {
  245. "x": 0,
  246. "y": 0,
  247. "z": 0,
  248. "color": [1,0,0]
  249. },
  250. {
  251. "x": 600,
  252. "y": 600,
  253. "z": 600,
  254. "color": [0,1,0]
  255. },
  256. {
  257. "x": 600,
  258. "y": 900,
  259. "z": 300,
  260. "color": [0,0,1]
  261. }
  262. ],
  263. "size": {
  264. "xLength":300.3056739761723293,
  265. "yLength":300.851112421389189,
  266. "zLength":300.3678964689243376
  267. },
  268. "token": ""
  269. }
  270. }
  271. },
  272. {
  273. "code": "1-33",
  274. "title": "权重加载",
  275. "data": {
  276. "ActionName": "GetAllPowerPoints",
  277. "Parameters": {
  278. "token": ""
  279. }
  280. }
  281. },
  282. {
  283. "code": "1-25",
  284. "title": "三维格子_建筑接口分批加载",
  285. "data": {
  286. "ActionName": "ShowBuildingThreeCubeByInterface",
  287. "Parameters": {
  288. "status": "show",
  289. "size": {
  290. "xLength":3.3056739761723293,
  291. "yLength":3.851112421389189,
  292. "zLength":3.3678964689243376
  293. },
  294. "token": ""
  295. }
  296. }
  297. },
  298. {
  299. "code": "1-30",
  300. "title": "三维格子_禁飞区接口分批加载",
  301. "data": {
  302. "ActionName": "ShowNoFlyThreeCubeByInterface",
  303. "Parameters": {
  304. "status": "show",
  305. "size": {
  306. "xLength":3.3056739761723293,
  307. "yLength":3.851112421389189,
  308. "zLength":3.3678964689243376
  309. },
  310. "token": ""
  311. }
  312. }
  313. },
  314. {
  315. "code": "1-26",
  316. "title": "三维网",
  317. "data": {
  318. "ActionName": "ShowThreeNet",
  319. "Parameters": {
  320. "status": "show",
  321. "size": {
  322. "xLength":3.3056739761723293,
  323. "yLength":3.851112421389189,
  324. "zLength":3.3678964689243376
  325. },
  326. "origin": {
  327. "x":3953.936083342973,
  328. "y":7134.381535752544
  329. },
  330. "buffer": 1000,
  331. "maxHeight": 120,
  332. "minHeight": 0,
  333. "token": ""
  334. }
  335. }
  336. },
  337. {
  338. "code": "1-19",
  339. "title": "指定位置格子加载渲染",
  340. "data": {
  341. "ActionName": "realPositionGrid",
  342. "Parameters": {
  343. "status": "show",
  344. "size": 50,
  345. "data": null,
  346. "token": ""
  347. }
  348. }
  349. },
  350. {
  351. "code": "1-13",
  352. "title": "限高分析",
  353. "data": {
  354. "ActionName": "LimitHeightAnalysis",
  355. "Parameters": {
  356. "status": "show",
  357. "layerId": "WhiteMold",
  358. "limitH":30,
  359. "maxLimitH":50,
  360. "rings": [
  361. [
  362. 5247.157017153374,
  363. 1270.0023461957703,
  364. 0
  365. ],
  366. [
  367. 4336.760437624776,
  368. 1266.8009572542537,
  369. 0
  370. ],
  371. [
  372. 3491.5636610067518,
  373. 1259.1626394806458,
  374. 0
  375. ],
  376. [
  377. 2936.531521888444,
  378. 1110.645927011667,
  379. 0
  380. ],
  381. [
  382. 2374.838356876977,
  383. 813.8209338083046,
  384. 0
  385. ],
  386. [
  387. 2203.756572715624,
  388. 557.0385520252402,
  389. 0
  390. ],
  391. [
  392. 2236.8693873322263,
  393. 298.6578417857288,
  394. 0
  395. ],
  396. [
  397. 2623.475887507855,
  398. -94.53847230161708,
  399. -4.547473508864641e-13
  400. ],
  401. [
  402. 3050.6804353369535,
  403. -481.69651302570674,
  404. 4.547473508864641e-13
  405. ],
  406. [
  407. 3479.696719634885,
  408. -1045.8470428289725,
  409. 0
  410. ],
  411. [
  412. 4229.590273863496,
  413. -700.3542445387985,
  414. 0
  415. ],
  416. [
  417. 5037.960178306457,
  418. -386.92470877155085,
  419. 0
  420. ],
  421. [
  422. 5931.864847386253,
  423. -46.32862144039693,
  424. 0
  425. ],
  426. [
  427. 5505.553990112907,
  428. 838.9373631601887,
  429. 0
  430. ]
  431. ],
  432. "token": ""
  433. }
  434. }
  435. },
  436. {
  437. "code": "1-15",
  438. "title": "几何拉高",
  439. "data": {
  440. "ActionName": "GeometryMeshPrismEffect",
  441. "Parameters": {
  442. "status": "show",
  443. "startHeight": 0,
  444. "rings": [
  445. [
  446. [
  447. 7132.216065334513,
  448. 11382.255454218257
  449. ],
  450. [
  451. 8129.718749602853,
  452. 10626.926044318767
  453. ],
  454. [
  455. 8373.891740789455,
  456. 9433.14227383127
  457. ],
  458. [
  459. 8399.185815114024,
  460. 8121.69085147119
  461. ],
  462. [
  463. 8655.841003599004,
  464. 6928.334770411076
  465. ],
  466. [
  467. 9028.697443847948,
  468. 6036.989071736839
  469. ],
  470. [
  471. 9205.232935913475,
  472. 4771.460863203845
  473. ],
  474. [
  475. 8280.945789563993,
  476. 3505.2778672216746
  477. ],
  478. [
  479. 7162.320441174459,
  480. 2609.621959222928
  481. ],
  482. [
  483. 5582.251585225118,
  484. 1660.8490380955654
  485. ],
  486. [
  487. 4397.189184797056,
  488. 1546.5132286054331
  489. ],
  490. [
  491. 4317.2728986001885,
  492. 2163.098398533524
  493. ],
  494. [
  495. 3948.2012227228047,
  496. 2789.0527187698817
  497. ],
  498. [
  499. 3468.4667558910273,
  500. 3350.2977898234903
  501. ],
  502. [
  503. 3356.8881513249817,
  504. 4052.1234861050443
  505. ],
  506. [
  507. 2963.7276796226124,
  508. 4462.382079412662
  509. ],
  510. [
  511. 2364.289030103321,
  512. 4802.332605094218
  513. ],
  514. [
  515. 2480.132864640529,
  516. 5664.723944653843
  517. ],
  518. [
  519. 2899.6661546770206,
  520. 6124.503427312193
  521. ],
  522. [
  523. 2695.052161779426,
  524. 6647.810696445151
  525. ],
  526. [
  527. 1723.0054997161483,
  528. 6639.911597545944
  529. ],
  530. [
  531. 1418.7607236426948,
  532. 7458.6848122954325
  533. ],
  534. [
  535. 1348.0740941853883,
  536. 8284.291562692524
  537. ],
  538. [
  539. 1555.9198454623042,
  540. 8504.84767462384
  541. ],
  542. [
  543. 1929.5589359582032,
  544. 8612.81219307864
  545. ],
  546. [
  547. 2294.2341860344595,
  548. 8859.534394427768
  549. ],
  550. [
  551. 2332.1551900911727,
  552. 9465.198045008068
  553. ],
  554. [
  555. 2358.2971354090955,
  556. 10019.660932710696
  557. ],
  558. [
  559. 2163.4097970779667,
  560. 10662.215704257127
  561. ],
  562. [
  563. 2239.966254509224,
  564. 11076.752622329417
  565. ],
  566. [
  567. 2751.1096560949304,
  568. 11731.394771540045
  569. ],
  570. [
  571. 3181.568505193197,
  572. 12466.264492140359
  573. ],
  574. [
  575. 3906.4246560278307,
  576. 12120.938860901526
  577. ],
  578. [
  579. 4699.939126395945,
  580. 11927.996204202973
  581. ],
  582. [
  583. 5886.717669247649,
  584. 11848.035582424087
  585. ],
  586. [
  587. 7132.216065334513,
  588. 11382.255454218257
  589. ]
  590. ]
  591. ],
  592. "items":[
  593. {
  594. "id": 1,
  595. "name": "",
  596. "depth": 100,
  597. "material": [
  598. 201,254,246,
  599. 0.2
  600. ]
  601. },
  602. {
  603. "id": 2,
  604. "name": "",
  605. "depth": 100,
  606. "material": [
  607. 180,240,249,
  608. 0.24
  609. ]
  610. },
  611. {
  612. "id": 3,
  613. "name": "",
  614. "depth": 100,
  615. "material": [
  616. 151,220,252,
  617. 0.28
  618. ]
  619. },
  620. {
  621. "id": 4,
  622. "name": "",
  623. "depth": 100,
  624. "material": [
  625. 118,198,254,
  626. 0.32
  627. ]
  628. },
  629. {
  630. "id": 5,
  631. "name": "",
  632. "depth": 100,
  633. "material": [
  634. 81,174,255,
  635. 0.36
  636. ]
  637. },
  638. {
  639. "id": 6,
  640. "name": "",
  641. "depth": 100,
  642. "material": [
  643. 46,153,255,
  644. 0.40
  645. ]
  646. },
  647. {
  648. "id": 7,
  649. "name": "",
  650. "depth": 400,
  651. "material": [
  652. 4,138,255,
  653. 0.44
  654. ]
  655. }
  656. ]
  657. }
  658. }
  659. },
  660. {
  661. "code": "1-17",
  662. "title": "路径管线",
  663. "data": {
  664. "ActionName": "PathPipe",
  665. "Parameters": {
  666. "id": "1",
  667. "status": "show",
  668. "paths": [
  669. [
  670. [
  671. 1769.8633262562475,
  672. 6572.564675574498,
  673. 20
  674. ],
  675. [
  676. 2756.9351097344656,
  677. 6887.815844159343,
  678. 20
  679. ],
  680. [
  681. 3553.4220013809545,
  682. 7144.302605554526,
  683. 20
  684. ],
  685. [
  686. 4195.333062471143,
  687. 7282.346450536933,
  688. 20
  689. ],
  690. [
  691. 4418.0873970261955,
  692. 7366.562145019624,
  693. 20
  694. ]
  695. ],
  696. [
  697. [
  698. 4418.0873970261955,
  699. 7366.562145019624,
  700. 20
  701. ],
  702. [
  703. 4216.2063372552475,
  704. 7476.772779201592,
  705. 20
  706. ],
  707. [
  708. 4000.1051314666856,
  709. 7862.190076553913,
  710. 20
  711. ],
  712. [
  713. 4550.636695788306,
  714. 8027.788532685085,
  715. 20
  716. ],
  717. [
  718. 5329.235851407364,
  719. 8224.316966379089,
  720. 20
  721. ]
  722. ],
  723. [
  724. [
  725. 4418.0873970261955,
  726. 7366.562145019624,
  727. 20
  728. ],
  729. [
  730. 4771.708118894013,
  731. 7462.639779987219,
  732. 20
  733. ],
  734. [
  735. 5764.530516218645,
  736. 7702.099502136613,
  737. 20
  738. ],
  739. [
  740. 6432.013986271386,
  741. 7944.898603135224,
  742. 20
  743. ]
  744. ],
  745. [
  746. [
  747. 4418.0873970261955,
  748. 7366.562145019624,
  749. 20
  750. ],
  751. [
  752. 4336.414376322606,
  753. 7217.395252181261,
  754. 20
  755. ],
  756. [
  757. 4693.4407023310205,
  758. 7217.395252181261,
  759. 20
  760. ],
  761. [
  762. 5091.982163883947,
  763. 5243.920635745127,
  764. 20
  765. ],
  766. [
  767. 5513.141935058761,
  768. 4203.903681498108,
  769. 20
  770. ]
  771. ]
  772. ],
  773. "color": "#438EDB",
  774. "intensity": 1.2,
  775. "pipeRadius": 10
  776. }
  777. }
  778. },
  779. {
  780. "code": "1-18",
  781. "title": "骨骼动画飞行",
  782. "data": {
  783. "ActionName": "FlyGLTF",
  784. "Parameters": {
  785. "id": "1",
  786. "status": "show",
  787. "paths": [
  788. [
  789. 4419.489284,
  790. 7361.3196348,
  791. 0
  792. ],
  793. [
  794. 4722.45233401,
  795. 7353.53178799,
  796. 112.6
  797. ],
  798. [
  799. 5082.94702425,
  800. 7512.13693485,
  801. 112.6
  802. ],
  803. [
  804. 5757.15146837,
  805. 7714.98006736,
  806. 112.6
  807. ],
  808. [
  809. 5775.16196758,
  810. 7551.31840959,
  811. 112.6
  812. ],
  813. [
  814. 5774.80167843,
  815. 7449.51383181,
  816. 112.6
  817. ],
  818. [
  819. 5737.21978829,
  820. 7127.43709037,
  821. 112.6
  822. ],
  823. [
  824. 5591.31188012,
  825. 6784.34449701,
  826. 61.6
  827. ],
  828. [
  829. 5542.67695791,
  830. 6669.98448716,
  831. 41
  832. ],
  833. [
  834. 5533.43949585,
  835. 6674.18149397,
  836. 26
  837. ]
  838. ],
  839. "isFollow": true,
  840. "speed": 0.001
  841. }
  842. }
  843. },
  844. {
  845. "code": "1-28",
  846. "title": "绘制_球点",
  847. "data": {
  848. "ActionName": "Draw",
  849. "Parameters": {
  850. "type": "point",
  851. "hasZ": true,
  852. "status":"show",
  853. "point": [
  854. 3499.5782683948523,
  855. 7252.273350408689,
  856. 0
  857. ],
  858. "symbol": {
  859. "type": "point-3d",
  860. "symbolLayers": [{
  861. "type": "object",
  862. "width": 5,
  863. "height": 10,
  864. "depth": 15,
  865. "resource": { "primitive": "cube" },
  866. "material": { "color": [0, 255, 0,0.3] }
  867. }]
  868. },
  869. "token": ""
  870. }
  871. }
  872. },
  873. {
  874. "code": "1-28-1",
  875. "title": "绘制_圆锥",
  876. "data": {
  877. "ActionName": "Draw",
  878. "Parameters": {
  879. "type": "point",
  880. "hasZ": true,
  881. "status":"show",
  882. "point": {
  883. "x": 0,
  884. "y": 0,
  885. "z": -10
  886. },
  887. "symbol": {
  888. "type": "point-3d",
  889. "symbolLayers": [{
  890. "type": "object",
  891. "width": 200,
  892. "height": 200,
  893. "depth": 200,
  894. "anchor": "origin",
  895. "resource": { "primitive": "inverted-cone" },
  896. "material": { "color": [0, 255, 0,0.3] }
  897. }]
  898. },
  899. "token": ""
  900. }
  901. }
  902. },
  903. {
  904. "code": "1-20",
  905. "title": "绘制_管道",
  906. "data": {
  907. "ActionName": "Draw",
  908. "Parameters": {
  909. "type": "polyline",
  910. "hasZ": true,
  911. "status":"show",
  912. "path": [
  913. [
  914. 3499.5782683948523,
  915. 7252.273350408689,
  916. 0
  917. ],
  918. [
  919. 3499.364569722593,
  920. 7251.626996858693,
  921. 100
  922. ],
  923. [
  924. 3558.8660344507416,
  925. 7251.648514626977,
  926. 100
  927. ],
  928. [
  929. 3558.852005535551,
  930. 7290.14634859842,
  931. 100
  932. ],
  933. [
  934. 3568.767473443955,
  935. 7293.999751210939,
  936. 100
  937. ],
  938. [
  939. 4279.47656249917,
  940. 7294.283510610084,
  941. 100
  942. ],
  943. [
  944. 4282.768839396391,
  945. 7325.0832129770815,
  946. 100
  947. ],
  948. [
  949. 4286.069444710435,
  950. 7336.633997891262,
  951. 100
  952. ],
  953. [
  954. 4299.290211928166,
  955. 7340.489525285203,
  956. 100
  957. ],
  958. [
  959. 4309.205361465806,
  960. 7344.34362776725,
  961. 100
  962. ],
  963. [
  964. 4735.628798268906,
  965. 7344.538185844389,
  966. 100
  967. ],
  968. [
  969. 4735.579268035517,
  970. 7448.4823634558725,
  971. 100
  972. ],
  973. [
  974. 4734.06792183444,
  975. 7449.867157578444,
  976. 0
  977. ]
  978. ],
  979. "symbol": {
  980. "type": "line-3d",
  981. "symbolLayers": [{
  982. "type": "path",
  983. "profile": "circle",
  984. "material": {
  985. "color": [0, 255, 0,0.3]
  986. },
  987. "width": 30,
  988. "height": 30
  989. }]
  990. },
  991. "token": ""
  992. }
  993. }
  994. },
  995. {
  996. "code": "1-21",
  997. "title": "绘制_空域",
  998. "data": {
  999. "ActionName": "Draw",
  1000. "Parameters": {
  1001. "type": "polygon",
  1002. "hasZ": true,
  1003. "status":"show",
  1004. "symbol": {
  1005. "type": "polygon-3d",
  1006. "symbolLayers": [{
  1007. "type": "extrude",
  1008. "size": 300,
  1009. "material": { "color": [4,138,255,0.3] }
  1010. }]
  1011. },
  1012. "token": ""
  1013. }
  1014. }
  1015. },
  1016. {
  1017. "code": "1-22",
  1018. "title": "绘制_几何拉高_组合",
  1019. "data": {
  1020. "ActionName": "Draw_GeometryMeshPrismEffect",
  1021. "Parameters": {
  1022. "type": "polygon",
  1023. "status":"show",
  1024. "startHeight": 0,
  1025. "items":[
  1026. {
  1027. "id": 1,
  1028. "name": "",
  1029. "depth": 300,
  1030. "material": [
  1031. 4,138,255,
  1032. 0.4
  1033. ]
  1034. }
  1035. ],
  1036. "token": ""
  1037. }
  1038. }
  1039. },
  1040. {
  1041. "code": "1-23",
  1042. "title": "样式路径管线",
  1043. "data": {
  1044. "ActionName": "SymbolPathPipe",
  1045. "Parameters": {
  1046. "status":"show",
  1047. "paths": [
  1048. [
  1049. 4419.489284,
  1050. 7361.3196348,
  1051. 0
  1052. ],
  1053. [
  1054. 4419.489284,
  1055. 7361.3196348,
  1056. 112.6
  1057. ],
  1058. [
  1059. 4722.45233401,
  1060. 7353.53178799,
  1061. 112.6
  1062. ],
  1063. [
  1064. 5082.94702425,
  1065. 7512.13693485,
  1066. 112.6
  1067. ],
  1068. [
  1069. 5757.15146837,
  1070. 7714.98006736,
  1071. 112.6
  1072. ],
  1073. [
  1074. 5775.16196758,
  1075. 7551.31840959,
  1076. 112.6
  1077. ],
  1078. [
  1079. 5774.80167843,
  1080. 7449.51383181,
  1081. 112.6
  1082. ],
  1083. [
  1084. 5737.21978829,
  1085. 7127.43709037,
  1086. 112.6
  1087. ],
  1088. [
  1089. 5591.31188012,
  1090. 6784.34449701,
  1091. 61.6
  1092. ],
  1093. [
  1094. 5542.67695791,
  1095. 6669.98448716,
  1096. 41
  1097. ],
  1098. [
  1099. 5533.43949585,
  1100. 6674.18149397,
  1101. 26
  1102. ],
  1103. [
  1104. 5533.43949585,
  1105. 6674.18149397,
  1106. 0
  1107. ]
  1108. ],
  1109. "token": ""
  1110. }
  1111. }
  1112. },
  1113. {
  1114. "code": "1-24",
  1115. "title": "样式网格体绘制",
  1116. "data": {
  1117. "ActionName": "SymbolPointCube",
  1118. "Parameters": {
  1119. "status":"show",
  1120. "points": [
  1121. [
  1122. 4419.489284,
  1123. 7361.3196348,
  1124. 0
  1125. ],
  1126. [
  1127. 4722.45233401,
  1128. 7353.53178799,
  1129. 112.6
  1130. ],
  1131. [
  1132. 5082.94702425,
  1133. 7512.13693485,
  1134. 112.6
  1135. ],
  1136. [
  1137. 5757.15146837,
  1138. 7714.98006736,
  1139. 112.6
  1140. ],
  1141. [
  1142. 5775.16196758,
  1143. 7551.31840959,
  1144. 112.6
  1145. ],
  1146. [
  1147. 5774.80167843,
  1148. 7449.51383181,
  1149. 112.6
  1150. ],
  1151. [
  1152. 5737.21978829,
  1153. 7127.43709037,
  1154. 112.6
  1155. ],
  1156. [
  1157. 5591.31188012,
  1158. 6784.34449701,
  1159. 61.6
  1160. ],
  1161. [
  1162. 5542.67695791,
  1163. 6669.98448716,
  1164. 41
  1165. ],
  1166. [
  1167. 5533.43949585,
  1168. 6674.18149397,
  1169. 26
  1170. ]
  1171. ],
  1172. "token": ""
  1173. }
  1174. }
  1175. },
  1176. {
  1177. "code": "1-27",
  1178. "title": "要素三维点标绘展示",
  1179. "data": {
  1180. "ActionName": "FeaturePointsPlotting",
  1181. "Parameters": {
  1182. "status":"show",
  1183. "data": [
  1184. {
  1185. "geometry": { "type": "point", "x": 1769.8633262562475, "y": 6572.564675574498, "z": 100 },
  1186. "attributes": { "name": "邯郸路50弄小区" }
  1187. },
  1188. {
  1189. "geometry": { "type": "point", "x": 2756.9351097344656, "y": 6887.815844159343, "z": 100 },
  1190. "attributes": { "name": "复旦大学地铁站" }
  1191. },
  1192. {
  1193. "geometry": { "type": "point", "x": 3553.4220013809545, "y": 7144.302605554526, "z": 100 },
  1194. "attributes": { "name": "复旦大学邯郸校区新闻学院" }
  1195. },
  1196. {
  1197. "geometry": { "type": "point", "x": 4195.333062471143, "y": 7282.346450536933, "z": 100 },
  1198. "attributes": { "name": "五角场广场" }
  1199. },
  1200. {
  1201. "geometry": { "type": "point", "x": 4216.2063372552475, "y": 7476.772779201592, "z": 100 },
  1202. "attributes": { "name": "百联又一城" }
  1203. },
  1204. {
  1205. "geometry": { "type": "point", "x": 4418.0873970261955, "y": 7366.562145019624, "z": 100 },
  1206. "attributes": { "name": "合生汇" }
  1207. },
  1208. {
  1209. "geometry": { "type": "point", "x": 4771.708118894013, "y": 7462.639779987219, "z": 100 },
  1210. "attributes": { "name": "创智汇" }
  1211. },
  1212. {
  1213. "geometry": { "type": "point", "x": 4336.414376322606, "y": 7217.395252181261, "z": 100 },
  1214. "attributes": { "name": "上海蓝天宾馆" }
  1215. },
  1216. {
  1217. "geometry": { "type": "point", "x": 4693.4407023310205, "y": 6334.889815920942, "z": 100 },
  1218. "attributes": { "name": "东方蓝海国际市场" }
  1219. },
  1220. {
  1221. "geometry": { "type": "point", "x": 5091.982163883947, "y": 5243.920635745127, "z": 100 },
  1222. "attributes": { "name": "东方名园" }
  1223. },
  1224. {
  1225. "geometry": { "type": "point", "x": 5513.141935058761, "y": 4203.903681498108, "z": 100 },
  1226. "attributes": { "name": "互联宝地" }
  1227. },
  1228. {
  1229. "geometry": { "type": "point", "x": 4000.1051314666856, "y": 7862.190076553913, "z": 100 },
  1230. "attributes": { "name": "江湾体育场" }
  1231. },
  1232. {
  1233. "geometry": { "type": "point", "x": 4550.636695788306, "y": 8027.788532685085, "z": 100 },
  1234. "attributes": { "name": "国和路111弄" }
  1235. },
  1236. {
  1237. "geometry": { "type": "point", "x": 5329.235851407364, "y": 8224.316966379089, "z": 100 },
  1238. "attributes": { "name": "长海医院" }
  1239. },
  1240. {
  1241. "geometry": { "type": "point", "x": 5764.530516218645, "y": 7702.099502136613, "z": 100 },
  1242. "attributes": { "name": "翔殷路地铁站" }
  1243. },
  1244. {
  1245. "geometry": { "type": "point", "x": 6432.013986271386, "y": 7944.898603135224, "z": 100 },
  1246. "attributes": { "name": "上海市杨浦区翔殷路小学" }
  1247. }
  1248. ],
  1249. "token": ""
  1250. }
  1251. }
  1252. },
  1253. {
  1254. "code": "1-34",
  1255. "title": "要素三维面标绘展示",
  1256. "data": {
  1257. "ActionName": "FeaturePolygonPlotting",
  1258. "Parameters": {
  1259. "status": "show",
  1260. "data": [
  1261. {
  1262. "geometry": {
  1263. "rings": [[[0, 0,1000], [0, 1000,1000], [1000, 1000,1000], [1000, 0,1000], [0, 0,1000]]]
  1264. },
  1265. "attributes": {
  1266. "FID": 1,
  1267. "id": 1,
  1268. "name": "Polygon 1"
  1269. },
  1270. "symbol": {
  1271. "color": [255, 0, 0, 0.8],
  1272. "size": 500
  1273. }
  1274. },
  1275. {
  1276. "geometry": {
  1277. "rings": [[[2000, 2000,0], [2000, 3000,0], [3000, 3000,0], [3000, 2000,0], [2000, 2000,0]]]
  1278. },
  1279. "attributes": {
  1280. "FID": 2,
  1281. "id": 2,
  1282. "name": "Polygon 2"
  1283. },
  1284. "symbol": {
  1285. "color": [0, 255, 0, 0.8],
  1286. "size": 300
  1287. }
  1288. }
  1289. ],
  1290. "token": ""
  1291. }
  1292. }
  1293. },
  1294. {
  1295. "code": "1-42",
  1296. "title": "获取虚拟点位",
  1297. "data": {
  1298. "ActionName": "GetVirtualFlyPoint",
  1299. "Parameters": {
  1300. "status": "show",
  1301. "flyList": [
  1302. {
  1303. "id":"f188b918-0422-4e6b-9d2a-9fc383748418",
  1304. "status": 1,
  1305. "uavid":"59d272f0-a3a2-4439-9bd9-4e4264611939"
  1306. }
  1307. ],
  1308. "token": ""
  1309. }
  1310. }
  1311. },
  1312. {
  1313. "code": "1-32",
  1314. "title": "获取实时点位",
  1315. "data": {
  1316. "ActionName": "GetRealFlyPoint",
  1317. "Parameters": {
  1318. "status": "show",
  1319. "flyList": [
  1320. {
  1321. "id":"f188b918-0422-4e6b-9d2a-9fc383748418",
  1322. "uavid":"59d272f0-a3a2-4439-9bd9-4e4264611939"
  1323. }
  1324. ],
  1325. "token": ""
  1326. }
  1327. }
  1328. },
  1329. {
  1330. "code": "1-36",
  1331. "title": "修改实时点位",
  1332. "data": {
  1333. "ActionName": "ChangePointStatus",
  1334. "Parameters": {
  1335. "uavid": "3",
  1336. "isFollow": true,
  1337. "token": ""
  1338. }
  1339. }
  1340. },
  1341. {
  1342. "code": "1-35",
  1343. "title": "获取实时权重",
  1344. "data": {
  1345. "ActionName": "GetRealPower",
  1346. "Parameters": {
  1347. "status": "show",
  1348. "token": ""
  1349. }
  1350. }
  1351. },
  1352. {
  1353. "code": "1-37",
  1354. "title": "获取实时权重-请求版",
  1355. "data": {
  1356. "ActionName": "GetRealPower2",
  1357. "Parameters": {
  1358. "id" : "1",
  1359. "status" : "show",
  1360. "level" : 20,
  1361. "center" : {
  1362. "x": 4000,
  1363. "y": 7000
  1364. },
  1365. "size" : {
  1366. "x": 50,
  1367. "y": 50,
  1368. "z": 50
  1369. },
  1370. "radius" : 10000,
  1371. "minZ" : 0,
  1372. "maxZ" : 120,
  1373. "token": ""
  1374. }
  1375. }
  1376. },
  1377. {
  1378. "code": "1-39",
  1379. "title": "碰撞模拟",
  1380. "data": {
  1381. "ActionName": "PathConflict",
  1382. "Parameters": {
  1383. "status": "show",
  1384. "token": ""
  1385. }
  1386. }
  1387. },
  1388. {
  1389. "code": "1-40",
  1390. "title": "电量预警",
  1391. "data": {
  1392. "ActionName": "UavBatteryWarning",
  1393. "Parameters": {
  1394. "status": "show",
  1395. "token": ""
  1396. }
  1397. }
  1398. },
  1399. {
  1400. "code": "1-41",
  1401. "title": "无人机规避飞行",
  1402. "data": {
  1403. "ActionName": "Conflict_fly",
  1404. "Parameters": {
  1405. "status": "show",
  1406. "uavid": "87066700-f12d-4b3e-ac77-a55a409dd30b",
  1407. "skip_route_id": "fba073d1-def3-4f85-9326-dff8a1ac6ea6",
  1408. "distance": 1280,
  1409. "token": ""
  1410. }
  1411. }
  1412. },
  1413. {
  1414. "code": "1-43",
  1415. "title": "态势模拟",
  1416. "data": {
  1417. "ActionName": "SituationAssessment",
  1418. "Parameters": {
  1419. "status": "show",
  1420. "token": ""
  1421. }
  1422. }
  1423. },
  1424. {
  1425. "code": "1-44",
  1426. "title": "圆台绘制",
  1427. "data": {
  1428. "ActionName": "GeometryMeshFrustumEffect",
  1429. "Parameters": {
  1430. "status": "show",
  1431. "position": {
  1432. "x": 0,
  1433. "y": 0,
  1434. "z": 0
  1435. },
  1436. "height": 100,
  1437. "topRadius": 200,
  1438. "bottomRadius": 10
  1439. }
  1440. }
  1441. }
  1442. ]
  1443. }
  1444. ]