Repo

City Science's test model of the town of Exmouth in Devon.

mapbox-styles.json 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461
  1. {
  2. "layers": [
  3. {
  4. "id": "ExmouthBoundedMesh",
  5. "type": "fill",
  6. "source": {
  7. "type": "geojson",
  8. "data": "/csc/exmouth/raw/master/ExmouthBoundedMesh.geojson"
  9. },
  10. "metadata": {
  11. "name": "Path Density Mesh",
  12. "group": "Path Density Mesh",
  13. "directory": "Active Travel"
  14. },
  15. "layout": {
  16. "visibility": "none"
  17. },
  18. "paint": {
  19. "fill-color": [
  20. "interpolate",
  21. [
  22. "exponential",
  23. 0.9999
  24. ],
  25. [
  26. "get",
  27. "total"
  28. ],
  29. 10.9393829238766,
  30. "hsl(0, 100%, 100%)",
  31. 1602.5644423384,
  32. "hsl(229, 55%, 56%)"
  33. ],
  34. "fill-opacity": [
  35. "interpolate",
  36. [
  37. "exponential",
  38. 0.9999
  39. ],
  40. [
  41. "get",
  42. "total"
  43. ],
  44. 10.9393829238766, 0,
  45. 1602.5644423384, 0.9
  46. ]
  47. }
  48. },
  49. {
  50. "id": "ExmouthAccidents",
  51. "type": "heatmap",
  52. "source": {
  53. "type": "geojson",
  54. "data": "/csc/exmouth/raw/master/ExmouthAccidents.geojson"
  55. },
  56. "metadata": {
  57. "name": "Stats19",
  58. "group": "Road Collisions",
  59. "directory": "Road Safety"
  60. },
  61. "layout": {
  62. "visibility": "none"
  63. },
  64. "paint": {
  65. "heatmap-radius": [
  66. "interpolate",
  67. [
  68. "linear"
  69. ],
  70. [
  71. "zoom"
  72. ],
  73. 0,
  74. 1,
  75. 10.49,
  76. 5,
  77. 13.08,
  78. 30,
  79. 22,
  80. 200
  81. ],
  82. "heatmap-intensity": 0.7,
  83. "heatmap-weight": [
  84. "interpolate",
  85. [
  86. "linear"
  87. ],
  88. [
  89. "get",
  90. "number_of_casualties"
  91. ],
  92. 1,
  93. 0.1,
  94. 8,
  95. 0.8
  96. ],
  97. "heatmap-opacity": 0.5
  98. }
  99. },
  100. {
  101. "id": "ExmouthAccidents2",
  102. "type": "circle",
  103. "source": {
  104. "type": "geojson",
  105. "data": "/csc/exmouth/raw/master/ExmouthAccidents.geojson"
  106. },
  107. "metadata": {
  108. "name": "Stats19",
  109. "group": "Road Collisions",
  110. "directory": "Road Safety"
  111. },
  112. "layout": {
  113. "visibility": "none"
  114. },
  115. "paint": {
  116. "circle-radius": [
  117. "interpolate",
  118. [
  119. "linear"
  120. ],
  121. [
  122. "zoom"
  123. ],
  124. 0,
  125. 0.1,
  126. 12.35,
  127. 1.5,
  128. 22,
  129. 4
  130. ],
  131. "circle-color": "hsl(0, 100%, 100%)"
  132. }
  133. },
  134. {
  135. "id": "ExmouthStationFoot-light",
  136. "type": "line",
  137. "source": {
  138. "type": "geojson",
  139. "data": "/csc/exmouth/raw/master/ExmouthStationFootIsochrone.geojson"
  140. },
  141. "metadata": {
  142. "name": "Foot",
  143. "group": "Walking Isochrone",
  144. "directory": "Active Travel",
  145. "theme": "light"
  146. },
  147. "layout": {
  148. "visibility": "none"
  149. },
  150. "paint": {
  151. "line-color": [
  152. "interpolate",
  153. [
  154. "linear"
  155. ],
  156. [
  157. "get",
  158. "start_cost"
  159. ],
  160. 0,
  161. "hsl(215, 100%, 81%)",
  162. 1780,
  163. "hsl(239, 100%, 17%)"
  164. ],
  165. "line-width": 2,
  166. "line-opacity": [
  167. "interpolate",
  168. [
  169. "linear"
  170. ],
  171. [
  172. "get",
  173. "start_cost"
  174. ],
  175. 0, 0,
  176. 1780, 0.6
  177. ]
  178. }
  179. },
  180. {
  181. "id": "ExmouthStationFoot-dark",
  182. "type": "line",
  183. "source": {
  184. "type": "geojson",
  185. "data": "/csc/exmouth/raw/master/ExmouthStationFootIsochrone.geojson"
  186. },
  187. "metadata": {
  188. "name": "Foot",
  189. "group": "Walking Isochrone",
  190. "directory": "Active Travel",
  191. "theme": ["dark", "satellite"]
  192. },
  193. "layout": {
  194. "visibility": "none"
  195. },
  196. "paint": {
  197. "line-color": [
  198. "interpolate",
  199. [
  200. "linear"
  201. ],
  202. [
  203. "get",
  204. "start_cost"
  205. ],
  206. 0,
  207. "hsl(239, 100%, 17%)",
  208. 1780,
  209. "hsl(215, 100%, 81%)"
  210. ],
  211. "line-width": 2,
  212. "line-opacity": [
  213. "interpolate",
  214. [
  215. "linear"
  216. ],
  217. [
  218. "get",
  219. "start_cost"
  220. ],
  221. 0, 0,
  222. 1780, 0.6
  223. ]
  224. }
  225. },
  226. {
  227. "id": "ExmouthStationBike-light",
  228. "type": "line",
  229. "source": {
  230. "type": "geojson",
  231. "data": "/csc/exmouth/raw/master/ExmouthStationBicycleIsochrone.geojson"
  232. },
  233. "metadata": {
  234. "name": "Bicycle",
  235. "group": "Cycling Isochrone",
  236. "directory": "Active Travel",
  237. "theme": "light"
  238. },
  239. "layout": {
  240. "visibility": "none"
  241. },
  242. "paint": {
  243. "line-color": [
  244. "interpolate",
  245. [
  246. "linear"
  247. ],
  248. [
  249. "get",
  250. "start_cost"
  251. ],
  252. 0,
  253. "hsl(134, 79%, 74%)",
  254. 1799.96819298131,
  255. "hsl(134, 100%, 15%)"
  256. ],
  257. "line-width": 2,
  258. "line-opacity": [
  259. "interpolate",
  260. [
  261. "linear"
  262. ],
  263. [
  264. "get",
  265. "start_cost"
  266. ],
  267. 0, 0,
  268. 1799.96819298131, 0.6
  269. ]
  270. }
  271. },
  272. {
  273. "id": "ExmouthStationBike-dark",
  274. "type": "line",
  275. "source": {
  276. "type": "geojson",
  277. "data": "/csc/exmouth/raw/master/ExmouthStationBicycleIsochrone.geojson"
  278. },
  279. "metadata": {
  280. "name": "Bicycle",
  281. "group": "Cycling Isochrone",
  282. "directory": "Active Travel",
  283. "theme": ["dark", "satellite"]
  284. },
  285. "layout": {
  286. "visibility": "none"
  287. },
  288. "paint": {
  289. "line-color": [
  290. "interpolate",
  291. [
  292. "linear"
  293. ],
  294. [
  295. "get",
  296. "start_cost"
  297. ],
  298. 0,
  299. "hsl(134, 100%, 15%)",
  300. 1799.96819298131,
  301. "hsl(134, 79%, 74%)"
  302. ],
  303. "line-width": 2,
  304. "line-opacity": [
  305. "interpolate",
  306. [
  307. "linear"
  308. ],
  309. [
  310. "get",
  311. "start_cost"
  312. ],
  313. 0, 0,
  314. 1799.96819298131, 0.6
  315. ]
  316. }
  317. },
  318. {
  319. "id": "Cyclepaths-light",
  320. "type": "line",
  321. "source": {
  322. "type": "geojson",
  323. "data": "/csc/exmouth/raw/master/ExmouthPaths.geojson"
  324. },
  325. "metadata": {
  326. "name": "Cyclepaths",
  327. "group": "Cycle Paths",
  328. "directory": "Active Travel",
  329. "theme": "light"
  330. },
  331. "layout": {
  332. "visibility": "none"
  333. },
  334. "filter": [
  335. "==",
  336. "highway",
  337. "cycleway"
  338. ],
  339. "paint": {
  340. "line-width": 2,
  341. "line-color": "hsl(236, 100%, 55%)",
  342. "line-offset": 0,
  343. "line-opacity": 0.5
  344. }
  345. },
  346. {
  347. "id": "Cyclepaths-dark",
  348. "type": "line",
  349. "source": {
  350. "type": "geojson",
  351. "data": "/csc/exmouth/raw/master/ExmouthPaths.geojson"
  352. },
  353. "metadata": {
  354. "name": "Cyclepaths",
  355. "group": "Cycle Paths",
  356. "directory": "Active Travel",
  357. "theme": ["dark", "satellite"]
  358. },
  359. "layout": {
  360. "visibility": "none"
  361. },
  362. "filter": [
  363. "==",
  364. "highway",
  365. "cycleway"
  366. ],
  367. "paint": {
  368. "line-width": 2,
  369. "line-color": "hsl(202, 100%, 55%)",
  370. "line-offset": 0,
  371. "line-opacity": 0.5
  372. }
  373. },
  374. {
  375. "id": "Footpaths-light",
  376. "type": "line",
  377. "source": {
  378. "type": "geojson",
  379. "data": "/csc/exmouth/raw/master/ExmouthPaths.geojson"
  380. },
  381. "metadata": {
  382. "name": "Footpaths",
  383. "group": "Footpaths",
  384. "directory": "Active Travel",
  385. "theme":"light"
  386. },
  387. "layout": {
  388. "visibility": "none"
  389. },
  390. "filter": [
  391. "==",
  392. "highway",
  393. "footway"
  394. ],
  395. "paint": {
  396. "line-width": 2,
  397. "line-color": "hsl(128, 100%, 22%)",
  398. "line-offset": 0,
  399. "line-opacity": 0.5
  400. }
  401. },
  402. {
  403. "id": "Footpaths-dark",
  404. "type": "line",
  405. "source": {
  406. "type": "geojson",
  407. "data": "/csc/exmouth/raw/master/ExmouthPaths.geojson"
  408. },
  409. "metadata": {
  410. "name": "Footpaths",
  411. "group": "Footpaths",
  412. "directory": "Active Travel",
  413. "theme":"dark"
  414. },
  415. "layout": {
  416. "visibility": "none"
  417. },
  418. "filter": [
  419. "==",
  420. "highway",
  421. "footway"
  422. ],
  423. "paint": {
  424. "line-width": 2,
  425. "line-color": "hsl(128, 100%, 59%)",
  426. "line-offset": 0,
  427. "line-opacity": 0.5
  428. }
  429. },
  430. {
  431. "id": "Bridleway",
  432. "type": "line",
  433. "source": {
  434. "type": "geojson",
  435. "data": "/csc/exmouth/raw/master/ExmouthPaths.geojson"
  436. },
  437. "metadata": {
  438. "name": "Bridleway",
  439. "group": "Bridleways",
  440. "directory": "Active Travel"
  441. },
  442. "layout": {
  443. "visibility": "none"
  444. },
  445. "filter": [
  446. "==",
  447. "highway",
  448. "bridleway"
  449. ],
  450. "paint": {
  451. "line-width": 2,
  452. "line-color": "hsl(128, 100%, 33%)",
  453. "line-dasharray": [
  454. 2,
  455. 1
  456. ],
  457. "line-offset": 0
  458. }
  459. }
  460. ]
  461. }