data.js 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522
  1. module.exports = {
  2. status: 0,
  3. message: "Success",
  4. request_id: "c5a09e864ed24cb68d8076d1f8dcca26",
  5. result: {
  6. routes: [
  7. {
  8. mode: "DRIVING",
  9. distance: 13488,
  10. duration: 15,
  11. traffic_light_count: 0,
  12. toll: 0,
  13. restriction: { status: 1 },
  14. polyline: [
  15. 34.706028,
  16. 113.71177,
  17. 9,
  18. 290,
  19. 0,
  20. 0,
  21. -636,
  22. 9,
  23. -2067,
  24. -5,
  25. -1512,
  26. 11,
  27. 0,
  28. 0,
  29. 23,
  30. -686,
  31. -4,
  32. -887,
  33. 0,
  34. 0,
  35. -14,
  36. -408,
  37. -62,
  38. -212,
  39. -21,
  40. -98,
  41. 0,
  42. 0,
  43. -119,
  44. -291,
  45. -30,
  46. -1635,
  47. 0,
  48. 0,
  49. -14,
  50. -38,
  51. -16,
  52. -18,
  53. -36,
  54. -23,
  55. -42,
  56. -14,
  57. -46,
  58. 4,
  59. -40,
  60. 22,
  61. -48,
  62. 71,
  63. 66,
  64. 3040,
  65. 2,
  66. 234,
  67. -20,
  68. 774,
  69. 0,
  70. 0,
  71. -52,
  72. 329,
  73. -96,
  74. 1256,
  75. -225,
  76. 2561,
  77. -15,
  78. 405,
  79. 45,
  80. 546,
  81. -49,
  82. 695,
  83. -231,
  84. 2692,
  85. -67,
  86. 1069,
  87. -39,
  88. 1092,
  89. -7,
  90. 1178,
  91. 4,
  92. 350,
  93. 61,
  94. 2227,
  95. 52,
  96. 1138,
  97. 49,
  98. 740,
  99. 91,
  100. 1059,
  101. 181,
  102. 1542,
  103. 0,
  104. 0,
  105. 111,
  106. 709,
  107. 1106,
  108. 7673,
  109. 188,
  110. 1202,
  111. 231,
  112. 1215,
  113. 340,
  114. 1606,
  115. 148,
  116. 756,
  117. 149,
  118. 861,
  119. 148,
  120. 980,
  121. 98,
  122. 781,
  123. 89,
  124. 874,
  125. 78,
  126. 1004,
  127. 64,
  128. 1389,
  129. 360,
  130. 13355,
  131. -12,
  132. 674,
  133. 14,
  134. 638,
  135. 135,
  136. 5227,
  137. 11,
  138. 382,
  139. 16,
  140. 257,
  141. 0,
  142. 0,
  143. -48,
  144. 116,
  145. -11,
  146. 51,
  147. -12,
  148. 237,
  149. -10,
  150. 725,
  151. -46,
  152. 767,
  153. -119,
  154. 1479,
  155. -15,
  156. 316,
  157. 0,
  158. 0,
  159. 26,
  160. 161,
  161. 45,
  162. 445,
  163. 68,
  164. 483,
  165. 37,
  166. 181,
  167. 59,
  168. 225,
  169. 96,
  170. 289,
  171. 94,
  172. 250,
  173. 105,
  174. 244,
  175. 118,
  176. 250,
  177. 68,
  178. 130,
  179. 120,
  180. 192,
  181. 172,
  182. 254,
  183. 114,
  184. 157,
  185. 119,
  186. 148,
  187. 131,
  188. 146,
  189. 288,
  190. 280,
  191. 131,
  192. 112,
  193. 175,
  194. 137,
  195. 156,
  196. 111,
  197. 134,
  198. 85,
  199. 180,
  200. 100,
  201. 158,
  202. 79,
  203. 205,
  204. 89,
  205. 165,
  206. 63,
  207. 240,
  208. 75,
  209. 266,
  210. 62,
  211. 1392,
  212. 199,
  213. 594,
  214. 100,
  215. 469,
  216. 106,
  217. 312,
  218. 105,
  219. 746,
  220. 171,
  221. 135,
  222. 5,
  223. 107,
  224. -10,
  225. 132,
  226. -31,
  227. 428,
  228. 127,
  229. 1320,
  230. 355,
  231. 569,
  232. 161,
  233. 397,
  234. 100,
  235. 1032,
  236. 276,
  237. 529,
  238. 130,
  239. 497,
  240. 109,
  241. 291,
  242. 74,
  243. 5515,
  244. 1490,
  245. 397,
  246. 112,
  247. 890,
  248. 286,
  249. 489,
  250. 139,
  251. 3182,
  252. 858,
  253. 591,
  254. 149,
  255. 554,
  256. 101,
  257. 2725,
  258. 731,
  259. 971,
  260. 242,
  261. 657,
  262. 136,
  263. 759,
  264. 119,
  265. 183,
  266. 19,
  267. 892,
  268. 45,
  269. 411,
  270. 1,
  271. 658,
  272. -33,
  273. 249,
  274. -24,
  275. 645,
  276. -81,
  277. 1132,
  278. -198,
  279. 3951,
  280. -762,
  281. 459,
  282. -73,
  283. 328,
  284. -43,
  285. 1173,
  286. -212,
  287. 653,
  288. -89,
  289. 485,
  290. -49,
  291. 810,
  292. -60,
  293. 270,
  294. -28,
  295. 0,
  296. 0,
  297. 416,
  298. 84,
  299. 140,
  300. 9,
  301. 807,
  302. -68,
  303. 1050,
  304. -54,
  305. 392,
  306. 12,
  307. 119,
  308. 25,
  309. 56,
  310. -15,
  311. 0,
  312. 0,
  313. 1457,
  314. -164,
  315. 535,
  316. -42,
  317. 584,
  318. -33,
  319. 895,
  320. -39,
  321. 426,
  322. -5,
  323. 408,
  324. 110,
  325. 375,
  326. 148,
  327. 188,
  328. 59,
  329. 60,
  330. 6,
  331. 63,
  332. -4,
  333. 217,
  334. -50,
  335. 84,
  336. -48,
  337. 87,
  338. -75,
  339. 65,
  340. -85,
  341. 61,
  342. -105,
  343. 42,
  344. -93,
  345. 28,
  346. -81,
  347. 94,
  348. -411,
  349. 20,
  350. -290,
  351. 21,
  352. -113,
  353. 29,
  354. -107,
  355. 32,
  356. -85,
  357. 68,
  358. -128,
  359. 39,
  360. -61,
  361. 52,
  362. -62,
  363. 119,
  364. -112,
  365. 102,
  366. -70,
  367. 102,
  368. -44,
  369. 131,
  370. -38,
  371. 127,
  372. -20,
  373. 230,
  374. -19,
  375. 802,
  376. -22,
  377. 453,
  378. -26,
  379. 1067,
  380. -96,
  381. 49,
  382. 22,
  383. 45,
  384. 5,
  385. 434,
  386. -29,
  387. 165,
  388. -36,
  389. 0,
  390. 0,
  391. 29,
  392. -18,
  393. 22,
  394. -32,
  395. 32,
  396. -66,
  397. ],
  398. steps: [
  399. {
  400. instruction: "向东行驶26米,右转然后立即向右前方行驶",
  401. polyline_idx: [0, 3],
  402. road_name: "",
  403. dir_desc: "东",
  404. distance: 26,
  405. act_desc: "右转",
  406. accessorial_desc: "然后立即向右前方行驶",
  407. },
  408. {
  409. instruction: "沿南台路向南行驶467米,右转",
  410. polyline_idx: [4, 11],
  411. road_name: "南台路",
  412. dir_desc: "南",
  413. distance: 467,
  414. act_desc: "右转",
  415. accessorial_desc: "",
  416. },
  417. {
  418. instruction: "沿南三环辅路向西行驶144米,",
  419. polyline_idx: [12, 17],
  420. road_name: "南三环辅路",
  421. dir_desc: "西",
  422. distance: 144,
  423. act_desc: "",
  424. accessorial_desc: "",
  425. },
  426. {
  427. instruction: "沿南三环辅路向西行驶67米,偏左转进入主路",
  428. polyline_idx: [18, 25],
  429. road_name: "南三环辅路",
  430. dir_desc: "西",
  431. distance: 67,
  432. act_desc: "偏左转",
  433. accessorial_desc: "进入主路",
  434. },
  435. {
  436. instruction: "沿南三环向西行驶179米,",
  437. polyline_idx: [26, 31],
  438. road_name: "南三环",
  439. dir_desc: "西",
  440. distance: 179,
  441. act_desc: "",
  442. accessorial_desc: "",
  443. },
  444. {
  445. instruction: "沿南三环向东行驶405米,偏右转上高架",
  446. polyline_idx: [32, 53],
  447. road_name: "南三环",
  448. dir_desc: "东",
  449. distance: 405,
  450. act_desc: "偏右转",
  451. accessorial_desc: "上高架",
  452. },
  453. {
  454. instruction: "沿南三环向东行驶1.7公里,直行",
  455. polyline_idx: [54, 87],
  456. road_name: "南三环",
  457. dir_desc: "东",
  458. distance: 1736,
  459. act_desc: "直行",
  460. accessorial_desc: "",
  461. },
  462. {
  463. instruction: "沿南三环向东行驶3.7公里,偏右转进入匝道",
  464. polyline_idx: [88, 125],
  465. road_name: "南三环",
  466. dir_desc: "东",
  467. distance: 3656,
  468. act_desc: "偏右转",
  469. accessorial_desc: "进入匝道",
  470. },
  471. {
  472. instruction: "沿东三环行驶340米,偏左转",
  473. polyline_idx: [126, 141],
  474. road_name: "东三环",
  475. dir_desc: "",
  476. distance: 340,
  477. act_desc: "偏左转",
  478. accessorial_desc: "",
  479. },
  480. {
  481. instruction: "沿东三环向北行驶4.9公里,偏右转不要下坡",
  482. polyline_idx: [142, 279],
  483. road_name: "东三环",
  484. dir_desc: "北",
  485. distance: 4916,
  486. act_desc: "偏右转",
  487. accessorial_desc: "不要下坡",
  488. },
  489. {
  490. instruction: "沿东三环向北行驶332米,直行进入匝道",
  491. polyline_idx: [280, 295],
  492. road_name: "东三环",
  493. dir_desc: "北",
  494. distance: 332,
  495. act_desc: "直行",
  496. accessorial_desc: "进入匝道",
  497. },
  498. {
  499. instruction: "沿东三环出口行驶1.2公里,",
  500. polyline_idx: [296, 373],
  501. road_name: "东三环出口",
  502. dir_desc: "",
  503. distance: 1202,
  504. act_desc: "",
  505. accessorial_desc: "",
  506. },
  507. {
  508. instruction: "行驶14米,",
  509. polyline_idx: [374, 381],
  510. road_name: "",
  511. dir_desc: "",
  512. distance: 14,
  513. act_desc: "",
  514. accessorial_desc: "",
  515. },
  516. ],
  517. tags: [],
  518. taxi_fare: { fare: 27 },
  519. },
  520. ],
  521. },
  522. };