Trying to read a complex json file in javascript - json
I am trying to read the following json file to extract the traffic information but some how I am not getting it.
{"success":true,"variables":{"details":true,"polylines":true,"polylineBounds":true,"totals":true,"filterDetails":true,"filterPolylines":true},"dateTime":"2017-03-03T20:39:00.000Z","roads":[{"road":"A1","type":"a","segments":[{"start":"Amsterdam","end":"Amersfoort","roadworks":[{"id":64251658,"road":"A1","segmentId":3000,"codeDirection":1,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Diemen-Noord","fromLoc":{"lat":52.34558,"lon":4.97739},"to":"Naarden-West","toLoc":{"lat":52.30712,"lon":5.12852},"polyline":"}go~Hayi]fBoGhBqGrEqNlBwFjByE`BsD`AqBxAkC~BuDbDsEjJqL`CiDtBgDhB_DtCuFrBoEdCyFbCiGdAaDzA_F~AeGvAuG`AmF~#_G`BwLn#uFZaDh#_H\\iGT}FJ_EDcDDcH?gFGqP#wFCm#CiHDuOT}D`AyFn#{Eh#gJFeGGaB[gDa#oHg#kFKiF?aNAeNBmj#ByDJeFPaEX{Db#}Dp#{Ev#_FdBkJj#sC`DsNjAcFtFkTfC}KhGoZlB_K~AaJlBoL|BqMxR}cAvCcOzH}`#lB{KdByIvAqHtB}JbDoQnB}KhAiGbCqMvBoK`CqKrBkIlFoSv#oCfRis#z#gD~#gEv#eEVeBXqBZ}Ch#oHLyDFsD","bounds":{"southWest":{"lat":52.30562,"lon":4.97057},"northEast":{"lat":52.34831,"lon":5.13587}},"events":[{"alertC":402,"text":"Dicht"}],"start":"2017-03-10T20:00:00.000Z","stop":"2017-03-13T04:00:00.000Z","reason":"Dicht. Van 10 maart 2017 21:00 uur tot 13 maart 2017 05:00 uur."}]},{"start":"Amersfoort","end":"Amsterdam","roadworks":[{"id":64251694,"road":"A1","segmentId":3000,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"knp. Muiderberg","fromLoc":{"lat":52.31497,"lon":5.10514},"to":"Diemen-Noord","toLoc":{"lat":52.34558,"lon":4.97739},"polyline":"g~g~Hauf^aCtImBjHwBzIiBdIqBjKwA~G_CtM{#jEcDbQ_AzE{DbT_DnPwAzHyGh]SlBsA|I[tCo#pHyAfQy#bL{AvYg#bIq#zIw#lIkCjUqAxJs#hEy#nEgAdEoD|QyDlSyCtQmEtYqCzSsCvUcBvOeB~PmDdc#o#tIo#vLYtHQ|IEtEIpAE~UFrLBdSIhM_#lPShFMlBq#~Hm#xFe#~De#bDiAfHm#bDu#tDqA~FoA`FsAxEsDdLeDjIwA`DkClFkAxBmB`DiEpGyBtC}FlHsDfF_BhCgAjByAvCwAzC","bounds":{"southWest":{"lat":52.31092,"lon":4.97845},"northEast":{"lat":52.34515,"lon":5.11841}},"events":[{"alertC":402,"text":"Dicht"}],"start":"2017-03-10T20:00:00.000Z","stop":"2017-03-13T04:00:00.000Z","reason":"Dicht. Van 10 maart 2017 21:00 uur tot 13 maart 2017 05:00 uur."}]}]},{"road":"A2","type":"a","segments":[{"start":"Utrecht","end":"Amsterdam","jams":[{"id":2874308,"road":"A2","segmentId":3105,"codeDirection":1,"type":"a","afrc":0,"category":"jams","label":"closed","incidentType":"road-closed","from":"knp. Holendrecht naar de A9 richting Amersfoort","fromLoc":{"lat":52.29844,"lon":4.94386},"to":"knp. Holendrecht naar de A9 richting Amersfoort","toLoc":{"lat":52.29844,"lon":4.94386},"events":[{"alertC":478,"text":"Verbindingsweg dicht"},{"alertC":701,"text":"Wegwerkzaamheden"}],"reason":"Verbindingsweg dicht. Wegwerkzaamheden."}]},{"start":"Amsterdam","end":"Utrecht","jams":[{"id":2874307,"road":"A2","segmentId":3105,"codeDirection":0,"type":"a","afrc":0,"category":"jams","label":"closed","incidentType":"road-closed","from":"knp. Holendrecht naar de A9 richting Amersfoort","fromLoc":{"lat":52.29575,"lon":4.94041},"to":"knp. Holendrecht naar de A9 richting Amersfoort","toLoc":{"lat":52.29575,"lon":4.94041},"events":[{"alertC":478,"text":"Verbindingsweg dicht"},{"alertC":701,"text":"Wegwerkzaamheden"}],"reason":"Verbindingsweg dicht. Wegwerkzaamheden."}]},{"start":"Eindhoven","end":"Maastricht","jams":[{"id":2874311,"road":"A2","segmentId":3102,"codeDirection":0,"type":"a","afrc":0,"category":"jams","label":"closed","incidentType":"road-closed","from":"knp. Leenderheide","fromLoc":{"lat":51.40191,"lon":5.50359},"to":"afrit Valkenswaard","toLoc":{"lat":51.34987,"lon":5.54248},"polyline":"}duxHmnr`#nKmDpFeBzI{CnTaHdQ{FfBs#xBcAxAw#nEsC~BgBfCwBlL{KvAmAbcAg_ArO}N~f#od#pQuPjD{CxBkBrC{BlEeDvBiBlH{FfAaAlAoAtAaBlAcBtAyB","bounds":{"southWest":{"lat":51.3474,"lon":5.50647},"northEast":{"lat":51.39551,"lon":5.54508}},"events":[{"alertC":401,"text":"Dicht"},{"alertC":701,"text":"Wegwerkzaamheden"}],"reason":"Dicht. Wegwerkzaamheden."},{"id":2873561,"road":"A2","segmentId":3102,"codeDirection":0,"type":"a","afrc":0,"category":"jams","label":"accident","incidentType":"stationary-traffic","from":"Sint Joost","fromLoc":{"lat":51.13471,"lon":5.89665},"to":"Echt","toLoc":{"lat":51.10561,"lon":5.85314},"polyline":"}mawHag~b#`CfBvBfBpAlAvCzC`BnBvBpCfCtDnCrEzCfGv#bBbB~Dba#|cArGzOxEtK~ExJvBbEzFzJ","bounds":{"southWest":{"lat":51.11333,"lon":5.86563},"northEast":{"lat":51.13071,"lon":5.89441}},"events":[{"alertC":505,"text":"Twee rijstroken zijn dicht"},{"alertC":204,"text":"Door een ongeluk met een vrachtwagen"},{"alertC":101,"text":"Stilstaand verkeer","distance":2000}],"distance":2000,"delay":900,"start":"2017-03-03T19:25:00.000Z","reason":"Twee rijstroken zijn dicht. Door een ongeluk met een vrachtwagen."}],"roadworks":[{"id":65008319,"road":"A2","segmentId":3102,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"afrit Valkenswaard","fromLoc":{"lat":51.34987,"lon":5.54248},"to":"afrit Valkenswaard","toLoc":{"lat":51.34987,"lon":5.54248},"bounds":{"southWest":{"lat":51.34678,"lon":5.54006},"northEast":{"lat":51.35262,"lon":5.54611}},"events":[{"alertC":408,"text":"De op- en afrit is dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-04T10:00:00.000Z","reason":"De op- en afrit is dicht. Van 3 maart 2017 21:00 uur tot 4 maart 2017 11:00 uur."},{"id":65008287,"road":"A2","segmentId":3102,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Leende","fromLoc":{"lat":51.33866,"lon":5.56659},"to":"Leende","toLoc":{"lat":51.33866,"lon":5.56659},"bounds":{"southWest":{"lat":51.33678,"lon":5.56639},"northEast":{"lat":51.33861,"lon":5.57136}},"events":[{"alertC":471,"text":"Oprit dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-04T10:00:00.000Z","reason":"Oprit dicht. Van 3 maart 2017 21:00 uur tot 4 maart 2017 11:00 uur."},{"id":65008525,"road":"A2","segmentId":3102,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Maarheeze","fromLoc":{"lat":51.3123,"lon":5.60601},"to":"Maarheeze","toLoc":{"lat":51.3123,"lon":5.60601},"bounds":{"southWest":{"lat":51.31017,"lon":5.6036},"northEast":{"lat":51.31443,"lon":5.60828}},"events":[{"alertC":408,"text":"De op- en afrit is dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-04T10:00:00.000Z","reason":"De op- en afrit is dicht. Van 3 maart 2017 21:00 uur tot 4 maart 2017 11:00 uur."},{"id":65008291,"road":"A2","segmentId":3102,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"afrit Budel","fromLoc":{"lat":51.29803,"lon":5.6271},"to":"afrit Budel","toLoc":{"lat":51.29803,"lon":5.6271},"bounds":{"southWest":{"lat":51.29461,"lon":5.62468},"northEast":{"lat":51.29908,"lon":5.63383}},"events":[{"alertC":408,"text":"De op- en afrit is dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-06T05:00:00.000Z","reason":"De op- en afrit is dicht. Van 3 maart 2017 21:00 uur tot 6 maart 2017 06:00 uur."},{"id":65008351,"road":"A2","segmentId":3102,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Weert-Noord","fromLoc":{"lat":51.2763,"lon":5.66674},"to":"Weert-Noord","toLoc":{"lat":51.2763,"lon":5.66674},"bounds":{"southWest":{"lat":51.27616,"lon":5.65911},"northEast":{"lat":51.27791,"lon":5.67119}},"events":[{"alertC":474,"text":"Afrit dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-06T05:00:00.000Z","reason":"Afrit dicht. Van 3 maart 2017 21:00 uur tot 6 maart 2017 06:00 uur."},{"id":63519087,"road":"A2","segmentId":3102,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Maarheeze","fromLoc":{"lat":51.3123,"lon":5.60601},"to":"Weert-Noord","toLoc":{"lat":51.2763,"lon":5.66674},"polyline":"u{vxH_vp`#z#yEjAmEpAqDjAuCp#qAv#uAtAsBxAkB~#_AlAgA~AkAlAs#jCsAnBw#xIuCnAYvFoB~PuF`GuBdd#wNhDkAfBs#xBcAxAw#nEsC~BgBfCwBlL{KvAmAbcAg_ArO}N~f#od#pQuPjD{CxBkBrC{BlEeDvBiBlH{FfAaAtB{BzByCxA_CjBqDd#cA`AgCz#mC`f#caB~G}UtAaFpBuH|Qut#b#aB`AsC~#aCl#uAhBkDhBoClAcBlxAgmBbC}C`AkA|#_ArBsBhAaAdFeFjE_FxIkKnE}E`]y\\rBcC|#kAtAwBl#gAjB{DpAaDjjAmyCxAoDn#yAlBeDzAqBz#aAdAaAtAiAlGsExCeCzC}ChBwB~B}C|FqItDaGbCiE~CaG`CyErDeIzAmDl#gB|#sCjAoEn#sCh#wCb#mCl#wE^}Df#aIPaGD{CAiGIqFGcB","bounds":{"southWest":{"lat":51.27616,"lon":5.49744},"northEast":{"lat":51.40427,"lon":5.67119}},"events":[{"alertC":402,"text":"Dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-06T05:00:00.000Z","reason":"Dicht. Van 3 maart 2017 21:00 uur tot 6 maart 2017 06:00 uur."}]}]},{"road":"A8","type":"a","segments":[{"start":"Zaandam","end":"Amsterdam","roadworks":[{"id":65008622,"road":"A8","segmentId":3452,"codeDirection":1,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Zaandijk","fromLoc":{"lat":52.46387,"lon":4.80818},"to":"Zaandijk","toLoc":{"lat":52.46387,"lon":4.80818},"bounds":{"southWest":{"lat":52.46327,"lon":4.80552},"northEast":{"lat":52.46448,"lon":4.81089}},"events":[{"alertC":471,"text":"Oprit dicht"}],"start":"2017-03-03T22:00:00.000Z","stop":"2017-03-06T04:00:00.000Z","reason":"Oprit dicht. Van 3 maart 2017 23:00 uur tot 6 maart 2017 05:00 uur."}]}]},{"road":"A9","type":"a","segments":[{"start":"Diemen","end":"Amstelveen","roadworks":[{"id":65008965,"road":"A9","segmentId":3460,"codeDirection":1,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Bijlmermeer","fromLoc":{"lat":52.30774,"lon":4.97123},"to":"Bijlmermeer","toLoc":{"lat":52.30774,"lon":4.97123},"bounds":{"southWest":{"lat":52.3048,"lon":4.96248},"northEast":{"lat":52.31095,"lon":4.98022}},"events":[{"alertC":471,"text":"Oprit dicht"}],"start":"2017-03-03T21:00:00.000Z","stop":"2017-03-06T04:00:00.000Z","reason":"Oprit dicht. Van 3 maart 2017 22:00 uur tot 6 maart 2017 05:00 uur."}]},{"start":"Amstelveen","end":"Alkmaar","roadworks":[{"id":63020027,"road":"A9","segmentId":3461,"codeDirection":1,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"afrit Haarlem-Zuid","fromLoc":{"lat":52.37293,"lon":4.71035},"to":"knp. Rottepolderplein","toLoc":{"lat":52.38439,"lon":4.70737},"polyline":"kks~Huhx[sCxGuDjI_G|MsAlCeA~AmAtAe#b#s#h#{#d#g#Vm#TcAVcBR{ANiFZyIr#mJfAuCRcD\\sf#fEsIj#","bounds":{"southWest":{"lat":52.36934,"lon":4.70665},"northEast":{"lat":52.39025,"lon":4.71707}},"events":[{"alertC":402,"text":"Dicht"}],"start":"2017-03-04T23:00:00.000Z","stop":"2017-03-05T04:00:00.000Z","reason":"Dicht. Van 5 maart 2017 00:00 uur tot 5 maart 2017 05:00 uur."},{"id":64156557,"road":"A9","segmentId":3461,"codeDirection":1,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"knp. Raasdorp","fromLoc":{"lat":52.35687,"lon":4.73999},"to":"knp. Rottepolderplein","toLoc":{"lat":52.38439,"lon":4.70737},"polyline":"cuo~Hmd_\\iJvSeJ|SgH~Oel#~rAmE`KcBvDaXtm#iJjTuDjI_G|MsAlCa#p#u#dA{#|#e#b#wA`A_Ad#m#TcAVo#JoCViFZyIr#mJfAuCRcD\\sf#fEsIj#","bounds":{"southWest":{"lat":52.35042,"lon":4.70665},"northEast":{"lat":52.39025,"lon":4.75223}},"events":[{"alertC":402,"text":"Dicht"}],"start":"2017-03-12T00:00:00.000Z","stop":"2017-03-12T04:00:00.000Z","reason":"Dicht. Van 12 maart 2017 01:00 uur tot 12 maart 2017 05:00 uur."},{"id":64670523,"road":"A9","segmentId":3461,"codeDirection":1,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"knp. Rottepolderplein","fromLoc":{"lat":52.38439,"lon":4.70737},"to":"de Wijkertunnel","toLoc":{"lat":52.45815,"lon":4.67059},"polyline":"upu~H_qv[_EZcD\\sf#fE_Kp#mTtB{k#bFoCZeC^qDt#mD~#{DpAiFjBsm#xWqGzCgCxAyBxAwAdA_DlC_C|B_ChCiB~BmBjCkAfBiB|CcCrEmCxF}K|VqAlC{BhEu#pAcC~DoBrCqAhB}D~EwA~AsG`Hya#|b#wAfBiEhEqBlB{BnByAjAaCbB_BbAqBhA{BdAsDxAaCt#yD|#_En#eDXcDL}A#yBA}BIwDYgEq#eB_#_Cm#oVyHcAa#q#QcDaA}A_#gBm#eCs#mFiB{B}#mEeBuCsA","bounds":{"southWest":{"lat":52.38043,"lon":4.66701},"northEast":{"lat":52.46138,"lon":4.70816}},"events":[{"alertC":401,"text":"Dicht"}],"start":"2017-03-04T22:30:00.000Z","stop":"2017-03-05T05:00:00.000Z","reason":"Dicht. Van 4 maart 2017 23:30 uur tot 5 maart 2017 06:00 uur."}]},{"start":"Alkmaar","end":"Amstelveen","roadworks":[{"id":64156522,"road":"A9","segmentId":3461,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Heemskerk","fromLoc":{"lat":52.50888,"lon":4.70739},"to":"knp. Beverwijk","toLoc":{"lat":52.48608,"lon":4.69237},"polyline":"u~n_Iyvv[hCxCbClCzD~DlDfDfDrCdHlF~FvDvElC`ClApCrAzErBfDlAvDnAlGfB|HhClHvCzIfEjE~B`BbAfF`D~CxBtDrCzIjH","bounds":{"southWest":{"lat":52.48629,"lon":4.69246},"northEast":{"lat":52.51067,"lon":4.70909}},"events":[{"alertC":402,"text":"Dicht"}],"start":"2017-03-11T23:00:00.000Z","stop":"2017-03-12T04:00:00.000Z","reason":"Dicht. Van 12 maart 2017 00:00 uur tot 12 maart 2017 05:00 uur."},{"id":64156442,"road":"A9","segmentId":3461,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"knp. Beverwijk","fromLoc":{"lat":52.48608,"lon":4.69237},"to":"knp. Velsen","toLoc":{"lat":52.44144,"lon":4.66828},"polyline":"u~n_Iyvv[hCxCbClCzD~DlDfDfDrCdHlF~FvDvElC`ClApCrAzErBfDlAvDnAlGfB|HhClHvCzIfEjE~B`BbAfF`D~CxBtDrCzIjH","bounds":{"southWest":{"lat":52.48629,"lon":4.69246},"northEast":{"lat":52.51067,"lon":4.70909}},"events":[{"alertC":402,"text":"Dicht"}],"start":"2017-03-04T22:55:00.000Z","stop":"2017-03-05T04:00:00.000Z","reason":"Dicht. Van 4 maart 2017 23:55 uur tot 5 maart 2017 05:00 uur."}]},{"start":"Amstelveen","end":"Diemen","roadworks":[{"id":65008885,"road":"A9","segmentId":3460,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Amsterdam-Zuidoost","fromLoc":{"lat":52.30051,"lon":4.94963},"to":"Amsterdam-Zuidoost","toLoc":{"lat":52.30051,"lon":4.94963},"bounds":{"southWest":{"lat":52.29985,"lon":4.94788},"northEast":{"lat":52.30117,"lon":4.95308}},"events":[{"alertC":471,"text":"Oprit dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-06T04:00:00.000Z","reason":"Oprit dicht. Van 3 maart 2017 21:00 uur tot 6 maart 2017 05:00 uur."},{"id":65072843,"road":"A9","segmentId":3460,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Amsterdam-Zuidoost","fromLoc":{"lat":52.30051,"lon":4.94963},"to":"Amsterdam-Zuidoost","toLoc":{"lat":52.30051,"lon":4.94963},"bounds":{"southWest":{"lat":52.29985,"lon":4.94788},"northEast":{"lat":52.30117,"lon":4.95308}},"events":[{"alertC":471,"text":"Oprit dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-06T04:00:00.000Z","reason":"Oprit dicht. Van 3 maart 2017 21:00 uur tot 6 maart 2017 05:00 uur."},{"id":65008795,"road":"A9","segmentId":3460,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Bijlmermeer","fromLoc":{"lat":52.30774,"lon":4.97123},"to":"Bijlmermeer","toLoc":{"lat":52.30774,"lon":4.97123},"bounds":{"southWest":{"lat":52.30658,"lon":4.96777},"northEast":{"lat":52.30911,"lon":4.9752}},"events":[{"alertC":471,"text":"Oprit dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-06T04:00:00.000Z","reason":"Oprit dicht. Van 3 maart 2017 21:00 uur tot 6 maart 2017 05:00 uur."},{"id":65008731,"road":"A9","segmentId":3460,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Weesp","fromLoc":{"lat":52.31343,"lon":4.98834},"to":"Weesp","toLoc":{"lat":52.31343,"lon":4.98834},"bounds":{"southWest":{"lat":52.31279,"lon":4.98604},"northEast":{"lat":52.31384,"lon":4.98931}},"events":[{"alertC":471,"text":"Oprit dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-06T04:00:00.000Z","reason":"Oprit dicht. Van 3 maart 2017 21:00 uur tot 6 maart 2017 05:00 uur."},{"id":63019294,"road":"A9","segmentId":3460,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Amsterdam-Zuidoost","fromLoc":{"lat":52.30051,"lon":4.94963},"to":"knp. Diemen","toLoc":{"lat":52.33386,"lon":4.99969},"polyline":"ccg~Hqgi]aBkH{Z{oAcBuHsDiRyB_KwBmI}#_D_BiFwBmGkDmJwAiD{AcDyBoEsA_CkC{D}A{Ag#m#oCgEyAoBwAeB}#eBi#q#aDsCoAaAsGsEsEeEwAwAcC}C_CoD}AqCeDaHsAoD_AmCiCsI{#cD}#uEo#wDiBkP]qE_#aII_DEcG","bounds":{"southWest":{"lat":52.30658,"lon":4.96777},"northEast":{"lat":52.33171,"lon":5.02445}},"events":[{"alertC":402,"text":"Dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-06T04:00:00.000Z","reason":"Dicht. Van 3 maart 2017 21:00 uur tot 6 maart 2017 05:00 uur."}]}]},{"road":"A13","type":"a","segments":[{"start":"Den Haag","end":"Rotterdam","roadworks":[{"id":65073006,"road":"A13","segmentId":3040,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Delft-Zuid","fromLoc":{"lat":51.99687,"lon":4.3889},"to":"Delft-Zuid","toLoc":{"lat":51.99687,"lon":4.3889},"bounds":{"southWest":{"lat":51.9913,"lon":4.38634},"northEast":{"lat":52.00239,"lon":4.39107}},"events":[{"alertC":475,"text":"De afrit is dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-03T22:59:00.000Z","reason":"De afrit is dicht. Van 3 maart 2017 21:00 uur tot 3 maart 2017 23:59 uur."},{"id":65009143,"road":"A13","segmentId":3040,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Overschie","fromLoc":{"lat":51.93663,"lon":4.43231},"to":"Overschie","toLoc":{"lat":51.93663,"lon":4.43231},"bounds":{"southWest":{"lat":51.93206,"lon":4.4329},"northEast":{"lat":51.93593,"lon":4.43761}},"events":[{"alertC":474,"text":"Afrit dicht"}],"start":"2017-03-02T21:00:00.000Z","stop":"2017-03-04T05:00:00.000Z","reason":"Afrit dicht. Van 2 maart 2017 tot 4 maart 2017 dagelijks tussen 22:00 uur en 06:00 uur."}]}]},{"road":"A22","type":"a","segments":[{"start":"Beverwijk","end":"Velsen","roadworks":[{"id":65072631,"road":"A22","segmentId":3463,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Beverwijk","fromLoc":{"lat":52.47364,"lon":4.65357},"to":"Beverwijk","toLoc":{"lat":52.47364,"lon":4.65357},"bounds":{"southWest":{"lat":52.47195,"lon":4.65213},"northEast":{"lat":52.47653,"lon":4.65612}},"events":[{"alertC":471,"text":"Oprit dicht"}],"start":"2017-03-04T23:00:00.000Z","stop":"2017-03-05T04:00:00.000Z","reason":"Oprit dicht. Van 5 maart 2017 00:00 uur tot 5 maart 2017 05:00 uur."}]}]},{"road":"A32","type":"a","segments":[{"start":"Heerenveen","end":"Meppel","roadworks":[{"id":65072771,"road":"A32","segmentId":3240,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Meppel-Noord","fromLoc":{"lat":52.70365,"lon":6.20724},"to":"Meppel-Noord","toLoc":{"lat":52.70365,"lon":6.20724},"bounds":{"southWest":{"lat":52.70073,"lon":6.20649},"northEast":{"lat":52.70535,"lon":6.20836}},"events":[{"alertC":471,"text":"Oprit dicht"}],"start":"2017-03-04T20:00:00.000Z","stop":"2017-03-06T04:00:00.000Z","reason":"Oprit dicht. Van 4 maart 2017 21:00 uur tot 6 maart 2017 05:00 uur."},{"id":65009425,"road":"A32","segmentId":3240,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Meppel-Noord","fromLoc":{"lat":52.70365,"lon":6.20724},"to":"Meppel-Noord","toLoc":{"lat":52.70365,"lon":6.20724},"polyline":"m_u`Iqe{d#dIaClLwDpBi#t#Q","bounds":{"southWest":{"lat":52.70073,"lon":6.20649},"northEast":{"lat":52.70535,"lon":6.20836}},"events":[{"alertC":477,"text":"De op- en afrit is dicht"}],"start":"2017-03-03T18:00:00.000Z","stop":"2017-03-04T20:00:00.000Z","reason":"De op- en afrit is dicht. Van 3 maart 2017 19:00 uur tot 4 maart 2017 21:00 uur."}]}]},{"road":"A50","type":"a","segments":[{"start":"Arnhem","end":"Apeldoorn","roadworks":[{"id":65072914,"road":"A50","segmentId":3341,"codeDirection":1,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"afrit Loenen","fromLoc":{"lat":52.14013,"lon":5.99024},"to":"Apeldoorn","toLoc":{"lat":52.20747,"lon":6.02141},"polyline":"eef}Hmepc#cPe_#oDaIkIuQiEcJqK{T{ImQaMgVkDoGgD}F}BuDkCaEqDiFuGwI{E_GyCgDmEuEiCeCcC}BeHcG_BqAaI}FgDwBcDoBaGeDoCsA}DkBaEcBaFiBqDmAsBk#aE_AeC_#{BWgDS_DGiB#sBFmBJwANgDb#oCj#_Cj#oDjAsBz#sExBmo#|[sFlCaCfAgBp#aBl#sBl#sEfAkBXyAPsETeFDwBEiEY{Ca#eB[_PgD_i#{K_F}#sDi#","bounds":{"southWest":{"lat":52.13795,"lon":5.98631},"northEast":{"lat":52.2121,"lon":6.02821}},"events":[{"alertC":483,"text":"De hoofdrijbaan is dicht"}],"start":"2017-03-03T21:00:00.000Z","stop":"2017-03-04T06:30:00.000Z","reason":"De hoofdrijbaan is dicht. Van 3 maart 2017 22:00 uur tot 4 maart 2017 07:30 uur."}]},{"start":"Oss","end":"Eindhoven","roadworks":[{"id":64155931,"road":"A50","segmentId":3349,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Oss-Oost","fromLoc":{"lat":51.72743,"lon":5.57317},"to":"Oss-Oost","toLoc":{"lat":51.72743,"lon":5.57317},"bounds":{"southWest":{"lat":51.72751,"lon":5.57318},"northEast":{"lat":51.72805,"lon":5.57353}},"events":[{"alertC":406,"text":"De oprit is dicht"}],"start":"2017-03-04T20:00:00.000Z","stop":"2017-03-05T09:00:00.000Z","reason":"De oprit is dicht. Van 4 maart 2017 21:00 uur tot 5 maart 2017 10:00 uur."},{"id":64155804,"road":"A50","segmentId":3349,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"knp. Paalgraven","fromLoc":{"lat":51.7413,"lon":5.58601},"to":"Oss-Oost","toLoc":{"lat":51.72743,"lon":5.57317},"polyline":"iwxzHq|aa#zCtKj#fB`AfCzAxCn#fAfA|A~AjBxBlBpBlAjCjA~CfA`DpAnEvBdB~#fHdEtPnJ~^pS~C`BjB|#vClAhErArBh#rEv#lAPdBPlBL~BHxC#vCGvCQfBQvCa#zBa#~Aa#pDaAxHcCpLeE`FoBrFcCpLeGbGeDnDkBzB_AhC}#`AWfCg#fAQxAO~AM`BG|FIxBIfAIpASbB]nBq#rAm#rBoA~AoAlAiAj#o#nA_BhBoCbAkBbEwIbDwGnZsl#nBsDxAcCbD_FfCeDhBuBjCkC`CuBzBeB~CuB`DcBfD{AdBm#|Ag#tBi#tCi#lC_#lAMvHk#lFSrGIxF#rCDzFNjDD|B?tEInFUlDYxMsAhBMpCEnCDjCP`CZdCf#nBf#lC`AxAn#dCpArBpAdCjBnBfBpArAvA|ArBlClAdBvA~BdB`DxB|ErAdDrErMjOrc#fEhMzGtSdAfDvB|H~#~DpA`Hr#jEz#tGp#rG~LbxAdGtt#lFzp#f#tI^bH`#nJXjJVpPDjFDxSFzGLlFXxGb#rGn#|GbAnH`A`G~#jErAlF|AfF|AlEdC`GxAxCdBzCxA|BxBzCrBdCdBhBnAjAvBfBbDbCpA|#|CvAtAj#\\H","bounds":{"southWest":{"lat":51.62212,"lon":5.50238},"northEast":{"lat":51.74149,"lon":5.60047}},"events":[{"alertC":401,"text":"Dicht"}],"start":"2017-03-04T20:00:00.000Z","stop":"2017-03-05T09:00:00.000Z","reason":"Dicht. Van 4 maart 2017 21:00 uur tot 5 maart 2017 10:00 uur."},{"id":64155908,"road":"A50","segmentId":3349,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Nistelrode","fromLoc":{"lat":51.71503,"lon":5.5689},"to":"Nistelrode","toLoc":{"lat":51.71503,"lon":5.5689},"bounds":{"southWest":{"lat":51.71436,"lon":5.56862},"northEast":{"lat":51.71882,"lon":5.56887}},"events":[{"alertC":408,"text":"De op- en afrit is dicht"}],"start":"2017-03-04T20:00:00.000Z","stop":"2017-03-05T09:00:00.000Z","reason":"De op- en afrit is dicht. Van 4 maart 2017 21:00 uur tot 5 maart 2017 10:00 uur."},{"id":64155886,"road":"A50","segmentId":3349,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"afrit Zeeland","fromLoc":{"lat":51.67052,"lon":5.59974},"to":"afrit Zeeland","toLoc":{"lat":51.67052,"lon":5.59974},"bounds":{"southWest":{"lat":51.66721,"lon":5.59954},"northEast":{"lat":51.67238,"lon":5.59981}},"events":[{"alertC":408,"text":"De op- en afrit is dicht"}],"start":"2017-03-04T20:00:00.000Z","stop":"2017-03-05T09:00:00.000Z","reason":"De op- en afrit is dicht. Van 4 maart 2017 21:00 uur tot 5 maart 2017 10:00 uur."},{"id":64155860,"road":"A50","segmentId":3349,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"afrit Volkel","fromLoc":{"lat":51.65215,"lon":5.59866},"to":"afrit Volkel","toLoc":{"lat":51.65215,"lon":5.59866},"bounds":{"southWest":{"lat":51.64808,"lon":5.5944},"northEast":{"lat":51.65172,"lon":5.59843}},"events":[{"alertC":408,"text":"De op- en afrit is dicht"}],"start":"2017-03-04T20:00:00.000Z","stop":"2017-03-05T09:00:00.000Z","reason":"De op- en afrit is dicht. Van 4 maart 2017 21:00 uur tot 5 maart 2017 10:00 uur."},{"id":64155843,"road":"A50","segmentId":3349,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Veghel-Noord","fromLoc":{"lat":51.63799,"lon":5.57041},"to":"Veghel-Noord","toLoc":{"lat":51.63799,"lon":5.57041},"bounds":{"southWest":{"lat":51.63781,"lon":5.56766},"northEast":{"lat":51.63926,"lon":5.57451}},"events":[{"alertC":408,"text":"De op- en afrit is dicht"}],"start":"2017-03-04T20:00:00.000Z","stop":"2017-03-05T09:00:00.000Z","reason":"De op- en afrit is dicht. Van 4 maart 2017 21:00 uur tot 5 maart 2017 10:00 uur."},{"id":64155960,"road":"A50","segmentId":3349,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Veghel","fromLoc":{"lat":51.62566,"lon":5.50522},"to":"Veghel","toLoc":{"lat":51.62566,"lon":5.50522},"bounds":{"southWest":{"lat":51.62212,"lon":5.50238},"northEast":{"lat":51.62766,"lon":5.50727}},"events":[{"alertC":407,"text":"De afrit is dicht"}],"start":"2017-03-04T20:00:00.000Z","stop":"2017-03-05T09:00:00.000Z","reason":"De afrit is dicht. Van 4 maart 2017 21:00 uur tot 5 maart 2017 10:00 uur."}]}]},{"road":"N256","type":"n","segments":[{"start":"Goes","end":"Zierikzee","roadworks":[{"id":64811923,"road":"N256","segmentId":3151,"codeDirection":2,"type":"n","afrc":3,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"de Zeelandbrug","fromLoc":{"lat":51.61232,"lon":3.89141},"to":"de Zeelandbrug","toLoc":{"lat":51.61232,"lon":3.89141},"polyline":"mf|yH_qrVirEo}G","bounds":{"southWest":{"lat":51.59543,"lon":3.86848},"northEast":{"lat":51.62924,"lon":3.91432}},"events":[{"alertC":401,"text":"Dicht"}],"start":"2017-03-06T22:59:00.000Z","stop":"2017-03-07T04:00:00.000Z","reason":"Dicht. Van 6 maart 2017 23:59 uur tot 7 maart 2017 05:00 uur."}]},{"start":"Zierikzee","end":"Goes","roadworks":[{"id":648119230,"road":"N256","segmentId":3151,"codeDirection":2,"type":"n","afrc":3,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"de Zeelandbrug","fromLoc":{"lat":51.61232,"lon":3.89141},"to":"de Zeelandbrug","toLoc":{"lat":51.61232,"lon":3.89141},"polyline":"ezbzHcp{VriBvoCbhBlmC","bounds":{"southWest":{"lat":51.59543,"lon":3.86847},"northEast":{"lat":51.62931,"lon":3.91442}},"events":[{"alertC":401,"text":"Dicht"}],"start":"2017-03-06T22:59:00.000Z","stop":"2017-03-07T04:00:00.000Z","reason":"Dicht. Van 6 maart 2017 23:59 uur tot 7 maart 2017 05:00 uur."}]}]}],"totals":{"a":{"distance":2,"delay":15,"count":4},"n":{"distance":0,"delay":0,"count":0},"other":{"distance":0,"delay":0,"count":0},"all":{"distance":2,"delay":15,"count":4}}}
This seems to be working
var json = {"success":true,"variables":{"details":true,"polylines":true,"polylineBounds":true,"totals":true,"filterDetails":true,"filterPolylines":true},"dateTime":"2017-03-03T20:39:00.000Z","roads":[{"road":"A1","type":"a","segments":[{"start":"Amsterdam","end":"Amersfoort","roadworks":[{"id":64251658,"road":"A1","segmentId":3000,"codeDirection":1,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Diemen-Noord","fromLoc":{"lat":52.34558,"lon":4.97739},"to":"Naarden-West","toLoc":{"lat":52.30712,"lon":5.12852},"polyline":"}go~Hayi]fBoGhBqGrEqNlBwFjByE`BsD`AqBxAkC~BuDbDsEjJqL`CiDtBgDhB_DtCuFrBoEdCyFbCiGdAaDzA_F~AeGvAuG`AmF~#_G`BwLn#uFZaDh#_H\\iGT}FJ_EDcDDcH?gFGqP#wFCm#CiHDuOT}D`AyFn#{Eh#gJFeGGaB[gDa#oHg#kFKiF?aNAeNBmj#ByDJeFPaEX{Db#}Dp#{Ev#_FdBkJj#sC`DsNjAcFtFkTfC}KhGoZlB_K~AaJlBoL|BqMxR}cAvCcOzH}`#lB{KdByIvAqHtB}JbDoQnB}KhAiGbCqMvBoK`CqKrBkIlFoSv#oCfRis#z#gD~#gEv#eEVeBXqBZ}Ch#oHLyDFsD","bounds":{"southWest":{"lat":52.30562,"lon":4.97057},"northEast":{"lat":52.34831,"lon":5.13587}},"events":[{"alertC":402,"text":"Dicht"}],"start":"2017-03-10T20:00:00.000Z","stop":"2017-03-13T04:00:00.000Z","reason":"Dicht. Van 10 maart 2017 21:00 uur tot 13 maart 2017 05:00 uur."}]},{"start":"Amersfoort","end":"Amsterdam","roadworks":[{"id":64251694,"road":"A1","segmentId":3000,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"knp. Muiderberg","fromLoc":{"lat":52.31497,"lon":5.10514},"to":"Diemen-Noord","toLoc":{"lat":52.34558,"lon":4.97739},"polyline":"g~g~Hauf^aCtImBjHwBzIiBdIqBjKwA~G_CtM{#jEcDbQ_AzE{DbT_DnPwAzHyGh]SlBsA|I[tCo#pHyAfQy#bL{AvYg#bIq#zIw#lIkCjUqAxJs#hEy#nEgAdEoD|QyDlSyCtQmEtYqCzSsCvUcBvOeB~PmDdc#o#tIo#vLYtHQ|IEtEIpAE~UFrLBdSIhM_#lPShFMlBq#~Hm#xFe#~De#bDiAfHm#bDu#tDqA~FoA`FsAxEsDdLeDjIwA`DkClFkAxBmB`DiEpGyBtC}FlHsDfF_BhCgAjByAvCwAzC","bounds":{"southWest":{"lat":52.31092,"lon":4.97845},"northEast":{"lat":52.34515,"lon":5.11841}},"events":[{"alertC":402,"text":"Dicht"}],"start":"2017-03-10T20:00:00.000Z","stop":"2017-03-13T04:00:00.000Z","reason":"Dicht. Van 10 maart 2017 21:00 uur tot 13 maart 2017 05:00 uur."}]}]},{"road":"A2","type":"a","segments":[{"start":"Utrecht","end":"Amsterdam","jams":[{"id":2874308,"road":"A2","segmentId":3105,"codeDirection":1,"type":"a","afrc":0,"category":"jams","label":"closed","incidentType":"road-closed","from":"knp. Holendrecht naar de A9 richting Amersfoort","fromLoc":{"lat":52.29844,"lon":4.94386},"to":"knp. Holendrecht naar de A9 richting Amersfoort","toLoc":{"lat":52.29844,"lon":4.94386},"events":[{"alertC":478,"text":"Verbindingsweg dicht"},{"alertC":701,"text":"Wegwerkzaamheden"}],"reason":"Verbindingsweg dicht. Wegwerkzaamheden."}]},{"start":"Amsterdam","end":"Utrecht","jams":[{"id":2874307,"road":"A2","segmentId":3105,"codeDirection":0,"type":"a","afrc":0,"category":"jams","label":"closed","incidentType":"road-closed","from":"knp. Holendrecht naar de A9 richting Amersfoort","fromLoc":{"lat":52.29575,"lon":4.94041},"to":"knp. Holendrecht naar de A9 richting Amersfoort","toLoc":{"lat":52.29575,"lon":4.94041},"events":[{"alertC":478,"text":"Verbindingsweg dicht"},{"alertC":701,"text":"Wegwerkzaamheden"}],"reason":"Verbindingsweg dicht. Wegwerkzaamheden."}]},{"start":"Eindhoven","end":"Maastricht","jams":[{"id":2874311,"road":"A2","segmentId":3102,"codeDirection":0,"type":"a","afrc":0,"category":"jams","label":"closed","incidentType":"road-closed","from":"knp. Leenderheide","fromLoc":{"lat":51.40191,"lon":5.50359},"to":"afrit Valkenswaard","toLoc":{"lat":51.34987,"lon":5.54248},"polyline":"}duxHmnr`#nKmDpFeBzI{CnTaHdQ{FfBs#xBcAxAw#nEsC~BgBfCwBlL{KvAmAbcAg_ArO}N~f#od#pQuPjD{CxBkBrC{BlEeDvBiBlH{FfAaAlAoAtAaBlAcBtAyB","bounds":{"southWest":{"lat":51.3474,"lon":5.50647},"northEast":{"lat":51.39551,"lon":5.54508}},"events":[{"alertC":401,"text":"Dicht"},{"alertC":701,"text":"Wegwerkzaamheden"}],"reason":"Dicht. Wegwerkzaamheden."},{"id":2873561,"road":"A2","segmentId":3102,"codeDirection":0,"type":"a","afrc":0,"category":"jams","label":"accident","incidentType":"stationary-traffic","from":"Sint Joost","fromLoc":{"lat":51.13471,"lon":5.89665},"to":"Echt","toLoc":{"lat":51.10561,"lon":5.85314},"polyline":"}mawHag~b#`CfBvBfBpAlAvCzC`BnBvBpCfCtDnCrEzCfGv#bBbB~Dba#|cArGzOxEtK~ExJvBbEzFzJ","bounds":{"southWest":{"lat":51.11333,"lon":5.86563},"northEast":{"lat":51.13071,"lon":5.89441}},"events":[{"alertC":505,"text":"Twee rijstroken zijn dicht"},{"alertC":204,"text":"Door een ongeluk met een vrachtwagen"},{"alertC":101,"text":"Stilstaand verkeer","distance":2000}],"distance":2000,"delay":900,"start":"2017-03-03T19:25:00.000Z","reason":"Twee rijstroken zijn dicht. Door een ongeluk met een vrachtwagen."}],"roadworks":[{"id":65008319,"road":"A2","segmentId":3102,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"afrit Valkenswaard","fromLoc":{"lat":51.34987,"lon":5.54248},"to":"afrit Valkenswaard","toLoc":{"lat":51.34987,"lon":5.54248},"bounds":{"southWest":{"lat":51.34678,"lon":5.54006},"northEast":{"lat":51.35262,"lon":5.54611}},"events":[{"alertC":408,"text":"De op- en afrit is dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-04T10:00:00.000Z","reason":"De op- en afrit is dicht. Van 3 maart 2017 21:00 uur tot 4 maart 2017 11:00 uur."},{"id":65008287,"road":"A2","segmentId":3102,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Leende","fromLoc":{"lat":51.33866,"lon":5.56659},"to":"Leende","toLoc":{"lat":51.33866,"lon":5.56659},"bounds":{"southWest":{"lat":51.33678,"lon":5.56639},"northEast":{"lat":51.33861,"lon":5.57136}},"events":[{"alertC":471,"text":"Oprit dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-04T10:00:00.000Z","reason":"Oprit dicht. Van 3 maart 2017 21:00 uur tot 4 maart 2017 11:00 uur."},{"id":65008525,"road":"A2","segmentId":3102,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Maarheeze","fromLoc":{"lat":51.3123,"lon":5.60601},"to":"Maarheeze","toLoc":{"lat":51.3123,"lon":5.60601},"bounds":{"southWest":{"lat":51.31017,"lon":5.6036},"northEast":{"lat":51.31443,"lon":5.60828}},"events":[{"alertC":408,"text":"De op- en afrit is dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-04T10:00:00.000Z","reason":"De op- en afrit is dicht. Van 3 maart 2017 21:00 uur tot 4 maart 2017 11:00 uur."},{"id":65008291,"road":"A2","segmentId":3102,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"afrit Budel","fromLoc":{"lat":51.29803,"lon":5.6271},"to":"afrit Budel","toLoc":{"lat":51.29803,"lon":5.6271},"bounds":{"southWest":{"lat":51.29461,"lon":5.62468},"northEast":{"lat":51.29908,"lon":5.63383}},"events":[{"alertC":408,"text":"De op- en afrit is dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-06T05:00:00.000Z","reason":"De op- en afrit is dicht. Van 3 maart 2017 21:00 uur tot 6 maart 2017 06:00 uur."},{"id":65008351,"road":"A2","segmentId":3102,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Weert-Noord","fromLoc":{"lat":51.2763,"lon":5.66674},"to":"Weert-Noord","toLoc":{"lat":51.2763,"lon":5.66674},"bounds":{"southWest":{"lat":51.27616,"lon":5.65911},"northEast":{"lat":51.27791,"lon":5.67119}},"events":[{"alertC":474,"text":"Afrit dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-06T05:00:00.000Z","reason":"Afrit dicht. Van 3 maart 2017 21:00 uur tot 6 maart 2017 06:00 uur."},{"id":63519087,"road":"A2","segmentId":3102,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Maarheeze","fromLoc":{"lat":51.3123,"lon":5.60601},"to":"Weert-Noord","toLoc":{"lat":51.2763,"lon":5.66674},"polyline":"u{vxH_vp`#z#yEjAmEpAqDjAuCp#qAv#uAtAsBxAkB~#_AlAgA~AkAlAs#jCsAnBw#xIuCnAYvFoB~PuF`GuBdd#wNhDkAfBs#xBcAxAw#nEsC~BgBfCwBlL{KvAmAbcAg_ArO}N~f#od#pQuPjD{CxBkBrC{BlEeDvBiBlH{FfAaAtB{BzByCxA_CjBqDd#cA`AgCz#mC`f#caB~G}UtAaFpBuH|Qut#b#aB`AsC~#aCl#uAhBkDhBoClAcBlxAgmBbC}C`AkA|#_ArBsBhAaAdFeFjE_FxIkKnE}E`]y\\rBcC|#kAtAwBl#gAjB{DpAaDjjAmyCxAoDn#yAlBeDzAqBz#aAdAaAtAiAlGsExCeCzC}ChBwB~B}C|FqItDaGbCiE~CaG`CyErDeIzAmDl#gB|#sCjAoEn#sCh#wCb#mCl#wE^}Df#aIPaGD{CAiGIqFGcB","bounds":{"southWest":{"lat":51.27616,"lon":5.49744},"northEast":{"lat":51.40427,"lon":5.67119}},"events":[{"alertC":402,"text":"Dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-06T05:00:00.000Z","reason":"Dicht. Van 3 maart 2017 21:00 uur tot 6 maart 2017 06:00 uur."}]}]},{"road":"A8","type":"a","segments":[{"start":"Zaandam","end":"Amsterdam","roadworks":[{"id":65008622,"road":"A8","segmentId":3452,"codeDirection":1,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Zaandijk","fromLoc":{"lat":52.46387,"lon":4.80818},"to":"Zaandijk","toLoc":{"lat":52.46387,"lon":4.80818},"bounds":{"southWest":{"lat":52.46327,"lon":4.80552},"northEast":{"lat":52.46448,"lon":4.81089}},"events":[{"alertC":471,"text":"Oprit dicht"}],"start":"2017-03-03T22:00:00.000Z","stop":"2017-03-06T04:00:00.000Z","reason":"Oprit dicht. Van 3 maart 2017 23:00 uur tot 6 maart 2017 05:00 uur."}]}]},{"road":"A9","type":"a","segments":[{"start":"Diemen","end":"Amstelveen","roadworks":[{"id":65008965,"road":"A9","segmentId":3460,"codeDirection":1,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Bijlmermeer","fromLoc":{"lat":52.30774,"lon":4.97123},"to":"Bijlmermeer","toLoc":{"lat":52.30774,"lon":4.97123},"bounds":{"southWest":{"lat":52.3048,"lon":4.96248},"northEast":{"lat":52.31095,"lon":4.98022}},"events":[{"alertC":471,"text":"Oprit dicht"}],"start":"2017-03-03T21:00:00.000Z","stop":"2017-03-06T04:00:00.000Z","reason":"Oprit dicht. Van 3 maart 2017 22:00 uur tot 6 maart 2017 05:00 uur."}]},{"start":"Amstelveen","end":"Alkmaar","roadworks":[{"id":63020027,"road":"A9","segmentId":3461,"codeDirection":1,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"afrit Haarlem-Zuid","fromLoc":{"lat":52.37293,"lon":4.71035},"to":"knp. Rottepolderplein","toLoc":{"lat":52.38439,"lon":4.70737},"polyline":"kks~Huhx[sCxGuDjI_G|MsAlCeA~AmAtAe#b#s#h#{#d#g#Vm#TcAVcBR{ANiFZyIr#mJfAuCRcD\\sf#fEsIj#","bounds":{"southWest":{"lat":52.36934,"lon":4.70665},"northEast":{"lat":52.39025,"lon":4.71707}},"events":[{"alertC":402,"text":"Dicht"}],"start":"2017-03-04T23:00:00.000Z","stop":"2017-03-05T04:00:00.000Z","reason":"Dicht. Van 5 maart 2017 00:00 uur tot 5 maart 2017 05:00 uur."},{"id":64156557,"road":"A9","segmentId":3461,"codeDirection":1,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"knp. Raasdorp","fromLoc":{"lat":52.35687,"lon":4.73999},"to":"knp. Rottepolderplein","toLoc":{"lat":52.38439,"lon":4.70737},"polyline":"cuo~Hmd_\\iJvSeJ|SgH~Oel#~rAmE`KcBvDaXtm#iJjTuDjI_G|MsAlCa#p#u#dA{#|#e#b#wA`A_Ad#m#TcAVo#JoCViFZyIr#mJfAuCRcD\\sf#fEsIj#","bounds":{"southWest":{"lat":52.35042,"lon":4.70665},"northEast":{"lat":52.39025,"lon":4.75223}},"events":[{"alertC":402,"text":"Dicht"}],"start":"2017-03-12T00:00:00.000Z","stop":"2017-03-12T04:00:00.000Z","reason":"Dicht. Van 12 maart 2017 01:00 uur tot 12 maart 2017 05:00 uur."},{"id":64670523,"road":"A9","segmentId":3461,"codeDirection":1,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"knp. Rottepolderplein","fromLoc":{"lat":52.38439,"lon":4.70737},"to":"de Wijkertunnel","toLoc":{"lat":52.45815,"lon":4.67059},"polyline":"upu~H_qv[_EZcD\\sf#fE_Kp#mTtB{k#bFoCZeC^qDt#mD~#{DpAiFjBsm#xWqGzCgCxAyBxAwAdA_DlC_C|B_ChCiB~BmBjCkAfBiB|CcCrEmCxF}K|VqAlC{BhEu#pAcC~DoBrCqAhB}D~EwA~AsG`Hya#|b#wAfBiEhEqBlB{BnByAjAaCbB_BbAqBhA{BdAsDxAaCt#yD|#_En#eDXcDL}A#yBA}BIwDYgEq#eB_#_Cm#oVyHcAa#q#QcDaA}A_#gBm#eCs#mFiB{B}#mEeBuCsA","bounds":{"southWest":{"lat":52.38043,"lon":4.66701},"northEast":{"lat":52.46138,"lon":4.70816}},"events":[{"alertC":401,"text":"Dicht"}],"start":"2017-03-04T22:30:00.000Z","stop":"2017-03-05T05:00:00.000Z","reason":"Dicht. Van 4 maart 2017 23:30 uur tot 5 maart 2017 06:00 uur."}]},{"start":"Alkmaar","end":"Amstelveen","roadworks":[{"id":64156522,"road":"A9","segmentId":3461,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Heemskerk","fromLoc":{"lat":52.50888,"lon":4.70739},"to":"knp. Beverwijk","toLoc":{"lat":52.48608,"lon":4.69237},"polyline":"u~n_Iyvv[hCxCbClCzD~DlDfDfDrCdHlF~FvDvElC`ClApCrAzErBfDlAvDnAlGfB|HhClHvCzIfEjE~B`BbAfF`D~CxBtDrCzIjH","bounds":{"southWest":{"lat":52.48629,"lon":4.69246},"northEast":{"lat":52.51067,"lon":4.70909}},"events":[{"alertC":402,"text":"Dicht"}],"start":"2017-03-11T23:00:00.000Z","stop":"2017-03-12T04:00:00.000Z","reason":"Dicht. Van 12 maart 2017 00:00 uur tot 12 maart 2017 05:00 uur."},{"id":64156442,"road":"A9","segmentId":3461,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"knp. Beverwijk","fromLoc":{"lat":52.48608,"lon":4.69237},"to":"knp. Velsen","toLoc":{"lat":52.44144,"lon":4.66828},"polyline":"u~n_Iyvv[hCxCbClCzD~DlDfDfDrCdHlF~FvDvElC`ClApCrAzErBfDlAvDnAlGfB|HhClHvCzIfEjE~B`BbAfF`D~CxBtDrCzIjH","bounds":{"southWest":{"lat":52.48629,"lon":4.69246},"northEast":{"lat":52.51067,"lon":4.70909}},"events":[{"alertC":402,"text":"Dicht"}],"start":"2017-03-04T22:55:00.000Z","stop":"2017-03-05T04:00:00.000Z","reason":"Dicht. Van 4 maart 2017 23:55 uur tot 5 maart 2017 05:00 uur."}]},{"start":"Amstelveen","end":"Diemen","roadworks":[{"id":65008885,"road":"A9","segmentId":3460,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Amsterdam-Zuidoost","fromLoc":{"lat":52.30051,"lon":4.94963},"to":"Amsterdam-Zuidoost","toLoc":{"lat":52.30051,"lon":4.94963},"bounds":{"southWest":{"lat":52.29985,"lon":4.94788},"northEast":{"lat":52.30117,"lon":4.95308}},"events":[{"alertC":471,"text":"Oprit dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-06T04:00:00.000Z","reason":"Oprit dicht. Van 3 maart 2017 21:00 uur tot 6 maart 2017 05:00 uur."},{"id":65072843,"road":"A9","segmentId":3460,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Amsterdam-Zuidoost","fromLoc":{"lat":52.30051,"lon":4.94963},"to":"Amsterdam-Zuidoost","toLoc":{"lat":52.30051,"lon":4.94963},"bounds":{"southWest":{"lat":52.29985,"lon":4.94788},"northEast":{"lat":52.30117,"lon":4.95308}},"events":[{"alertC":471,"text":"Oprit dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-06T04:00:00.000Z","reason":"Oprit dicht. Van 3 maart 2017 21:00 uur tot 6 maart 2017 05:00 uur."},{"id":65008795,"road":"A9","segmentId":3460,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Bijlmermeer","fromLoc":{"lat":52.30774,"lon":4.97123},"to":"Bijlmermeer","toLoc":{"lat":52.30774,"lon":4.97123},"bounds":{"southWest":{"lat":52.30658,"lon":4.96777},"northEast":{"lat":52.30911,"lon":4.9752}},"events":[{"alertC":471,"text":"Oprit dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-06T04:00:00.000Z","reason":"Oprit dicht. Van 3 maart 2017 21:00 uur tot 6 maart 2017 05:00 uur."},{"id":65008731,"road":"A9","segmentId":3460,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Weesp","fromLoc":{"lat":52.31343,"lon":4.98834},"to":"Weesp","toLoc":{"lat":52.31343,"lon":4.98834},"bounds":{"southWest":{"lat":52.31279,"lon":4.98604},"northEast":{"lat":52.31384,"lon":4.98931}},"events":[{"alertC":471,"text":"Oprit dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-06T04:00:00.000Z","reason":"Oprit dicht. Van 3 maart 2017 21:00 uur tot 6 maart 2017 05:00 uur."},{"id":63019294,"road":"A9","segmentId":3460,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Amsterdam-Zuidoost","fromLoc":{"lat":52.30051,"lon":4.94963},"to":"knp. Diemen","toLoc":{"lat":52.33386,"lon":4.99969},"polyline":"ccg~Hqgi]aBkH{Z{oAcBuHsDiRyB_KwBmI}#_D_BiFwBmGkDmJwAiD{AcDyBoEsA_CkC{D}A{Ag#m#oCgEyAoBwAeB}#eBi#q#aDsCoAaAsGsEsEeEwAwAcC}C_CoD}AqCeDaHsAoD_AmCiCsI{#cD}#uEo#wDiBkP]qE_#aII_DEcG","bounds":{"southWest":{"lat":52.30658,"lon":4.96777},"northEast":{"lat":52.33171,"lon":5.02445}},"events":[{"alertC":402,"text":"Dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-06T04:00:00.000Z","reason":"Dicht. Van 3 maart 2017 21:00 uur tot 6 maart 2017 05:00 uur."}]}]},{"road":"A13","type":"a","segments":[{"start":"Den Haag","end":"Rotterdam","roadworks":[{"id":65073006,"road":"A13","segmentId":3040,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Delft-Zuid","fromLoc":{"lat":51.99687,"lon":4.3889},"to":"Delft-Zuid","toLoc":{"lat":51.99687,"lon":4.3889},"bounds":{"southWest":{"lat":51.9913,"lon":4.38634},"northEast":{"lat":52.00239,"lon":4.39107}},"events":[{"alertC":475,"text":"De afrit is dicht"}],"start":"2017-03-03T20:00:00.000Z","stop":"2017-03-03T22:59:00.000Z","reason":"De afrit is dicht. Van 3 maart 2017 21:00 uur tot 3 maart 2017 23:59 uur."},{"id":65009143,"road":"A13","segmentId":3040,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Overschie","fromLoc":{"lat":51.93663,"lon":4.43231},"to":"Overschie","toLoc":{"lat":51.93663,"lon":4.43231},"bounds":{"southWest":{"lat":51.93206,"lon":4.4329},"northEast":{"lat":51.93593,"lon":4.43761}},"events":[{"alertC":474,"text":"Afrit dicht"}],"start":"2017-03-02T21:00:00.000Z","stop":"2017-03-04T05:00:00.000Z","reason":"Afrit dicht. Van 2 maart 2017 tot 4 maart 2017 dagelijks tussen 22:00 uur en 06:00 uur."}]}]},{"road":"A22","type":"a","segments":[{"start":"Beverwijk","end":"Velsen","roadworks":[{"id":65072631,"road":"A22","segmentId":3463,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Beverwijk","fromLoc":{"lat":52.47364,"lon":4.65357},"to":"Beverwijk","toLoc":{"lat":52.47364,"lon":4.65357},"bounds":{"southWest":{"lat":52.47195,"lon":4.65213},"northEast":{"lat":52.47653,"lon":4.65612}},"events":[{"alertC":471,"text":"Oprit dicht"}],"start":"2017-03-04T23:00:00.000Z","stop":"2017-03-05T04:00:00.000Z","reason":"Oprit dicht. Van 5 maart 2017 00:00 uur tot 5 maart 2017 05:00 uur."}]}]},{"road":"A32","type":"a","segments":[{"start":"Heerenveen","end":"Meppel","roadworks":[{"id":65072771,"road":"A32","segmentId":3240,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Meppel-Noord","fromLoc":{"lat":52.70365,"lon":6.20724},"to":"Meppel-Noord","toLoc":{"lat":52.70365,"lon":6.20724},"bounds":{"southWest":{"lat":52.70073,"lon":6.20649},"northEast":{"lat":52.70535,"lon":6.20836}},"events":[{"alertC":471,"text":"Oprit dicht"}],"start":"2017-03-04T20:00:00.000Z","stop":"2017-03-06T04:00:00.000Z","reason":"Oprit dicht. Van 4 maart 2017 21:00 uur tot 6 maart 2017 05:00 uur."},{"id":65009425,"road":"A32","segmentId":3240,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Meppel-Noord","fromLoc":{"lat":52.70365,"lon":6.20724},"to":"Meppel-Noord","toLoc":{"lat":52.70365,"lon":6.20724},"polyline":"m_u`Iqe{d#dIaClLwDpBi#t#Q","bounds":{"southWest":{"lat":52.70073,"lon":6.20649},"northEast":{"lat":52.70535,"lon":6.20836}},"events":[{"alertC":477,"text":"De op- en afrit is dicht"}],"start":"2017-03-03T18:00:00.000Z","stop":"2017-03-04T20:00:00.000Z","reason":"De op- en afrit is dicht. Van 3 maart 2017 19:00 uur tot 4 maart 2017 21:00 uur."}]}]},{"road":"A50","type":"a","segments":[{"start":"Arnhem","end":"Apeldoorn","roadworks":[{"id":65072914,"road":"A50","segmentId":3341,"codeDirection":1,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"afrit Loenen","fromLoc":{"lat":52.14013,"lon":5.99024},"to":"Apeldoorn","toLoc":{"lat":52.20747,"lon":6.02141},"polyline":"eef}Hmepc#cPe_#oDaIkIuQiEcJqK{T{ImQaMgVkDoGgD}F}BuDkCaEqDiFuGwI{E_GyCgDmEuEiCeCcC}BeHcG_BqAaI}FgDwBcDoBaGeDoCsA}DkBaEcBaFiBqDmAsBk#aE_AeC_#{BWgDS_DGiB#sBFmBJwANgDb#oCj#_Cj#oDjAsBz#sExBmo#|[sFlCaCfAgBp#aBl#sBl#sEfAkBXyAPsETeFDwBEiEY{Ca#eB[_PgD_i#{K_F}#sDi#","bounds":{"southWest":{"lat":52.13795,"lon":5.98631},"northEast":{"lat":52.2121,"lon":6.02821}},"events":[{"alertC":483,"text":"De hoofdrijbaan is dicht"}],"start":"2017-03-03T21:00:00.000Z","stop":"2017-03-04T06:30:00.000Z","reason":"De hoofdrijbaan is dicht. Van 3 maart 2017 22:00 uur tot 4 maart 2017 07:30 uur."}]},{"start":"Oss","end":"Eindhoven","roadworks":[{"id":64155931,"road":"A50","segmentId":3349,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Oss-Oost","fromLoc":{"lat":51.72743,"lon":5.57317},"to":"Oss-Oost","toLoc":{"lat":51.72743,"lon":5.57317},"bounds":{"southWest":{"lat":51.72751,"lon":5.57318},"northEast":{"lat":51.72805,"lon":5.57353}},"events":[{"alertC":406,"text":"De oprit is dicht"}],"start":"2017-03-04T20:00:00.000Z","stop":"2017-03-05T09:00:00.000Z","reason":"De oprit is dicht. Van 4 maart 2017 21:00 uur tot 5 maart 2017 10:00 uur."},{"id":64155804,"road":"A50","segmentId":3349,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"knp. Paalgraven","fromLoc":{"lat":51.7413,"lon":5.58601},"to":"Oss-Oost","toLoc":{"lat":51.72743,"lon":5.57317},"polyline":"iwxzHq|aa#zCtKj#fB`AfCzAxCn#fAfA|A~AjBxBlBpBlAjCjA~CfA`DpAnEvBdB~#fHdEtPnJ~^pS~C`BjB|#vClAhErArBh#rEv#lAPdBPlBL~BHxC#vCGvCQfBQvCa#zBa#~Aa#pDaAxHcCpLeE`FoBrFcCpLeGbGeDnDkBzB_AhC}#`AWfCg#fAQxAO~AM`BG|FIxBIfAIpASbB]nBq#rAm#rBoA~AoAlAiAj#o#nA_BhBoCbAkBbEwIbDwGnZsl#nBsDxAcCbD_FfCeDhBuBjCkC`CuBzBeB~CuB`DcBfD{AdBm#|Ag#tBi#tCi#lC_#lAMvHk#lFSrGIxF#rCDzFNjDD|B?tEInFUlDYxMsAhBMpCEnCDjCP`CZdCf#nBf#lC`AxAn#dCpArBpAdCjBnBfBpArAvA|ArBlClAdBvA~BdB`DxB|ErAdDrErMjOrc#fEhMzGtSdAfDvB|H~#~DpA`Hr#jEz#tGp#rG~LbxAdGtt#lFzp#f#tI^bH`#nJXjJVpPDjFDxSFzGLlFXxGb#rGn#|GbAnH`A`G~#jErAlF|AfF|AlEdC`GxAxCdBzCxA|BxBzCrBdCdBhBnAjAvBfBbDbCpA|#|CvAtAj#\\H","bounds":{"southWest":{"lat":51.62212,"lon":5.50238},"northEast":{"lat":51.74149,"lon":5.60047}},"events":[{"alertC":401,"text":"Dicht"}],"start":"2017-03-04T20:00:00.000Z","stop":"2017-03-05T09:00:00.000Z","reason":"Dicht. Van 4 maart 2017 21:00 uur tot 5 maart 2017 10:00 uur."},{"id":64155908,"road":"A50","segmentId":3349,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Nistelrode","fromLoc":{"lat":51.71503,"lon":5.5689},"to":"Nistelrode","toLoc":{"lat":51.71503,"lon":5.5689},"bounds":{"southWest":{"lat":51.71436,"lon":5.56862},"northEast":{"lat":51.71882,"lon":5.56887}},"events":[{"alertC":408,"text":"De op- en afrit is dicht"}],"start":"2017-03-04T20:00:00.000Z","stop":"2017-03-05T09:00:00.000Z","reason":"De op- en afrit is dicht. Van 4 maart 2017 21:00 uur tot 5 maart 2017 10:00 uur."},{"id":64155886,"road":"A50","segmentId":3349,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"afrit Zeeland","fromLoc":{"lat":51.67052,"lon":5.59974},"to":"afrit Zeeland","toLoc":{"lat":51.67052,"lon":5.59974},"bounds":{"southWest":{"lat":51.66721,"lon":5.59954},"northEast":{"lat":51.67238,"lon":5.59981}},"events":[{"alertC":408,"text":"De op- en afrit is dicht"}],"start":"2017-03-04T20:00:00.000Z","stop":"2017-03-05T09:00:00.000Z","reason":"De op- en afrit is dicht. Van 4 maart 2017 21:00 uur tot 5 maart 2017 10:00 uur."},{"id":64155860,"road":"A50","segmentId":3349,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"afrit Volkel","fromLoc":{"lat":51.65215,"lon":5.59866},"to":"afrit Volkel","toLoc":{"lat":51.65215,"lon":5.59866},"bounds":{"southWest":{"lat":51.64808,"lon":5.5944},"northEast":{"lat":51.65172,"lon":5.59843}},"events":[{"alertC":408,"text":"De op- en afrit is dicht"}],"start":"2017-03-04T20:00:00.000Z","stop":"2017-03-05T09:00:00.000Z","reason":"De op- en afrit is dicht. Van 4 maart 2017 21:00 uur tot 5 maart 2017 10:00 uur."},{"id":64155843,"road":"A50","segmentId":3349,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Veghel-Noord","fromLoc":{"lat":51.63799,"lon":5.57041},"to":"Veghel-Noord","toLoc":{"lat":51.63799,"lon":5.57041},"bounds":{"southWest":{"lat":51.63781,"lon":5.56766},"northEast":{"lat":51.63926,"lon":5.57451}},"events":[{"alertC":408,"text":"De op- en afrit is dicht"}],"start":"2017-03-04T20:00:00.000Z","stop":"2017-03-05T09:00:00.000Z","reason":"De op- en afrit is dicht. Van 4 maart 2017 21:00 uur tot 5 maart 2017 10:00 uur."},{"id":64155960,"road":"A50","segmentId":3349,"codeDirection":0,"type":"a","afrc":0,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"Veghel","fromLoc":{"lat":51.62566,"lon":5.50522},"to":"Veghel","toLoc":{"lat":51.62566,"lon":5.50522},"bounds":{"southWest":{"lat":51.62212,"lon":5.50238},"northEast":{"lat":51.62766,"lon":5.50727}},"events":[{"alertC":407,"text":"De afrit is dicht"}],"start":"2017-03-04T20:00:00.000Z","stop":"2017-03-05T09:00:00.000Z","reason":"De afrit is dicht. Van 4 maart 2017 21:00 uur tot 5 maart 2017 10:00 uur."}]}]},{"road":"N256","type":"n","segments":[{"start":"Goes","end":"Zierikzee","roadworks":[{"id":64811923,"road":"N256","segmentId":3151,"codeDirection":2,"type":"n","afrc":3,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"de Zeelandbrug","fromLoc":{"lat":51.61232,"lon":3.89141},"to":"de Zeelandbrug","toLoc":{"lat":51.61232,"lon":3.89141},"polyline":"mf|yH_qrVirEo}G","bounds":{"southWest":{"lat":51.59543,"lon":3.86848},"northEast":{"lat":51.62924,"lon":3.91432}},"events":[{"alertC":401,"text":"Dicht"}],"start":"2017-03-06T22:59:00.000Z","stop":"2017-03-07T04:00:00.000Z","reason":"Dicht. Van 6 maart 2017 23:59 uur tot 7 maart 2017 05:00 uur."}]},{"start":"Zierikzee","end":"Goes","roadworks":[{"id":648119230,"road":"N256","segmentId":3151,"codeDirection":2,"type":"n","afrc":3,"category":"roadworks","label":"closed","incidentType":"road-closed","from":"de Zeelandbrug","fromLoc":{"lat":51.61232,"lon":3.89141},"to":"de Zeelandbrug","toLoc":{"lat":51.61232,"lon":3.89141},"polyline":"ezbzHcp{VriBvoCbhBlmC","bounds":{"southWest":{"lat":51.59543,"lon":3.86847},"northEast":{"lat":51.62931,"lon":3.91442}},"events":[{"alertC":401,"text":"Dicht"}],"start":"2017-03-06T22:59:00.000Z","stop":"2017-03-07T04:00:00.000Z","reason":"Dicht. Van 6 maart 2017 23:59 uur tot 7 maart 2017 05:00 uur."}]}]}],"totals":{"a":{"distance":2,"delay":15,"count":4},"n":{"distance":0,"delay":0,"count":0},"other":{"distance":0,"delay":0,"count":0},"all":{"distance":2,"delay":15,"count":4}}};
alert(json.roads[0].segments[0].roadworks[0]);
Related
How can we get the data for a player within a 45 days report rolling period
I have a sql table cool off which has records as shown below AccountID CoolOff_Created_DT CoolOff_End_DT Endcycle45days 12345 10-01-2022 00:48 13-01-2022 05:00 27-02-2022 05:00 12345 13-01-2022 11:43 17-01-2022 05:00 03-03-2022 05:00 12345 20-01-2022 03:42 23-01-2022 05:00 09-03-2022 05:00 12345 23-01-2022 15:32 29-01-2022 05:00 15-03-2022 05:00 I need a sql query to get the records for each accountid within the first cycleend45daysperiod(27-02-2022) from the first cool off end date (13-01-2022) Output in physical table for the first cycle should be something like shown below and next cycle will start after end of 45 days cycle AccountID CoolOff_Created_DT CoolOff_End_DT Endcycle45days 12345 10-01-2022 00:48 13-01-2022 05:00 27-02-2022 05:00 12345 13-01-2022 11:43 17-01-2022 05:00 27-02-2022 05:00 12345 20-01-2022 03:42 23-01-2022 05:00 27-02-2022 05:00 12345 23-01-2022 15:32 29-01-2022 05:00 27-02-2022 05:00 Next cycle AccountID CoolOff_Created_DT CoolOff_End_DT Endcycle45days 12345 07-03-2022 00:44 12-03-2022 05:00 26-04-2022 05:00 12345 15-04-2022 04:00 21-04-2022 18:00 26-04-2022 05:00
SQL uncondensing data / generating more rows containing similar data
I have some data which is very variable in it's update frequency (doesn't change for ages, then changes very often). I sample it according to a schedule I create and end up with the table below: periodStart periodEnd variable 01/10/2019 00:06 01/10/2019 01:00 0.61 01/10/2019 01:00 01/10/2019 02:00 0.61 01/10/2019 02:00 01/10/2019 03:00 0.61 01/10/2019 03:00 01/10/2019 04:00 0.61 01/10/2019 04:00 01/10/2019 05:00 0.61 01/10/2019 05:00 01/10/2019 06:00 0.61 01/10/2019 06:00 01/10/2019 07:00 0.61 01/10/2019 07:00 01/10/2019 08:00 0.61 01/10/2019 08:00 01/10/2019 09:00 0.59 01/10/2019 09:00 01/10/2019 10:00 0.59 01/10/2019 10:00 01/10/2019 11:00 0.59 01/10/2019 11:00 01/10/2019 12:00 0.58 I am trying to condense the database so stored it the alternative form below. I also need to retain access to the original sampling timestamps (periodStart and periodEnd), so created 'samplingInterval'. Using this you can determine all original periodStart and periodEnd timestamps from the new periodStart and periodEnd. periodStart periodEnd samplingInterval(mins) variable 01/10/2019 00:06 01/10/2019 01:00 54 0.61 01/10/2019 01:00 01/10/2019 08:00 60 0.61 01/10/2019 08:00 01/10/2019 11:00 60 0.59 01/10/2019 11:00 01/10/2019 12:00 60 0.58 The issue I am having is writing a query to SELECT the table in the original form from it's condensed form. I'm comfortable writing a query using a SQL variable, thinking I could use a loop (in a stored procedure, which is less than ideal) but I just don't know how to output the row without advancing to the next row. Is it possible? Should I be approaching it differently?
You may use a Recursive Query as the following: With recursive cte as ( select periodStart st, adddate(periodStart , interval samplingInterval minute) en ,periodEnd,variable,samplingInterval si From condensed Union All select adddate(st, interval si minute), adddate(en, interval si minute), periodEnd,variable,si from cte where adddate(st , interval si minute)<periodEnd ) select st as periodStart,en as periodEnd,variable from cte order by st; See a deom from db-fiddle.
How to hide Reporting Service's details
Is there any way of hide the details (Date) of URL in Reporting Services? miércoles, 31 de octubre de 2018 16:16 <dir> Gestion de Cobranzas jueves, 17 de mayo de 2018 18:48 <dir> Gestión Proveedores viernes, 18 de mayo de 2018 9:59 <dir> IT lunes, 28 de enero de 2019 10:05 <dir> Reportes Comerciales miércoles, 12 de septiembre de 2018 13:12 <dir> Reportes Operativos viernes, 18 de mayo de 2018 9:46 <dir> Reportes RRHH miércoles, 04 de julio de 2018 15:11 <dir> Reportes RRHH Sucursales miércoles, 28 de noviembre de 2018 15:31 <ds> Servidor de Reportes I'm using SSRR2012
Transpose csv structure using python pandas
I have the following csv structure: 'Country' '1960' '1961' '1962' AUS 450 567 723 NZ 125 320 IND 350 375 395 SL PAK 100 115 218 Using Python Pandas how do I convert(transpose) the above structure to the following? 'Country' 'Year' 'Value' AUS 1960 450 AUS 1961 567 AUS 1962 723 NZ 1960 NZ 1961 125 ... My attempts at using pivot have been futile.
In [19]: df Out[19]: year 1960 1961 1962 Country AUS 450 567 723 NZ NaN 125 320 IND 350 375 395 SL NaN NaN NaN PAK 100 115 218 In [20]: df.stack().reset_index() Out[20]: Country year 0 0 AUS 1960 450 1 AUS 1961 567 2 AUS 1962 723 3 NZ 1961 125 4 NZ 1962 320 5 IND 1960 350 6 IND 1961 375 7 IND 1962 395 8 PAK 1960 100 9 PAK 1961 115 10 PAK 1962 218 Apparently NaN are dropped along the way.
Building a query in Access to work with time
This is my second post and it is about the same subject, I start to work with Access a little time, so I need your help to build one query that have some variables. The scenarios I need to do a query to show how many time one person remained inside the office, but the different of my first post is I need to see the details of operations. The main list will be create one item when a person entry in the office and create other item when the person out the office, but exist some variables 1 – I have more one building 2 – Each building have a lot of turnstiles, and I need to define only the turnstile of main hall 3 – Some times we have a system problems, and the system not create the item of entry / out Follow an example of list ID Full Name Date Time Status Turnstile Office 1 Andre Silva 02/25/2013 09:00 AM In 03 SP 2 Andre Silva 02/25/2013 09:10 AM In 05 SP 3 Andre Silva 02/25/2013 12:00 PM Out 06 SP 4 Andre Silva 02/25/2013 12:10 PM Out 02 SP 5 Andre Silva 02/25/2013 14:00 PM In 02 SP 6 Andre Silva 02/25/2013 14:10 PM In 05 SP 7 Andre Silva 02/25/2013 19:00 PM Out 06 SP 8 Andre Silva 02/25/2013 19:10 PM Out 02 SP 9 Andre Silva 02/26/2013 14:00 PM In 03 BH 10 Andre Silva 02/26/2013 14:10 PM In 05 BH 11 Andre Silva 02/26/2013 23:55 PM Out 06 BH 12 Andre Silva 02/27/2013 01:10 AM Out 03 BH 13 Andre Silva 02/28/2013 09:00 AM In 03 RJ 14 Andre Silva 02/28/2013 09:10 AM In 05 RJ 15 Andre Silva 02/28/2013 12:00 PM Out 05 RJ 16 Andre Silva 02/29/2013 11:00 AM In 05 SP 17 Andre Silva 02/29/2013 17:10 PM Out 06 SP 18 Andre Silva 02/29/2013 17:20 PM Out 03 SP Based in the main list I need create a query with this format Full Name Date Turnstile Time Date Turnstile Time Office Total Time Andre Silva 02/25/2013 03 09:00 AM 02/25/2013 02 12:10 PM SP 03:10 Andre Silva 02/25/2013 02 14:00 PM 02/25/2013 02 19:10 PM SP 05:10 Andre Silva 02/26/2013 03 14:00 PM 02/27/2013 03 01:00 AM BH 11:00 Andre Silva 02/28/2013 03 09:10 AM RJ Not found a records of out Andre Silva 02/29/2013 03 17:20 PM SP Not found a records of in I need see the interval between the in/out of turnstile 02/03 in the same office, and when one item of entry/out not found the answer should be 0. I tried to use the standard queries of Access, like a crosstab or tried to create an expression with IFF, but no have success. Thanks a lot André
it is not answer but i have no time and this query may help you SELECT t1.FullName, t1.Office, t1.DateTime, t1.status, sum(IIf(isnull(t2.status),0,IIf(t2.status="In",1,-1))) AS deep_before, sum(IIf(isnull(t2.status),0,IIf(t2.status="In",1,-1))) +IIf(t1.status="In",1,-1) AS deep_after FROM Table1 AS t1 LEFT JOIN Table1 AS t2 ON (t1.FullName=t2.FullName) AND (t1.Office=t2.Office) AND (t1.Datetime>t2.DateTime) GROUP BY t1.FullName, t1.Office, t1.DateTime, t1.status; tomorrow may be i see it again