Skip to content

Instantly share code, notes, and snippets.

@iqbalmalik89
Created April 27, 2015 18:16
Show Gist options
  • Save iqbalmalik89/d0935e423b3639a8ebc2 to your computer and use it in GitHub Desktop.
Save iqbalmalik89/d0935e423b3639a8ebc2 to your computer and use it in GitHub Desktop.
{
"Response": {
"MetaInfo": {
"Timestamp": "2015-04-27T18:05:45.856Z",
"AdditionalData": [
{
"value": "2015-04-27T18:05:00.040+0000",
"key": "CurrentTrafficLastUpdate"
},
{
"value": "11235442",
"key": "CurrentTrafficElementsCount"
},
{
"value": "2015-04-27T18:05:03.653+0000",
"key": "LongTermClosureLastUpdate"
},
{
"value": "35638",
"key": "LongTermClosureElementsCount"
},
{
"value": "2015-04-27T18:05:03.653+0000",
"key": "ShortTermClosureLastUpdate"
},
{
"value": "2172",
"key": "ShortTermClosureElementsCount"
},
{
"value": "2014Q4",
"key": "Map0"
},
{
"value": "routeserver,9.3-2015.04.13",
"key": "Module0"
},
{
"value": "18",
"key": "Module0ExecTime"
},
{
"value": "18246",
"key": "Module0ExecTimeMicro"
},
{
"value": "routing-route-service,6.2.56.0",
"key": "Service"
}
]
},
"Route": [
{
"RouteId": "REM8yjIAAAB2Tx4Wav1EQGpN845T-FXAAAAA4HL9REAAAAAgW_hVwAAAAAAAAPB_AAAAAAAA8H9VtnU3rYvbaADPEwFd_kP67etXAQMAAAD_zhMBAQAAgPHrVwEDAAAAAADA_wEAAAAAAMD_aR0pCYcHtYTjob4X2h8eiZg3uPHjvAH8",
"Waypoint": [
{
"LinkId": "+930461269",
"MappedPosition": {
"Latitude": 41.9800682,
"Longitude": -87.8805618
},
"OriginalPosition": {
"Latitude": 41.9798,
"Longitude": -87.8801
},
"Type": "stopOver"
},
{
"LinkId": "-1035319462",
"MappedPosition": {
"Latitude": 41.9042892,
"Longitude": -87.9216537
},
"OriginalPosition": {
"Latitude": 41.9043,
"Longitude": -87.9216
},
"Type": "stopOver"
}
],
"Mode": {
"Type": "fastest",
"TransportModes": [
"truck"
],
"Feature": []
},
"Leg": [
{
"Start": {
"LinkId": "+930461269",
"MappedPosition": {
"Latitude": 41.9800682,
"Longitude": -87.8805618
},
"OriginalPosition": {
"Latitude": 41.9798,
"Longitude": -87.8801
},
"Type": "stopOver"
},
"End": {
"LinkId": "-1035319462",
"MappedPosition": {
"Latitude": 41.9042892,
"Longitude": -87.9216537
},
"OriginalPosition": {
"Latitude": 41.9043,
"Longitude": -87.9216
},
"Type": "stopOver"
},
"Length": 12967,
"TravelTime": 685.3,
"Maneuver": [
{
"_type": "PrivateTransportManeuverType",
"Position": {
"Latitude": 41.9800682,
"Longitude": -87.8805618
},
"Instruction": "Take ramp onto I-190 E. Go for 0.4 miles.",
"TravelTime": 33.9,
"Length": 573,
"id": "M1"
},
{
"_type": "PrivateTransportManeuverType",
"Position": {
"Latitude": 41.9825897,
"Longitude": -87.8744431
},
"Instruction": "Take exit #1D/I-294 S/Indiana onto Tri-State Tollway (I-294 S). (toll road) Go for 6.5 miles.",
"TravelTime": 507.5,
"Length": 10851,
"id": "M2"
},
{
"_type": "PrivateTransportManeuverType",
"Position": {
"Latitude": 41.9059296,
"Longitude": -87.9199371
},
"Instruction": "Take the I-290 W/US-20/Rockford/IL-64 exit onto Eisenhower Expy W (I-290 W). Go for 0.3 miles.",
"TravelTime": 43.8,
"Length": 473,
"id": "M3"
},
{
"_type": "PrivateTransportManeuverType",
"Position": {
"Latitude": 41.9067192,
"Longitude": -87.9237823
},
"Instruction": "Take exit #13B/IL-64 W/North Ave onto E North Ave (IL-64 W). Go for 0.3 miles.",
"TravelTime": 59.4,
"Length": 435,
"id": "M4"
},
{
"_type": "PrivateTransportManeuverType",
"Position": {
"Latitude": 41.9065895,
"Longitude": -87.9249573
},
"Instruction": "Take ramp onto Eisenhower Expy E (I-290 E) toward I-294 S/Chicago. Go for 0.4 miles.",
"TravelTime": 40.8,
"Length": 635,
"id": "M5"
},
{
"_type": "PrivateTransportManeuverType",
"Position": {
"Latitude": 41.9042892,
"Longitude": -87.9216537
},
"Instruction": "Your destination on Eisenhower Expy E (I-290 E) is on the right. The trip takes 8 miles and 11 mins.",
"TravelTime": 0,
"Length": 0,
"id": "M6"
}
]
}
],
"Summary": {
"Distance": 12967,
"TrafficTime": 685,
"BaseTime": 685,
"Flags": [
"motorway",
"tollroad"
]
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment