Skip to content

Instantly share code, notes, and snippets.

@jmichaliga
Created February 25, 2019 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmichaliga/189be648171f0c8f2b326e4e12fa2032 to your computer and use it in GitHub Desktop.
Save jmichaliga/189be648171f0c8f2b326e4e12fa2032 to your computer and use it in GitHub Desktop.
MapBox Directions Response
[
{
"geometry": "yiqwF|xibMzDiBTMt@fDl@fCQHc@TaAb@s@\\WLo@XQHEBm@XQHSLcBv@s@Zs@^YL_@Ps@\\MFaAb@_Ad@}@`@QHoAl@w@^EBSJuAp@GBOFQJC@YNWHWHSBUB}ANYBUBuBRYBS@gAJYDU@aAJQ@c@DUBSBsATe@FG@gCd@_Gh@_E\\a@@c@C[CYGwD}@uEgA_GuA{A[}@S_AQ]UGEGGAM?G?GBOTkBLDlBd@JB@F?DCN?H?FBFFFHDLBJFHJFNFXTl@HTBJ@L@^DR?RCx@GxAA~@Ab@Ax@?`A?lCGvAGr@WjC[rCQ`BQpAa@zBOt@i@bB}@jBeAjBw@vA{ArCuD|GwCfFwB`EoAxBqA~BuAfCw@bB]~@SfAQz@Mp@GjAAr@@h@NlAZpAx@tAp@n@vBvAvA|@^f@\\r@Tz@@jAAl@ARE^I\\GLWt@[t@Ed@IV[~@oA~DIPEJIHKDODKJSZg@bBk@jByAzEcCnHOd@wB|GGPKI{AaAGEIGMIcBgAIEMIcBiAIGMIyAaAIEIGMIcBiAQKUO_BgAGEIGIVqBpGKXIVcCzHaCnH{BfHkAtDOb@ITCLGPKZmAxD",
"legs": [
{
"summary": "McGuinness Boulevard, Queens-Midtown Tunnel",
"weight": 1565.8,
"duration": 1146.2,
"steps": [
{
"intersections": [
{
"out": 0,
"entry": [
true
],
"bearings": [
157
],
"location": [
-73.947194,
40.72621
]
}
],
"driving_side": "right",
"geometry": "yiqwF|xibMzDiBTM",
"mode": "driving",
"maneuver": {
"bearing_after": 157,
"bearing_before": 0,
"location": [
-73.947194,
40.72621
],
"modifier": "left",
"type": "depart",
"instruction": "Head southeast on Diamond Street"
},
"weight": 40.2,
"duration": 27.6,
"name": "Diamond Street",
"distance": 127.5
},
{
"intersections": [
{
"out": 2,
"in": 3,
"entry": [
true,
true,
true,
false
],
"bearings": [
60,
150,
240,
330
],
"location": [
-73.946593,
40.725158
]
},
{
"out": 2,
"in": 0,
"entry": [
false,
false,
true,
true
],
"bearings": [
60,
150,
240,
330
],
"location": [
-73.947425,
40.724885
]
}
],
"driving_side": "right",
"geometry": "gcqwFduibMt@fDl@fC",
"mode": "driving",
"maneuver": {
"bearing_after": 246,
"bearing_before": 156,
"location": [
-73.946593,
40.725158
],
"modifier": "right",
"type": "turn",
"instruction": "Turn right onto Nassau Avenue"
},
"weight": 64.8,
"duration": 39.9,
"name": "Nassau Avenue",
"distance": 139.5
},
{
"intersections": [
{
"out": 3,
"in": 0,
"entry": [
false,
false,
true,
true
],
"bearings": [
60,
150,
240,
330
],
"location": [
-73.948111,
40.724658
]
},
{
"out": 3,
"in": 1,
"entry": [
true,
false,
true,
true
],
"bearings": [
60,
150,
240,
330
],
"location": [
-73.949054,
40.726321
]
},
{
"out": 3,
"in": 1,
"entry": [
false,
false,
true,
true
],
"bearings": [
60,
150,
240,
330
],
"location": [
-73.950005,
40.727987
]
},
{
"out": 3,
"in": 1,
"entry": [
true,
false,
false,
true
],
"bearings": [
60,
150,
240,
330
],
"location": [
-73.950592,
40.729017
]
},
{
"out": 3,
"in": 1,
"entry": [
true,
false,
true,
true
],
"bearings": [
90,
150,
270,
330
],
"location": [
-73.951415,
40.730467
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
true,
false,
false
],
"bearings": [
0,
90,
165,
255
],
"location": [
-73.95171,
40.73116
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
false,
false,
true
],
"bearings": [
0,
90,
180,
255
],
"location": [
-73.95183,
40.731869
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
true,
false,
false
],
"bearings": [
0,
90,
180,
255
],
"location": [
-73.951949,
40.73259
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
false,
false,
true
],
"bearings": [
0,
90,
180,
270
],
"location": [
-73.952063,
40.733286
]
},
{
"out": 3,
"in": 1,
"entry": [
true,
false,
false,
true
],
"bearings": [
90,
180,
270,
345
],
"location": [
-73.952178,
40.733998
]
},
{
"out": 2,
"in": 1,
"entry": [
false,
false,
true
],
"bearings": [
90,
165,
345
],
"location": [
-73.952349,
40.734705
]
},
{
"out": 2,
"in": 1,
"entry": [
true,
false,
true
],
"bearings": [
0,
165,
345
],
"location": [
-73.952363,
40.73475
]
},
{
"out": 0,
"in": 1,
"entry": [
true,
false
],
"bearings": [
15,
195
],
"location": [
-73.95253,
40.739212
]
}
],
"driving_side": "right",
"geometry": "c`qwFt~ibMQHc@TaAb@s@\\WLo@XQHEBm@XQHSLcBv@s@Zs@^YL_@Ps@\\MFaAb@_Ad@}@`@QHoAl@w@^EBSJuAp@GBOFQJC@YNWHWHSBUB}ANYBUBuBRYBS@gAJYDU@aAJQ@c@DUBSBsATe@FG@gCd@_Gh@_E\\a@@c@C[CYGwD}@uEgA_GuA{A[}@S_AQ",
"mode": "driving",
"maneuver": {
"bearing_after": 336,
"bearing_before": 246,
"location": [
-73.948111,
40.724658
],
"modifier": "right",
"type": "turn",
"instruction": "Turn right onto McGuinness Boulevard"
},
"weight": 353.49999999999994,
"duration": 244.60000000000002,
"name": "McGuinness Boulevard",
"distance": 2086.2000000000003
},
{
"intersections": [
{
"out": 1,
"in": 2,
"entry": [
true,
true,
false
],
"bearings": [
15,
30,
195
],
"location": [
-73.951405,
40.742653
]
}
],
"driving_side": "right",
"geometry": "qptwFhsjbM]UGEGG",
"mode": "driving",
"maneuver": {
"bearing_after": 28,
"bearing_before": 11,
"location": [
-73.951405,
40.742653
],
"modifier": "slight right",
"type": "turn",
"instruction": "Make a slight right"
},
"weight": 8.8,
"duration": 6.2,
"name": "",
"distance": 28.9
},
{
"intersections": [
{
"out": 1,
"in": 2,
"entry": [
true,
true,
false
],
"bearings": [
30,
90,
210
],
"location": [
-73.951233,
40.742877
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
false,
false
],
"bearings": [
105,
255,
270
],
"location": [
-73.950998,
40.742869
]
}
],
"driving_side": "right",
"geometry": "_rtwFdrjbMAM?G?GBOTkB",
"mode": "driving",
"maneuver": {
"bearing_after": 91,
"bearing_before": 29,
"location": [
-73.951233,
40.742877
],
"modifier": "right",
"type": "turn",
"instruction": "Turn right onto 49th Avenue"
},
"weight": 24.4,
"duration": 11.8,
"name": "49th Avenue",
"distance": 66.8
},
{
"intersections": [
{
"out": 1,
"in": 2,
"entry": [
true,
true,
false
],
"bearings": [
105,
195,
285
],
"location": [
-73.950463,
40.742759
]
}
],
"driving_side": "right",
"geometry": "gqtwFjmjbMLDlBd@JB",
"mode": "driving",
"maneuver": {
"bearing_after": 194,
"bearing_before": 104,
"location": [
-73.950463,
40.742759
],
"modifier": "right",
"type": "turn",
"instruction": "Turn right onto 11th Place"
},
"weight": 22.4,
"duration": 15.8,
"name": "11th Place",
"distance": 78.1
},
{
"intersections": [
{
"out": 2,
"in": 0,
"entry": [
false,
false,
true,
true
],
"bearings": [
15,
105,
270,
285
],
"location": [
-73.950703,
40.742081
]
},
{
"out": 2,
"in": 1,
"entry": [
false,
false,
true
],
"bearings": [
0,
60,
195
],
"location": [
-73.951046,
40.741981
]
}
],
"driving_side": "right",
"geometry": "_mtwFznjbM@F?DCN?H?FBFFFHDLBJFHJFNFX",
"mode": "driving",
"destinations": "Queens-Midtown Tunnel",
"maneuver": {
"bearing_after": 272,
"bearing_before": 194,
"location": [
-73.950703,
40.742081
],
"modifier": "slight right",
"type": "turn",
"instruction": "Make a slight right towards Queens-Midtown Tunnel"
},
"weight": 27.5,
"duration": 20.7,
"name": "50th Avenue",
"distance": 79.4
},
{
"distance": 67,
"name": "NY 25A",
"ref": "NY 25A",
"maneuver": {
"bearing_after": 237,
"bearing_before": 244,
"location": [
-73.951383,
40.741715
],
"modifier": "straight",
"type": "on ramp",
"instruction": "Take the ramp towards I-495 West: Queens-Midtown Tunnel"
},
"destinations": "I-495 West: Queens-Midtown Tunnel",
"weight": 20.2,
"mode": "driving",
"geometry": "wjtwFbsjbMTl@HTBJ@L@^DR",
"intersections": [
{
"classes": [
"toll",
"motorway"
],
"out": 2,
"in": 0,
"entry": [
false,
false,
true,
true
],
"bearings": [
60,
75,
240,
255
],
"location": [
-73.951383,
40.741715
]
},
{
"classes": [
"toll",
"motorway"
],
"out": 2,
"in": 0,
"entry": [
false,
false,
true
],
"bearings": [
60,
90,
255
],
"location": [
-73.951614,
40.741609
]
}
],
"duration": 13.100000000000001,
"driving_side": "right"
},
{
"intersections": [
{
"classes": [
"toll",
"motorway"
],
"out": 2,
"in": 0,
"entry": [
false,
false,
true
],
"bearings": [
75,
90,
270
],
"location": [
-73.952109,
40.741491
]
},
{
"classes": [
"toll",
"tunnel",
"motorway"
],
"out": 1,
"in": 0,
"entry": [
false,
true
],
"bearings": [
90,
270
],
"location": [
-73.954068,
40.741575
]
},
{
"classes": [
"toll",
"motorway"
],
"out": 1,
"in": 0,
"entry": [
false,
true
],
"bearings": [
90,
270
],
"location": [
-73.973126,
40.74598
]
},
{
"classes": [
"toll",
"tunnel",
"motorway"
],
"out": 1,
"in": 0,
"entry": [
false,
true
],
"bearings": [
120,
300
],
"location": [
-73.97361,
40.746106
]
},
{
"classes": [
"toll",
"motorway"
],
"out": 1,
"in": 0,
"entry": [
false,
true
],
"bearings": [
120,
300
],
"location": [
-73.973878,
40.746231
]
}
],
"driving_side": "right",
"geometry": "iitwFtwjbM?RCx@GxAA~@Ab@Ax@?`A?lCGvAGr@WjC[rCQ`BQpAa@zBOt@i@bB}@jBeAjBw@vA{ArCuD|GwCfFwB`EoAxBqA~BuAfCw@bB]~@SfAQz@Mp@GjAAr@@h@NlAZpAx@tAp@n@vBvAvA|@^f@\\r@Tz@@jAAl@ARE^I\\GLWt@[t@",
"mode": "driving",
"maneuver": {
"bearing_after": 274,
"bearing_before": 253,
"location": [
-73.952109,
40.741491
],
"modifier": "slight left",
"type": "merge",
"instruction": "Merge left onto I-495"
},
"ref": "I-495",
"weight": 275.9,
"duration": 264.2,
"name": "Long Island Expressway (I-495)",
"distance": 2221.8
},
{
"intersections": [
{
"classes": [
"toll",
"motorway"
],
"out": 1,
"in": 0,
"entry": [
false,
true,
true
],
"bearings": [
120,
285,
300
],
"location": [
-73.97415,
40.746372
]
},
{
"classes": [
"toll",
"motorway"
],
"out": 2,
"in": 0,
"entry": [
false,
false,
true
],
"bearings": [
105,
135,
300
],
"location": [
-73.974342,
40.746404
]
},
{
"classes": [
"toll",
"tunnel",
"motorway"
],
"out": 1,
"in": 0,
"entry": [
false,
true
],
"bearings": [
120,
300
],
"location": [
-73.97446,
40.74645
]
},
{
"classes": [
"toll",
"motorway"
],
"out": 1,
"in": 0,
"entry": [
false,
true
],
"bearings": [
120,
300
],
"location": [
-73.974778,
40.746587
]
}
],
"driving_side": "right",
"geometry": "yguwFlaobMEd@IV[~@oA~DIPEJIHKDODKJSZ",
"mode": "driving",
"destinations": "Crosstown, 37th Street",
"maneuver": {
"bearing_after": 281,
"bearing_before": 303,
"location": [
-73.97415,
40.746372
],
"modifier": "slight left",
"type": "fork",
"instruction": "Keep left towards Crosstown"
},
"weight": 34.1,
"duration": 33.7,
"name": "",
"distance": 214.2
},
{
"intersections": [
{
"out": 2,
"in": 1,
"entry": [
false,
false,
true
],
"bearings": [
105,
135,
300
],
"location": [
-73.976203,
40.747415
]
},
{
"lanes": [
{
"valid": true,
"indications": [
"straight"
]
},
{
"valid": true,
"indications": [
"straight"
]
},
{
"valid": true,
"indications": [
"straight",
"right"
]
},
{
"valid": false,
"indications": [
"right"
]
}
],
"out": 3,
"in": 1,
"entry": [
true,
false,
false,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.976697,
40.747615
]
},
{
"out": 3,
"in": 1,
"entry": [
false,
false,
true,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.978344,
40.748294
]
},
{
"out": 3,
"in": 1,
"entry": [
true,
false,
false,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.979861,
40.74895
]
},
{
"out": 3,
"in": 1,
"entry": [
false,
false,
true,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.980051,
40.749028
]
}
],
"driving_side": "right",
"geometry": "knuwFfnobMg@bBk@jByAzEcCnHOd@wB|GGP",
"mode": "driving",
"maneuver": {
"bearing_after": 296,
"bearing_before": 310,
"location": [
-73.976203,
40.747415
],
"modifier": "straight",
"type": "turn",
"instruction": "Go straight onto East 37th Street"
},
"weight": 216.1,
"duration": 143.60000000000002,
"name": "East 37th Street",
"distance": 517
},
{
"intersections": [
{
"out": 0,
"in": 1,
"entry": [
true,
false,
false,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.981568,
40.749669
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
true,
false,
false
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.981123,
40.750282
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
false,
false,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.980675,
40.750903
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
true,
false,
false
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.980222,
40.751521
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
true,
false,
false
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.97977,
40.752139
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
true,
false,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.979286,
40.752802
]
}
],
"driving_side": "right",
"geometry": "m|uwFxopbMKI{AaAGEIGMIcBgAIEMIcBiAIGMIyAaAIEIGMIcBiAQKUO_BgAGEIG",
"mode": "driving",
"maneuver": {
"bearing_after": 28,
"bearing_before": 298,
"location": [
-73.981568,
40.749669
],
"modifier": "right",
"type": "turn",
"instruction": "Turn right onto Madison Avenue"
},
"weight": 219.2,
"duration": 114.4,
"name": "Madison Avenue",
"distance": 484.6
},
{
"intersections": [
{
"out": 3,
"in": 2,
"entry": [
true,
false,
false,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.978783,
40.753481
]
},
{
"out": 3,
"in": 1,
"entry": [
false,
false,
true,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.980395,
40.754155
]
},
{
"out": 3,
"in": 1,
"entry": [
true,
false,
false,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.983624,
40.755516
]
},
{
"out": 3,
"in": 1,
"entry": [
false,
false,
true,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.986458,
40.75671
]
}
],
"driving_side": "right",
"geometry": "gtvwFj~obMIVqBpGKXIVcCzHaCnH{BfHkAtDOb@ITCLGPKZmAxD",
"mode": "driving",
"maneuver": {
"bearing_after": 298,
"bearing_before": 28,
"location": [
-73.978783,
40.753481
],
"modifier": "left",
"type": "turn",
"instruction": "Turn left onto East 43rd Street"
},
"weight": 258.7,
"duration": 210.60000000000002,
"name": "East 43rd Street",
"distance": 843.1
},
{
"intersections": [
{
"in": 0,
"entry": [
true
],
"bearings": [
119
],
"location": [
-73.987529,
40.757164
]
}
],
"driving_side": "right",
"geometry": "gkwwF`uqbM",
"mode": "driving",
"maneuver": {
"bearing_after": 0,
"bearing_before": 299,
"location": [
-73.987529,
40.757164
],
"type": "arrive",
"instruction": "You have arrived at your destination"
},
"weight": 0,
"duration": 0,
"name": "West 43rd Street",
"distance": 0
}
],
"distance": 6954
}
],
"weight_name": "routability",
"weight": 1565.8,
"duration": 1146.2,
"distance": 6954
},
{
"geometry": "yiqwF|xibMzDiBTMu@cDQeASwDQyD_Jx@S@uJ~@aGf@mGj@}@oDi@wBGi@C[UsCa@sCa@gBe@_Bk@yBOg@AESk@u@mBi@qA_@o@]W_@YMKII{CqCGG]_@cF{EcAcAq@s@eAM[GwBYFq@Fg@NYPUTINCRDPJLLFJFNFX@ZAZ]jEGz@BpAMhBObBS`BYlBWpA_@`Bo@xBS|@{A|EgAhDaA|C}@pCc@xA[vAYzAU`BcAvI{@zHGf@Ef@Cf@Ab@?Z?n@@\\Bd@Bb@B\\LpADn@HxA?\\@VC|@IzA?^C~@?bA?v@?pAAfAGdBQxA]hDm@jF[hBUdAa@rAm@zAu\\pm@w@dBa@tAQdAUjAIxABjALdAVdAf@bAT`@l@h@r@d@vCnBf@p@Zj@RbA@|@Av@A^E\\IZENSv@Yt@S\\IV[~@oA~DIPEJIHKDODKJSZg@bBk@jByAzEcCnHOd@wB|GGPKI{AaAGEIGMIcBgAIEMIcBiAIGMIyAaAIEIGMIcBiAQKUO_BgAGEIGIVqBpGKXIVcCzHaCnH{BfHkAtDOb@ITCLGPKZmAxD",
"legs": [
{
"summary": "Queens-Midtown Tunnel, West 43rd Street",
"weight": 1687.8,
"duration": 1279.1,
"steps": [
{
"intersections": [
{
"out": 0,
"entry": [
true
],
"bearings": [
157
],
"location": [
-73.947194,
40.72621
]
}
],
"driving_side": "right",
"geometry": "yiqwF|xibMzDiBTM",
"mode": "driving",
"maneuver": {
"bearing_after": 157,
"bearing_before": 0,
"location": [
-73.947194,
40.72621
],
"modifier": "left",
"type": "depart",
"instruction": "Head southeast on Diamond Street"
},
"weight": 63.5,
"duration": 30.9,
"name": "Diamond Street",
"distance": 127.5
},
{
"intersections": [
{
"out": 0,
"in": 3,
"entry": [
true,
true,
true,
false
],
"bearings": [
60,
150,
240,
330
],
"location": [
-73.946593,
40.725158
]
},
{
"out": 0,
"in": 1,
"entry": [
true,
false,
true
],
"bearings": [
75,
240,
330
],
"location": [
-73.945773,
40.725432
]
},
{
"out": 1,
"in": 3,
"entry": [
false,
true,
true,
false
],
"bearings": [
0,
75,
180,
255
],
"location": [
-73.945422,
40.725519
]
},
{
"out": 1,
"in": 3,
"entry": [
true,
true,
false,
false
],
"bearings": [
0,
90,
180,
255
],
"location": [
-73.944498,
40.725616
]
}
],
"driving_side": "right",
"geometry": "gcqwFduibMu@cDQeASwDQyD",
"mode": "driving",
"maneuver": {
"bearing_after": 66,
"bearing_before": 156,
"location": [
-73.946593,
40.725158
],
"modifier": "left",
"type": "turn",
"instruction": "Turn left onto Nassau Avenue"
},
"weight": 100.6,
"duration": 56.5,
"name": "Nassau Avenue",
"distance": 264.3
},
{
"intersections": [
{
"out": 0,
"in": 2,
"entry": [
true,
true,
false
],
"bearings": [
0,
90,
270
],
"location": [
-73.943569,
40.725708
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
true,
false,
true
],
"bearings": [
0,
90,
180,
270
],
"location": [
-73.943873,
40.727571
]
},
{
"out": 0,
"in": 1,
"entry": [
true,
false,
true
],
"bearings": [
0,
180,
255
],
"location": [
-73.944186,
40.729442
]
}
],
"driving_side": "right",
"geometry": "ufqwFhbibM_Jx@S@uJ~@aGf@mGj@",
"mode": "driving",
"maneuver": {
"bearing_after": 351,
"bearing_before": 81,
"location": [
-73.943569,
40.725708
],
"modifier": "left",
"type": "turn",
"instruction": "Turn left onto North Henry Street"
},
"weight": 119.19999999999999,
"duration": 114.3,
"name": "North Henry Street",
"distance": 714.1
},
{
"intersections": [
{
"out": 0,
"in": 1,
"entry": [
true,
false,
true
],
"bearings": [
60,
180,
240
],
"location": [
-73.94461,
40.73208
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
true,
false
],
"bearings": [
60,
180,
240
],
"location": [
-73.94373,
40.732386
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
false,
false,
true
],
"bearings": [
75,
180,
255,
345
],
"location": [
-73.942781,
40.732661
]
},
{
"out": 0,
"in": 3,
"entry": [
true,
true,
true,
false,
true
],
"bearings": [
30,
90,
135,
225,
315
],
"location": [
-73.938041,
40.734353
]
},
{
"out": 0,
"in": 1,
"entry": [
true,
false,
true
],
"bearings": [
30,
210,
240
],
"location": [
-73.93792,
40.734499
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
true,
false
],
"bearings": [
30,
135,
210
],
"location": [
-73.937681,
40.734783
]
},
{
"out": 0,
"in": 1,
"entry": [
true,
false,
true
],
"bearings": [
30,
210,
240
],
"location": [
-73.936946,
40.735555
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
true,
false
],
"bearings": [
45,
75,
210
],
"location": [
-73.936905,
40.735596
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
false,
false,
false
],
"bearings": [
30,
150,
225,
330
],
"location": [
-73.936753,
40.735745
]
},
{
"out": 0,
"in": 3,
"entry": [
true,
true,
true,
false,
true,
false
],
"bearings": [
30,
75,
150,
210,
240,
330
],
"location": [
-73.935646,
40.736887
]
},
{
"out": 1,
"in": 2,
"entry": [
false,
true,
false
],
"bearings": [
0,
30,
210
],
"location": [
-73.935306,
40.737227
]
},
{
"lanes": [
{
"valid": true,
"indications": [
"straight",
"left"
]
},
{
"valid": true,
"indications": [
"straight",
"right"
]
}
],
"out": 0,
"in": 2,
"entry": [
true,
true,
false,
false
],
"bearings": [
15,
105,
210,
285
],
"location": [
-73.935054,
40.737479
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
false,
false,
true
],
"bearings": [
15,
105,
195,
285
],
"location": [
-73.934975,
40.73783
]
}
],
"driving_side": "right",
"geometry": "onrwFxhibM}@oDi@wBGi@C[UsCa@sCa@gBe@_Bk@yBOg@AESk@u@mBi@qA_@o@]W_@YMKII{CqCGG]_@cF{EcAcAq@s@eAM[GwBY",
"mode": "driving",
"maneuver": {
"bearing_after": 64,
"bearing_before": 352,
"location": [
-73.94461,
40.73208
],
"modifier": "right",
"type": "end of road",
"instruction": "Turn right onto Greenpoint Avenue"
},
"weight": 273.7,
"duration": 184.8,
"name": "Greenpoint Avenue",
"distance": 1167
},
{
"intersections": [
{
"classes": [
"toll",
"motorway"
],
"out": 1,
"in": 2,
"entry": [
true,
true,
false
],
"bearings": [
15,
105,
195
],
"location": [
-73.934806,
40.738572
]
}
],
"driving_side": "right",
"geometry": "awswFpkgbMFq@Fg@NYPUTINCRDPJLLFJFNFX@ZAZ]jEGz@BpA",
"mode": "driving",
"destinations": "I-495 West: Midtown Tunnel, Manhattan",
"maneuver": {
"bearing_after": 102,
"bearing_before": 8,
"location": [
-73.934806,
40.738572
],
"modifier": "right",
"type": "on ramp",
"instruction": "Take the ramp on the right towards I-495 West: Midtown Tunnel"
},
"weight": 48.5,
"duration": 42.4,
"name": "",
"distance": 319.6
},
{
"intersections": [
{
"classes": [
"toll",
"motorway"
],
"out": 2,
"in": 0,
"entry": [
false,
false,
true
],
"bearings": [
90,
105,
285
],
"location": [
-73.936494,
40.73792
]
}
],
"driving_side": "right",
"geometry": "_sswF`vgbMMhBObBS`BYlBWpA_@`Bo@xB",
"mode": "driving",
"maneuver": {
"bearing_after": 278,
"bearing_before": 265,
"location": [
-73.936494,
40.73792
],
"modifier": "slight left",
"type": "merge",
"instruction": "Merge left onto I-495 West"
},
"ref": "I-495 West",
"weight": 18,
"duration": 17.9,
"name": "Long Island Expressway (I-495 West)",
"distance": 318.9
},
{
"intersections": [
{
"classes": [
"toll",
"motorway"
],
"out": 1,
"in": 0,
"entry": [
false,
true,
true
],
"bearings": [
117,
293,
303
],
"location": [
-73.940067,
40.738815
]
},
{
"classes": [
"toll",
"tunnel",
"motorway"
],
"out": 1,
"in": 0,
"entry": [
false,
true
],
"bearings": [
90,
270
],
"location": [
-73.954071,
40.741543
]
},
{
"classes": [
"toll",
"motorway"
],
"out": 1,
"in": 0,
"entry": [
false,
true
],
"bearings": [
90,
270
],
"location": [
-73.973108,
40.745945
]
},
{
"classes": [
"toll",
"tunnel",
"motorway"
],
"out": 1,
"in": 0,
"entry": [
false,
true
],
"bearings": [
120,
300
],
"location": [
-73.973637,
40.746067
]
},
{
"classes": [
"toll",
"motorway"
],
"out": 1,
"in": 0,
"entry": [
false,
true
],
"bearings": [
120,
300
],
"location": [
-73.973915,
40.746173
]
}
],
"driving_side": "right",
"geometry": "sxswFllhbMS|@{A|EgAhDaA|C}@pCc@xA[vAYzAU`BcAvI{@zHGf@Ef@Cf@Ab@?Z?n@@\\Bd@Bb@B\\LpADn@HxA?\\@VC|@IzA?^C~@?bA?v@?pAAfAGdBQxA]hDm@jF[hBUdAa@rAm@zAu\\pm@w@dBa@tAQdAUjAIxABjALdAVdAf@bAT`@l@h@r@d@vCnBf@p@Zj@RbA@|@Av@A^E\\IZENSv@Yt@",
"mode": "driving",
"maneuver": {
"bearing_after": 292,
"bearing_before": 296,
"location": [
-73.940067,
40.738815
],
"modifier": "slight left",
"type": "fork",
"instruction": "Keep left onto I-495 West"
},
"ref": "I-495 West",
"weight": 334.1,
"duration": 328.1,
"name": "Long Island Expressway (I-495 West)",
"distance": 3304.2
},
{
"intersections": [
{
"classes": [
"toll",
"motorway"
],
"out": 2,
"in": 0,
"entry": [
false,
true,
true
],
"bearings": [
120,
285,
315
],
"location": [
-73.974192,
40.746302
]
},
{
"classes": [
"toll",
"motorway"
],
"out": 2,
"in": 1,
"entry": [
false,
false,
true
],
"bearings": [
105,
135,
300
],
"location": [
-73.974342,
40.746404
]
},
{
"classes": [
"toll",
"tunnel",
"motorway"
],
"out": 1,
"in": 0,
"entry": [
false,
true
],
"bearings": [
120,
300
],
"location": [
-73.97446,
40.74645
]
},
{
"classes": [
"toll",
"motorway"
],
"out": 1,
"in": 0,
"entry": [
false,
true
],
"bearings": [
120,
300
],
"location": [
-73.974778,
40.746587
]
}
],
"driving_side": "right",
"geometry": "kguwFtaobMS\\IV[~@oA~DIPEJIHKDODKJSZ",
"mode": "driving",
"destinations": "Crosstown, 37th Street",
"maneuver": {
"bearing_after": 310,
"bearing_before": 300,
"location": [
-73.974192,
40.746302
],
"modifier": "slight right",
"type": "fork",
"instruction": "Keep right towards Crosstown"
},
"weight": 36.2,
"duration": 35.6,
"name": "",
"distance": 214.6
},
{
"intersections": [
{
"out": 2,
"in": 1,
"entry": [
false,
false,
true
],
"bearings": [
105,
135,
300
],
"location": [
-73.976203,
40.747415
]
},
{
"lanes": [
{
"valid": true,
"indications": [
"straight"
]
},
{
"valid": true,
"indications": [
"straight"
]
},
{
"valid": true,
"indications": [
"straight",
"right"
]
},
{
"valid": false,
"indications": [
"right"
]
}
],
"out": 3,
"in": 1,
"entry": [
true,
false,
false,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.976697,
40.747615
]
},
{
"out": 3,
"in": 1,
"entry": [
false,
false,
true,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.978344,
40.748294
]
},
{
"out": 3,
"in": 1,
"entry": [
true,
false,
false,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.979861,
40.74895
]
},
{
"out": 3,
"in": 1,
"entry": [
false,
false,
true,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.980051,
40.749028
]
}
],
"driving_side": "right",
"geometry": "knuwFfnobMg@bBk@jByAzEcCnHOd@wB|GGP",
"mode": "driving",
"maneuver": {
"bearing_after": 296,
"bearing_before": 310,
"location": [
-73.976203,
40.747415
],
"modifier": "straight",
"type": "turn",
"instruction": "Go straight onto East 37th Street"
},
"weight": 216.1,
"duration": 143.60000000000002,
"name": "East 37th Street",
"distance": 517
},
{
"intersections": [
{
"out": 0,
"in": 1,
"entry": [
true,
false,
false,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.981568,
40.749669
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
true,
false,
false
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.981123,
40.750282
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
false,
false,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.980675,
40.750903
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
true,
false,
false
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.980222,
40.751521
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
true,
false,
false
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.97977,
40.752139
]
},
{
"out": 0,
"in": 2,
"entry": [
true,
true,
false,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.979286,
40.752802
]
}
],
"driving_side": "right",
"geometry": "m|uwFxopbMKI{AaAGEIGMIcBgAIEMIcBiAIGMIyAaAIEIGMIcBiAQKUO_BgAGEIG",
"mode": "driving",
"maneuver": {
"bearing_after": 28,
"bearing_before": 298,
"location": [
-73.981568,
40.749669
],
"modifier": "right",
"type": "turn",
"instruction": "Turn right onto Madison Avenue"
},
"weight": 219.2,
"duration": 114.4,
"name": "Madison Avenue",
"distance": 484.6
},
{
"intersections": [
{
"out": 3,
"in": 2,
"entry": [
true,
false,
false,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.978783,
40.753481
]
},
{
"out": 3,
"in": 1,
"entry": [
false,
false,
true,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.980395,
40.754155
]
},
{
"out": 3,
"in": 1,
"entry": [
true,
false,
false,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.983624,
40.755516
]
},
{
"out": 3,
"in": 1,
"entry": [
false,
false,
true,
true
],
"bearings": [
30,
120,
210,
300
],
"location": [
-73.986458,
40.75671
]
}
],
"driving_side": "right",
"geometry": "gtvwFj~obMIVqBpGKXIVcCzHaCnH{BfHkAtDOb@ITCLGPKZmAxD",
"mode": "driving",
"maneuver": {
"bearing_after": 298,
"bearing_before": 28,
"location": [
-73.978783,
40.753481
],
"modifier": "left",
"type": "turn",
"instruction": "Turn left onto East 43rd Street"
},
"weight": 258.7,
"duration": 210.60000000000002,
"name": "East 43rd Street",
"distance": 843.1
},
{
"intersections": [
{
"in": 0,
"entry": [
true
],
"bearings": [
119
],
"location": [
-73.987529,
40.757164
]
}
],
"driving_side": "right",
"geometry": "gkwwF`uqbM",
"mode": "driving",
"maneuver": {
"bearing_after": 0,
"bearing_before": 299,
"location": [
-73.987529,
40.757164
],
"type": "arrive",
"instruction": "You have arrived at your destination"
},
"weight": 0,
"duration": 0,
"name": "West 43rd Street",
"distance": 0
}
],
"distance": 8274.8
}
],
"weight_name": "routability",
"weight": 1687.8,
"duration": 1279.1,
"distance": 8274.8
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment