From f0a276e5ca103d389ec0b8168a1d0ad4711fe067 Mon Sep 17 00:00:00 2001 From: Cameron Mace Date: Thu, 13 Jul 2017 19:03:29 -0400 Subject: [PATCH] added support for languages --- Makefile | 6 +- mapbox/build.gradle | 2 +- .../rx/directions/v5/DirectionsServiceRx.java | 6 +- .../rx/directions/v5/MapboxDirectionsRx.java | 3 +- .../api/directions/v5/DirectionsService.java | 4 +- .../api/directions/v5/MapboxDirections.java | 27 +- .../fixtures/directions_annotations_v5.json | 7806 ++++++++--------- .../src/test/fixtures/directions_v5.json | 2651 +++--- .../fixtures/directions_v5_precision_6.json | 2651 +++--- .../test/fixtures/directions_v5_traffic.json | 3426 +++++--- .../directions/v5/MapboxDirectionsTest.java | 98 +- 11 files changed, 8492 insertions(+), 8188 deletions(-) diff --git a/Makefile b/Makefile index 3b6e63cda..9fac2943b 100644 --- a/Makefile +++ b/Makefile @@ -97,18 +97,18 @@ directions-fixtures: -o mapbox/libjava-services/src/test/fixtures/directions_v5.json # Directions: request annotations - curl "https://api.mapbox.com/directions/v5/mapbox/driving/-122.416667,37.783333;-121.900000,37.333333?geometries=polyline&steps=true&annotations=distance,duration,speed&access_token=$(MAPBOX_ACCESS_TOKEN)" \ + curl "https://api.mapbox.com/directions/v5/mapbox/driving/-122.416667,37.783333;-121.900000,37.333333?geometries=polyline&language=sv&steps=true&annotations=distance,duration,speed&access_token=$(MAPBOX_ACCESS_TOKEN)" \ -o mapbox/libjava-services/src/test/fixtures/directions_annotations_v5.json # Directions: polyline geometry with precision 6 curl "https://api.mapbox.com/directions/v5/mapbox/driving/-122.416667,37.783333;-121.900000,37.333333?geometries=polyline6&steps=true&access_token=$(MAPBOX_ACCESS_TOKEN)" \ -o mapbox/libjava-services/src/test/fixtures/directions_v5_precision_6.json -directions-fixtures-rotary: + # Directions: route with a rotary curl "https://api.mapbox.com/directions/v5/mapbox/driving/-77.04430818557739,38.908650612656864;-77.04192638397217,38.90963574367117?geometries=polyline&steps=true&access_token=$(MAPBOX_ACCESS_TOKEN)" \ -o mapbox/libjava-services/src/test/fixtures/directions_v5_fixtures_rotary.json -directions-traffic-fixtures: + # Directions: route with traffic curl "https://api.mapbox.com/directions/v5/mapbox/driving-traffic/-122.416667,37.783333;-121.900000,37.333333?geometries=polyline&steps=true&access_token=$(MAPBOX_ACCESS_TOKEN)" \ -o mapbox/libjava-services/src/test/fixtures/directions_v5_traffic.json diff --git a/mapbox/build.gradle b/mapbox/build.gradle index f74e54b7d..37da69148 100644 --- a/mapbox/build.gradle +++ b/mapbox/build.gradle @@ -8,7 +8,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:2.3.2' + classpath 'com.android.tools.build:gradle:2.3.3' classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.6.2' // NOTE: Do not place your application dependencies here; they belong diff --git a/mapbox/libjava-services-rx/src/main/java/com/mapbox/services/api/rx/directions/v5/DirectionsServiceRx.java b/mapbox/libjava-services-rx/src/main/java/com/mapbox/services/api/rx/directions/v5/DirectionsServiceRx.java index a7e3099ff..54f56b5a3 100644 --- a/mapbox/libjava-services-rx/src/main/java/com/mapbox/services/api/rx/directions/v5/DirectionsServiceRx.java +++ b/mapbox/libjava-services-rx/src/main/java/com/mapbox/services/api/rx/directions/v5/DirectionsServiceRx.java @@ -32,9 +32,10 @@ public interface DirectionsServiceRx { * the angle of approach * @param continueStraight Define whether the route should continue straight even if the route * will be slower. - * @param annotations An annotations object that contains additional details about each line segment along the + * @param annotations An annotations object that contains additional details about each line segment along the * route geometry. Each entry in an annotations field corresponds to a coordinate along the * route geometry. + * @param language Language of returned turn-by-turn text instructions. * @return A retrofit Observable object * @since 2.0.0 */ @@ -52,6 +53,7 @@ Observable getObservable( @Query("steps") Boolean steps, @Query("bearings") String bearings, @Query("continue_straight") Boolean continueStraight, - @Query("annotations") String annotations + @Query("annotations") String annotations, + @Query("language") String language ); } diff --git a/mapbox/libjava-services-rx/src/main/java/com/mapbox/services/api/rx/directions/v5/MapboxDirectionsRx.java b/mapbox/libjava-services-rx/src/main/java/com/mapbox/services/api/rx/directions/v5/MapboxDirectionsRx.java index c4aeac581..2931a03b5 100644 --- a/mapbox/libjava-services-rx/src/main/java/com/mapbox/services/api/rx/directions/v5/MapboxDirectionsRx.java +++ b/mapbox/libjava-services-rx/src/main/java/com/mapbox/services/api/rx/directions/v5/MapboxDirectionsRx.java @@ -65,7 +65,8 @@ public Observable getObservable() { builder.isSteps(), builder.getBearings(), builder.isContinueStraight(), - builder.getAnnotation()); + builder.getAnnotation(), + builder.getLanguage()); // Done return observable; diff --git a/mapbox/libjava-services/src/main/java/com/mapbox/services/api/directions/v5/DirectionsService.java b/mapbox/libjava-services/src/main/java/com/mapbox/services/api/directions/v5/DirectionsService.java index 63d03e0fe..388d78f22 100644 --- a/mapbox/libjava-services/src/main/java/com/mapbox/services/api/directions/v5/DirectionsService.java +++ b/mapbox/libjava-services/src/main/java/com/mapbox/services/api/directions/v5/DirectionsService.java @@ -35,6 +35,7 @@ public interface DirectionsService { * @param annotations An annotations object that contains additional details about each line segment along the * route geometry. Each entry in an annotations field corresponds to a coordinate along the * route geometry. + * @param language Language of returned turn-by-turn text instructions. * @return The {@link DirectionsResponse} in a Call wrapper. * @since 1.0.0 */ @@ -53,6 +54,7 @@ Call getCall( @Query("steps") Boolean steps, @Query("bearings") String bearings, @Query("continue_straight") Boolean continueStraight, - @Query("annotations") String annotations + @Query("annotations") String annotations, + @Query("language") String language ); } diff --git a/mapbox/libjava-services/src/main/java/com/mapbox/services/api/directions/v5/MapboxDirections.java b/mapbox/libjava-services/src/main/java/com/mapbox/services/api/directions/v5/MapboxDirections.java index dfa2f177a..851b08c95 100644 --- a/mapbox/libjava-services/src/main/java/com/mapbox/services/api/directions/v5/MapboxDirections.java +++ b/mapbox/libjava-services/src/main/java/com/mapbox/services/api/directions/v5/MapboxDirections.java @@ -75,7 +75,8 @@ private Call getCall() { builder.isSteps(), builder.getBearings(), builder.isContinueStraight(), - builder.getAnnotation()); + builder.getAnnotation(), + builder.getLanguage()); // Done return call; @@ -147,6 +148,7 @@ public static class Builder extends MapboxBuilder { private Position origin = null; private Position destination = null; private String[] annotation = null; + private String language = null; /** * Constructor @@ -157,7 +159,7 @@ public Builder() { // Set defaults this.user = DirectionsCriteria.PROFILE_DEFAULT_USER; - // by defauly the geometry is polyline with precision 6. + // by default the geometry is polyline with precision 6. this.geometries = DirectionsCriteria.GEOMETRY_POLYLINE6; } @@ -358,6 +360,19 @@ public T setAnnotation(String... annotation) { return (T) this; } + /** + * Optionally set the language of returned turn-by-turn text instructions. The default is {@code en} for English. + * + * @param language The locale in which results should be returned. + * @return Builder + * @see Supported languages + * @since 2.2.0 + */ + public T setLanguage(String language) { + this.language = language; + return (T) this; + } + /* * Getters, they return the value in a format ready for the API to consume */ @@ -543,6 +558,14 @@ public String getAnnotation() { return TextUtils.join(",", annotation); } + /** + * @return The language the turn-by-turn directions will be in. + * @since 2.2.0 + */ + public String getLanguage() { + return language; + } + /** * Base package name or other simple string identifier * diff --git a/mapbox/libjava-services/src/test/fixtures/directions_annotations_v5.json b/mapbox/libjava-services/src/test/fixtures/directions_annotations_v5.json index 5df4046f1..3c1f0e90e 100644 --- a/mapbox/libjava-services/src/test/fixtures/directions_annotations_v5.json +++ b/mapbox/libjava-services/src/test/fixtures/directions_annotations_v5.json @@ -1,2660 +1,24 @@ { + "waypoints": [ + { + "location": [ + -122.416686, + 37.783425 + ], + "name": "Eddy Street" + }, + { + "location": [ + -121.90034, + 37.333317 + ], + "name": "North Autumn Street" + } + ], "routes": [ { - "geometry": "mqreFhodjVjBjYjuAoK~HurAv}AuNnwAv^jqJoyBbyClsB~cGsfAxvCkjFpPcnDjaPg_QnbBwtJ~yDa~HlmDuyD|~AebDd{E_wZzrDscD~fAuL", "legs": [ { - "annotation": { - "distance": [ - 76.75619219864666, - 146.37514636198526, - 139.60281864875253, - 13.354228985064077, - 52.37616853420752, - 43.9168340939147, - 8.898736734071798, - 8.225894691853044, - 51.813150591978655, - 35.48513193895467, - 9.338316817809892, - 8.788929228323221, - 54.51851482783345, - 32.88961936095231, - 10.368242101962439, - 17.454139198137902, - 85.9387231517859, - 51.25016190663285, - 34.359094113840904, - 17.67390724778018, - 10.368249115844051, - 96.2793562666895, - 63.76072271800081, - 40.77217651471587, - 53.15899872318194, - 50.56873587687532, - 1.7990586393885986, - 17.68769423752814, - 15.949001333364617, - 2.362076475128526, - 2.26754159694741, - 15.65520245611663, - 16.88999800862212, - 13.090401141222817, - 117.75292201949739, - 66.949760155505, - 27.3061419946064, - 16.24028335362469, - 34.44234813337623, - 18.35844041747278, - 114.39253798899206, - 17.145843829107406, - 11.839886126929617, - 9.792013205717474, - 23.361616301407658, - 12.823994402196597, - 11.901053984936967, - 9.5126634876959, - 5.99325556712373, - 6.349645897385767, - 9.623471478518905, - 4.028206307148204, - 36.11737840579824, - 14.282477537975044, - 23.469119328215868, - 30.11836789171915, - 15.819578775821942, - 9.447162086757332, - 9.303245970290718, - 9.110247823573209, - 8.739330534512659, - 9.959251329331364, - 9.975067807822969, - 9.298678591216916, - 9.291028318181038, - 8.686083646748502, - 8.492568993139086, - 8.870998845505603, - 8.478931165835622, - 8.19271538008904, - 7.911908642650642, - 7.6746146999220395, - 7.74567636014207, - 7.666153952238886, - 7.627118863328947, - 6.981323232577011, - 8.130959993130052, - 8.235730726297744, - 8.46379781147293, - 8.540074085635869, - 7.853466089526477, - 9.062113401953331, - 9.486882370573234, - 24.280508274146978, - 15.97907865394088, - 13.201251180061737, - 24.924102638665982, - 21.037275473804517, - 19.919917120960225, - 20.799969926296086, - 20.159067404125796, - 19.96114412791333, - 71.39296971706563, - 268.9923872046017, - 14.781422068954077, - 15.57656151564878, - 14.97326634254887, - 14.900454307634826, - 14.50311083683002, - 15.488998244606647, - 13.758527600242013, - 14.885553023000424, - 16.19484893283223, - 16.799170439227957, - 72.86486207614449, - 66.56468467188206, - 17.94504414782991, - 18.309218299447206, - 19.885361550029288, - 16.049704663231932, - 17.318744913820176, - 18.659497722077358, - 18.886818039895804, - 18.911407511979238, - 18.903085364928494, - 18.572347566439106, - 17.06725024128793, - 14.131476535496779, - 14.011499048458354, - 15.679698323562022, - 8.776799687293751, - 8.905537304496175, - 10.002046328563072, - 8.765253945054717, - 10.858478131897954, - 11.852538186317748, - 12.532393517168934, - 13.253999864811032, - 13.774063718978974, - 14.936692296125361, - 9.235039357555168, - 10.184279675168174, - 16.36136602462513, - 6.731249699003223, - 66.11001422090504, - 24.980015296638587, - 45.45626466734878, - 147.90820915134822, - 20.952098237271084, - 17.90765016956524, - 22.581678073735432, - 21.507155872469454, - 21.828417146066705, - 21.162120697843466, - 21.3150167049477, - 22.148104614280467, - 20.732995331715806, - 21.728002104448304, - 21.010116020063965, - 21.505757994017046, - 21.166459827589975, - 59.66742221788963, - 18.253166761188993, - 19.916947590607, - 17.992029721450155, - 18.825358060603726, - 18.634846864287653, - 18.21651372828177, - 17.94246218620391, - 18.171634656454508, - 18.79806737851007, - 18.493693677465725, - 19.035833392269854, - 20.233302429500814, - 20.211096782079235, - 21.02464557983548, - 19.61456283386838, - 21.367894209727943, - 20.05991371888043, - 21.762103959415004, - 22.472274051659, - 21.314485661500292, - 22.695648388882397, - 21.719200250887265, - 21.84846199635964, - 41.68356699945666, - 18.960719795544815, - 20.5312082862437, - 18.196549324775454, - 18.282026787199612, - 17.527379550176274, - 17.311634375289298, - 18.103391659446846, - 18.08282895415822, - 20.703417731749642, - 19.576754117387004, - 19.202663190206025, - 20.044456418745074, - 20.283403245753174, - 21.8489850775018, - 21.78323125803814, - 20.970370541662053, - 234.79764739811066, - 28.533759437581605, - 29.61558855228398, - 27.811580891545013, - 27.060162955710553, - 29.33502112481976, - 27.917857135146658, - 30.404268498216158, - 24.960460654224253, - 24.675372316724278, - 144.98963048881149, - 184.17585095864263, - 146.69394672570718, - 177.74965189824866, - 28.7488218843248, - 31.020291791967438, - 28.692975813425935, - 28.122504165825525, - 29.737592325033376, - 28.84137743592464, - 29.849097696581836, - 138.65450840310842, - 16.498965107928893, - 15.041761580861422, - 30.62991355499242, - 31.006617736836763, - 29.98647950273115, - 29.76004798217344, - 32.51085753625139, - 27.34204145808372, - 33.3673784692527, - 29.567000138979978, - 31.31076897672229, - 31.261771623788885, - 40.32227882328596, - 28.60802006530758, - 29.25463265931765, - 29.605017701435017, - 29.655281977845625, - 29.82234058253395, - 25.776540633364284, - 29.177655591624436, - 30.383670348726326, - 30.322479719722974, - 28.722028467766712, - 27.473151856442115, - 26.67582061683936, - 28.5313984539998, - 32.05442277978288, - 22.719589885419296, - 47.48745307032223, - 111.39116470720664, - 52.21052937189767, - 100.52328811756519, - 93.0405060032993, - 36.91327770937314, - 37.41472857462885, - 45.951932439089376, - 35.74081758413204, - 40.73772038109883, - 59.82897054854893, - 23.41997331597369, - 50.57146039099143, - 44.90939322702158, - 44.438476165406314, - 123.05532043545871, - 18.374912197234494, - 131.22822332261006, - 137.5089177398259, - 100.23180127768876, - 66.89444259036044, - 49.131890343721636, - 172.66815108681055, - 58.497266133975444, - 72.61293910574076, - 31.731928680074507, - 33.147830098915584, - 108.44284231148728, - 80.35776308373953, - 23.11026055364477, - 158.87170917157505, - 27.03107013199434, - 28.234901184891555, - 29.776473014317023, - 28.52927192289828, - 42.342113318537685, - 32.2496057755649, - 29.679070375868193, - 30.825926737710986, - 33.23742814943943, - 33.47244323848913, - 120.42352177228136, - 29.301881344228317, - 27.900230208081933, - 28.189609792185845, - 27.35611182699958, - 27.1684976511622, - 25.48914654815493, - 30.27786834669983, - 26.726281785839745, - 28.971724975573782, - 27.80125912263239, - 26.959323956208006, - 41.6249160167386, - 56.448674728021956, - 81.420631044107, - 62.751695024403716, - 59.1395621009665, - 12.196669743554397, - 111.83710924835894, - 181.4418334750391, - 372.6989249871674, - 993.7098384357145, - 609.3625163720782, - 703.7317719728558, - 77.83035511934726, - 100.72510354365862, - 46.696602311198106, - 45.23967175994426, - 40.69360194011951, - 42.50376443297884, - 31.739073511264316, - 35.5993825199473, - 33.93133062495083, - 36.29438016323498, - 37.22244190000341, - 37.024630511566336, - 35.68598024344163, - 32.670736490776356, - 34.862416882145, - 40.88706124102812, - 39.456285546080444, - 33.29886801738088, - 36.528014481976136, - 34.56162895211892, - 37.11455394784426, - 35.06004625825955, - 8.645400223439486, - 72.64200699777201, - 40.94801784297252, - 29.027793979806347, - 28.907458622871843, - 28.937558121027372, - 28.589213444723494, - 28.655557989855147, - 29.72776838427081, - 27.884973554926805, - 29.339229708795088, - 28.44704960452874, - 29.48353022952208, - 28.318099706327473, - 29.36604462952942, - 28.69073012060418, - 34.57006196643764, - 314.13899754400205, - 116.01254628869026, - 74.10368322688213, - 28.506880879849202, - 28.26235020015188, - 27.87708507777984, - 29.408325412289102, - 32.131760731017685, - 27.617293879643007, - 28.865236003699327, - 30.184028490592375, - 27.47672026238537, - 28.420034836290668, - 28.906655492573865, - 28.94581297904607, - 30.115992435858132, - 28.65572067161937, - 30.170908653723576, - 319.3808548261065, - 29.137556095636405, - 31.73489875803539, - 29.73574691609497, - 30.934749697359546, - 34.96752742579589, - 31.394093314808345, - 31.89394302659534, - 34.16326798952964, - 29.4824720726947, - 29.796924763665142, - 27.362503073119353, - 29.76709573514995, - 29.21699691936213, - 29.62860985204775, - 56.555631295583396, - 148.58482156485871, - 30.455609024254535, - 29.936785957015704, - 30.440302687947863, - 30.698662970781015, - 30.0683092722253, - 31.817778138209306, - 27.179139883212372, - 29.531640901290096, - 27.19331366085922, - 28.920579782890925, - 27.39353435030663, - 28.26520092118512, - 30.69858510139944, - 28.94510484322695, - 30.421039839503955, - 118.96070216388118, - 45.36801204022733, - 146.9456570758959, - 35.00590392425969, - 100.33906921492196, - 36.793421815928305, - 447.19068811860063, - 269.5187019500957, - 91.91628691832645, - 22.213769669730148, - 47.06876415425251, - 53.913146291587424, - 49.45705166532325, - 36.75858333643907, - 44.12357037060992, - 49.39937824344185, - 54.305011718068265, - 174.24055079340914, - 46.17192800065369, - 38.33840232783328, - 40.07048619727921, - 35.37416913231263, - 33.031275793122695, - 36.73049581903356, - 37.902675526228606, - 36.30046925069609, - 38.29536402788709, - 37.03864647638877, - 37.993623285573875, - 55.105849989139486, - 104.8659096490065, - 158.48851956277056, - 152.3179594311205, - 46.11901849248499, - 48.82278268748364, - 52.57209781858625, - 40.34425872714982, - 44.45265839324057, - 122.75210214441518, - 83.34082019997201, - 22.049980332343505, - 49.889975797327224, - 339.6863628550588, - 151.73189686915904, - 311.23552193270774, - 75.53520302767794, - 14.48192983358158, - 41.8275737372266, - 47.421875223308334, - 52.32815273513783, - 50.243163918029836, - 54.4681903603963, - 49.56907621449392, - 54.788092611757634, - 52.179594298674346, - 45.572234197462826, - 52.96667881760822, - 48.63324503653857, - 51.470160084053326, - 97.23136221815547, - 317.51783539885173, - 262.8682961689395, - 78.21532819932658, - 134.71230217456127, - 304.8685830780959, - 332.88185890673344, - 368.4199615012395, - 238.97322855010572, - 132.65057676798162, - 196.16433249956643, - 153.6514702628696, - 609.131687799482, - 139.74116928816295, - 67.83676366813346, - 124.49373122681293, - 349.59756013388954, - 54.09086413756898, - 51.74234254560892, - 54.46453472560093, - 54.67216424595344, - 52.77439711269679, - 54.18906385091794, - 54.84398420944293, - 108.23272384640964, - 65.33839537809608, - 62.459686562590875, - 46.27677500786698, - 51.88415560600177, - 56.59450082417144, - 55.338572099571856, - 54.216717536631, - 161.98149344276595, - 426.47714794363503, - 297.894289703079, - 305.37897027164956, - 316.53491958192006, - 73.11221697603851, - 55.26292682789636, - 36.55473013327958, - 48.346832809586026, - 47.511704483246355, - 50.176249176673856, - 50.94375037572033, - 50.541378284852485, - 46.28414923393829, - 45.362079766429574, - 43.14134331090656, - 104.63761246132105, - 359.66420952368725, - 391.7819422787575, - 397.1766388256538, - 440.19719791253306, - 161.25789861368844, - 638.6700129110952, - 470.12293324095384, - 480.79297989925135, - 78.03536999364584, - 65.52094978470228, - 22.58777524732255, - 50.14932767394299, - 51.302553727355814, - 56.909240617762954, - 193.2994282560819, - 68.30525286451352, - 105.75736528679232, - 118.22615700438072, - 69.06506243703866, - 77.99317941491972, - 120.486297281828, - 61.089442181716336, - 64.83941889588264, - 290.75237915178116, - 95.96656005175322, - 123.33739184383947, - 33.26996737558961, - 382.06750714614054, - 143.52419286236267, - 91.49761297404585, - 243.25136438725997, - 73.85414344981942, - 33.440502466798876, - 33.92858817603359, - 126.8072112379901, - 79.71733174005935, - 292.83852021430636, - 504.75710530637156, - 42.632799800970965, - 266.12417753660844, - 48.04677011290889, - 47.454070458685145, - 54.718319332520196, - 50.55193162801758, - 46.629197869556855, - 49.695547662039786, - 48.1238117412574, - 109.1162306131214, - 434.54506009104836, - 423.41684365928126, - 267.1218148164764, - 262.99317717136876, - 83.02854925189843, - 143.72990962141847, - 195.67221421616347, - 62.65013678968465, - 87.43418023580168, - 224.30762299362732, - 81.68665394197632, - 243.81689296141835, - 257.3152933490495, - 139.96654969362962, - 451.3268368736912, - 179.42514533331536, - 185.93273221886574, - 260.39791692650806, - 195.81212374013992, - 115.09891599029469, - 89.3775582576929, - 42.70167407972556, - 42.29836090927183, - 42.53939113244422, - 43.86758475554716, - 41.6161932158442, - 43.64766569715293, - 14.636360816358208, - 12.415807177605435, - 22.20591435793155, - 49.25470786305309, - 41.25016902645787, - 40.75526014011344, - 43.94026024361856, - 42.28504179914743, - 41.42562620019829, - 259.73370335561106, - 275.15316809470465, - 93.88913860765884, - 46.54150457862581, - 48.94884784625499, - 39.1285470503, - 38.472947705133656, - 36.5940087614523, - 51.93354706112654, - 40.290786095157316, - 44.9719717859117, - 43.64287476295927, - 43.42537693150827, - 42.310118369460966, - 45.719266195571386, - 371.64306926278846, - 180.09077178597013, - 43.9771449796963, - 43.81786004632195, - 43.95249630800523, - 43.86180360177869, - 26.24980191083175, - 17.49988386773166, - 23.080009314914307, - 20.86396376831662, - 44.69432482606699, - 38.804332976479834, - 41.5507429155391, - 47.38485558257238, - 32.415944362455186, - 44.094614544681725, - 43.02150192287832, - 44.38223451505274, - 43.87097803547724, - 43.658321353164204, - 44.084658129282175, - 43.83206864364127, - 43.577359719391495, - 44.087624726095854, - 43.89078587972953, - 146.35175011736266, - 1372.1329695216311, - 44.1246286205539, - 46.86206366196733, - 43.58592771827037, - 43.594812850177654, - 44.3901337756345, - 43.57885891599203, - 43.55683494620822, - 44.03794285985274, - 43.601683767865914, - 44.28960113577392, - 40.56549967166608, - 43.82871550166234, - 43.72919408252902, - 44.02443623417255, - 43.74004233915587, - 43.77404448268379, - 43.72842629969739, - 44.05770191738723, - 44.15242679413242, - 43.48746370513485, - 43.225520034696665, - 44.04259802728631, - 44.00249644357344, - 43.85643273818931, - 43.668355671347, - 44.232588449215974, - 43.64531740194186, - 44.24503933122119, - 43.37980980361186, - 11.243933667574254, - 648.6325240335742, - 151.89524599894267, - 366.6527787050709, - 751.4415293704736, - 128.9295482127896, - 366.8056279094344, - 258.7159305666664, - 14.109645231009578, - 610.332579355511, - 275.4353325642393, - 319.4618004488633, - 476.87407210371333, - 86.49316180406454, - 925.7550847782331, - 25.05973634951156, - 50.4872321305563, - 47.510535434752185, - 54.90324119382573, - 32.230363735206765, - 44.254638704574475, - 43.89198126534049, - 43.8253168583044, - 43.81647404548342, - 468.3362097068592, - 233.70385697595395, - 220.07589280803967, - 136.68794071728672, - 446.3770160668608, - 23.82304830832629, - 430.7712720418151, - 696.6976874216591, - 19.706280490484026, - 291.3097989735322, - 91.5764144979861, - 124.06587925191572, - 282.14147206167667, - 58.72363227533027, - 58.38337143940145, - 55.70397691223441, - 55.13692569254708, - 60.811534495566356, - 59.28725585068358, - 72.73342310612338, - 74.93932057063822, - 382.2118199426143, - 24.26703791737039, - 231.505437591081, - 156.77096730726979, - 333.57385537245017, - 264.4819939576866, - 30.55802418727961, - 27.489470228782157, - 29.127093909657404, - 43.72163018371143, - 44.22372318053014, - 44.05586172904159, - 43.0236767957843, - 43.233661452026624, - 17.866015126989797, - 71.80930366496466, - 218.222307380434, - 202.74505561087193, - 156.67551212177207, - 377.5875893562841, - 31.66416824215581, - 32.54015900188906, - 32.94014077267405, - 31.130429759357124, - 31.327458285878564, - 34.53417934249268, - 27.853733515386534, - 31.077046810874094, - 30.12759862285624, - 34.51566922100687, - 38.44321590210667, - 92.89636793346727, - 328.0688729157218, - 279.9260797905011, - 267.91312323418066, - 62.227418931374686, - 64.21847091744222, - 64.4146390637272, - 193.68754407548346, - 82.17406117458336, - 60.29370181315734, - 61.3644319965058, - 57.831013236841784, - 241.79011189467667, - 783.9283010467352, - 101.79331168654285, - 117.76433253433117, - 376.2362566824064, - 382.5522304187027, - 65.20660479964073, - 207.3711095320355, - 689.6221868649385, - 395.25907809536216, - 24.67630499357882, - 354.593159144797, - 134.22716771702835, - 266.69311542707436, - 412.65952699611324, - 173.07654191818162, - 148.5312387697223, - 243.6932922893126, - 51.827706702506546, - 102.24317800434066, - 127.0039481269286, - 78.99994156293198, - 113.07090467194016, - 150.15171522483755, - 363.76654491247564, - 575.7773727907802, - 249.91747424992178, - 225.6853293652351, - 346.5263653692803, - 28.86327729262184, - 397.1101858013257, - 403.67430383440677, - 246.0718991771879, - 178.8462873634989, - 131.60374490419355, - 242.5360340011723, - 254.15907819127793, - 245.8957875817015, - 368.150937556265, - 19.861539695679195, - 269.7009589904212, - 485.77232429062923, - 84.1469797128759, - 11.726342154263891, - 174.26884759692672, - 97.45593078938836, - 50.69275332407043, - 26.798007621048644, - 23.805291965962383, - 49.76815226751364, - 59.06602429169795, - 28.27784086563174, - 36.392407757950366, - 90.05006821987982, - 47.74832156011246, - 29.94844391748409, - 39.182311566096814, - 16.129215532053223, - 37.443485280488225, - 41.819363622489725, - 54.86258687727404, - 35.912551115592194, - 14.879690741840832, - 34.1961851830425, - 68.9274921896577, - 73.01734534872104, - 222.52064714978587, - 45.5368781245268, - 46.368535750877186, - 49.91026580851938, - 49.689783701217095, - 54.12171707159866, - 48.634160678169, - 57.918961149617076, - 59.50057532162776, - 50.804758663295, - 556.9934758471451, - 211.48560727191762, - 139.6248510363633, - 176.45164409777146, - 80.5025798498335, - 100.82648123597775, - 75.25249577537797, - 94.0035373165972, - 200.57238736937555, - 56.523463227687394, - 68.59069447316901, - 72.5403326999719, - 83.60170776888972, - 63.546552218646674, - 102.73711631466716, - 69.62747966117267, - 68.3111330331286, - 49.48913096098619, - 46.35939678327981, - 39.345911160333124, - 37.46772205137854, - 36.670331620193366, - 35.94583435172875, - 73.20676649559056, - 125.14826021425752, - 118.92126558673215, - 80.89399676467049, - 266.2130882321581, - 20.032214420854284, - 125.45031096524959, - 14.121312081080877, - 16.48505028748779, - 17.938751421871455, - 22.807564209593476, - 18.705897846991718, - 30.054766142325576, - 10.728452675451635, - 22.239096283390676, - 14.137023433315042, - 12.571371612194055, - 17.539805654858686, - 15.020756371694475, - 23.634468504641912, - 13.917316886897808, - 12.894454474712658, - 18.640214676803172, - 12.823575779103399, - 111.57531678737855, - 14.422632514226994, - 74.27651579982977, - 19.673557366916764, - 26.984029579777733, - 6.537812802345149, - 40.13102556853206, - 17.1389265770638, - 82.3452381858998, - 27.69682231534074, - 61.39814906012028 - ], - "duration": [ - 19.7, - 60.6, - 57.8, - 10.7, - 5.9, - 5.9, - 3.2, - 1.3, - 8.1, - 5.6, - 3.5, - 1, - 6.1, - 3.7, - 3.2, - 2.6, - 12.9, - 7.7, - 5.2, - 4.7, - 1.9, - 19.3, - 7, - 6.4, - 5.6, - 7, - 0.2, - 2.4, - 2.1, - 0.3, - 0.4, - 2.8, - 3, - 2.4, - 21.2, - 13.5, - 5, - 1.5, - 3.3, - 1.6, - 9.4, - 1.7, - 1.3, - 1, - 2.7, - 2.4, - 2.3, - 1.8, - 1.1, - 1.2, - 1.8, - 0.8, - 8.2, - 3.7, - 2.2, - 2.9, - 1.7, - 1, - 1, - 1, - 0.9, - 1.1, - 1.1, - 1, - 1, - 0.9, - 0.9, - 0.9, - 0.9, - 0.9, - 0.8, - 0.8, - 0.8, - 0.8, - 0.8, - 0.7, - 0.9, - 0.9, - 0.9, - 0.9, - 0.8, - 1, - 1, - 2.6, - 1.7, - 1.4, - 2.6, - 2.2, - 2.1, - 2.2, - 2.1, - 2.1, - 7.6, - 15.1, - 0.8, - 0.9, - 0.8, - 0.8, - 0.8, - 0.9, - 0.8, - 0.8, - 0.9, - 0.9, - 4.1, - 8.6, - 2.3, - 2.4, - 2.6, - 2.1, - 2.2, - 2.4, - 2.4, - 2.4, - 2.4, - 2.4, - 2.2, - 1.8, - 1.8, - 2, - 1.1, - 1.1, - 1.3, - 1.1, - 1.4, - 1.5, - 1.6, - 1.7, - 1.8, - 1.9, - 1.2, - 1.3, - 2.1, - 0.9, - 7.4, - 2.8, - 5.1, - 9.9, - 1.4, - 1.2, - 1, - 0.9, - 1, - 0.9, - 0.9, - 1, - 0.9, - 1, - 0.9, - 0.9, - 0.9, - 2.6, - 0.8, - 0.9, - 0.8, - 0.8, - 0.8, - 0.8, - 0.8, - 0.8, - 0.8, - 0.8, - 0.8, - 0.9, - 0.9, - 0.9, - 0.9, - 0.9, - 0.9, - 1, - 1, - 0.9, - 1, - 1, - 1, - 1.8, - 0.8, - 0.9, - 0.8, - 0.8, - 0.8, - 0.8, - 0.8, - 0.8, - 0.9, - 0.9, - 0.8, - 0.9, - 0.9, - 1, - 1, - 0.9, - 10.3, - 1.3, - 1.3, - 1.2, - 1.1, - 1.1, - 1.1, - 1.2, - 1, - 1, - 5.7, - 7.3, - 5.7, - 7.5, - 1.2, - 1.3, - 1.2, - 1.2, - 1.3, - 1.2, - 1.3, - 5.9, - 0.7, - 0.6, - 1.3, - 1.3, - 1.3, - 1.3, - 1.4, - 1.2, - 1.4, - 1.3, - 1.3, - 1.3, - 1.6, - 1.1, - 1.2, - 1.2, - 1.2, - 1.2, - 1, - 1.1, - 1.2, - 1.2, - 1.1, - 1.1, - 1, - 1.1, - 1.2, - 0.9, - 1.9, - 4.4, - 2.1, - 4, - 3.7, - 1.5, - 1.5, - 1.8, - 1.4, - 1.6, - 2.4, - 0.9, - 2, - 1.8, - 1.7, - 4.8, - 0.7, - 5.2, - 5.3, - 3.9, - 2.6, - 1.9, - 6.8, - 2.3, - 2.9, - 1.2, - 1.3, - 4.2, - 3.1, - 0.9, - 6.1, - 1, - 1.1, - 1.2, - 1.1, - 1.6, - 1.2, - 1.1, - 1.2, - 1.3, - 1.3, - 4.7, - 1.1, - 1.1, - 1.1, - 1.1, - 1.1, - 1, - 1.2, - 1, - 1.1, - 1.1, - 1, - 1.6, - 2.3, - 3.2, - 2.5, - 2.3, - 0.5, - 4.2, - 6.8, - 14, - 37.3, - 23.3, - 26.1, - 2.9, - 3.7, - 1.7, - 1.7, - 1.5, - 1.6, - 1.2, - 1.3, - 1.3, - 1.3, - 1.4, - 1.4, - 1.3, - 1.2, - 1.3, - 1.5, - 1.5, - 1.3, - 1.4, - 1.4, - 1.5, - 1.4, - 0.3, - 2.7, - 1.5, - 1.1, - 1.1, - 1.1, - 1.1, - 1.1, - 1.1, - 1, - 1.1, - 1.1, - 1.1, - 1.1, - 1.1, - 1.1, - 1.3, - 11.7, - 4.2, - 2.7, - 1, - 1, - 1, - 1.1, - 1.2, - 1, - 1, - 1.1, - 1, - 1, - 1.1, - 1.1, - 1.1, - 1, - 1.1, - 11.9, - 1.1, - 1.2, - 1.1, - 1.1, - 1.3, - 1.2, - 1.2, - 1.3, - 1.1, - 1.1, - 1, - 1.1, - 1.1, - 1.1, - 2.2, - 5.6, - 1.2, - 1.1, - 1.2, - 1.2, - 1.1, - 1.2, - 1.1, - 1.2, - 1.1, - 1.2, - 1.1, - 1.2, - 1.3, - 1.2, - 1.2, - 5, - 1.9, - 6, - 1.4, - 3.9, - 1.4, - 17.5, - 10.7, - 3.6, - 0.8, - 1.7, - 2, - 1.8, - 1.4, - 1.6, - 1.8, - 2, - 5.9, - 1.6, - 1.3, - 1.3, - 1.2, - 1.1, - 1.2, - 1.3, - 1.2, - 1.3, - 1.2, - 1.3, - 1.9, - 3.5, - 5.3, - 5.3, - 1.6, - 1.7, - 1.8, - 1.4, - 1.5, - 4.2, - 2.9, - 0.8, - 1.8, - 12.4, - 5.5, - 11.3, - 2.7, - 0.5, - 1.6, - 1.8, - 2, - 1.9, - 2, - 1.9, - 2.1, - 2, - 1.7, - 2, - 1.8, - 1.9, - 3.6, - 15, - 13.9, - 4.1, - 7.1, - 16.1, - 15.4, - 17, - 9.7, - 5.4, - 8, - 6.3, - 24.9, - 5.7, - 2.8, - 5.1, - 14.1, - 2.2, - 2.1, - 2.2, - 2.2, - 2.1, - 2.2, - 2.2, - 4.3, - 2.6, - 2.5, - 1.9, - 2.1, - 2.3, - 2.2, - 2.2, - 6.5, - 17.1, - 11.9, - 12.2, - 12.7, - 2.9, - 2.2, - 1.5, - 1.9, - 1.9, - 2, - 2, - 2, - 1.9, - 1.8, - 1.7, - 4.2, - 14.4, - 18.1, - 16.4, - 18.2, - 6.4, - 25.3, - 18.6, - 19, - 3.1, - 2.6, - 0.9, - 1.9, - 1.9, - 2.1, - 7.2, - 2.6, - 4, - 4.4, - 2.6, - 2.9, - 4.5, - 2.3, - 2.4, - 10.9, - 4.2, - 5.5, - 1.4, - 15, - 5.6, - 3.6, - 9.5, - 2.9, - 1.3, - 1.3, - 5, - 3.2, - 10.8, - 18.5, - 1.5, - 9.7, - 1.7, - 1.7, - 2, - 1.8, - 1.7, - 1.8, - 1.7, - 3.9, - 15.6, - 15.2, - 9.6, - 9.5, - 3.1, - 5.3, - 7, - 2.2, - 3.1, - 8, - 2.9, - 8.7, - 9.2, - 5, - 16.1, - 6.5, - 6.7, - 9.4, - 7.2, - 4.2, - 3.3, - 1.6, - 1.6, - 1.6, - 1.6, - 1.5, - 1.6, - 0.5, - 0.5, - 0.8, - 1.8, - 1.5, - 1.5, - 1.6, - 1.6, - 1.5, - 9.5, - 9.9, - 3.5, - 1.7, - 1.8, - 1.5, - 1.4, - 1.4, - 1.9, - 1.5, - 1.6, - 1.6, - 1.6, - 1.5, - 1.7, - 13.5, - 6.3, - 1.5, - 1.5, - 1.5, - 1.5, - 0.9, - 0.6, - 0.8, - 0.7, - 1.6, - 1.4, - 1.5, - 1.7, - 1.1, - 1.5, - 1.5, - 1.6, - 1.5, - 1.5, - 1.5, - 1.5, - 1.5, - 1.5, - 1.5, - 5.1, - 50.4, - 1.6, - 1.7, - 1.6, - 1.6, - 1.6, - 1.6, - 1.6, - 1.6, - 1.6, - 1.6, - 1.5, - 1.6, - 1.6, - 1.6, - 1.6, - 1.6, - 1.6, - 1.6, - 1.6, - 1.6, - 1.6, - 1.6, - 1.6, - 1.6, - 1.6, - 1.6, - 1.6, - 1.6, - 1.6, - 0.4, - 23.6, - 5.5, - 13.3, - 27.3, - 4.7, - 14.7, - 11.1, - 0.6, - 24.1, - 10.9, - 13.9, - 20.7, - 3.8, - 43.3, - 1.1, - 2.2, - 2.1, - 2.1, - 1.2, - 1.7, - 1.7, - 1.7, - 1.7, - 17.7, - 8.9, - 8.3, - 4.9, - 16.1, - 0.9, - 15.5, - 25.1, - 0.7, - 10.5, - 3.2, - 4.3, - 9.9, - 2.1, - 2, - 1.9, - 1.9, - 2.1, - 2.1, - 2.5, - 2.6, - 13.4, - 1.1, - 9, - 6.1, - 12.5, - 9.9, - 1.1, - 1, - 1.1, - 1.6, - 1.7, - 1.7, - 1.6, - 1.7, - 0.7, - 2.7, - 8.1, - 7.8, - 5.7, - 13.7, - 1.2, - 1.2, - 1.2, - 1.1, - 1.1, - 1.3, - 1, - 1.1, - 1.1, - 1.3, - 1.5, - 3.4, - 12.1, - 10.3, - 9.8, - 2.3, - 2.4, - 2.4, - 7.1, - 3, - 2.3, - 2.3, - 2.2, - 9.1, - 31.7, - 4.1, - 4.8, - 14, - 13.8, - 2.3, - 7.5, - 25.6, - 14.2, - 0.9, - 12.9, - 5.1, - 10.2, - 15.8, - 6.4, - 5.5, - 9, - 1.8, - 3.6, - 4.5, - 3, - 4.3, - 5.7, - 13.9, - 22, - 9.6, - 8.6, - 13.6, - 1.2, - 15.9, - 16.1, - 9.8, - 6.5, - 4.8, - 8.8, - 9.2, - 8.9, - 14.4, - 0.9, - 15.4, - 26.5, - 3.8, - 0.5, - 9.4, - 5.2, - 2.7, - 1.4, - 1.3, - 2.7, - 3.2, - 1.5, - 2, - 4.8, - 2.6, - 1.6, - 2.1, - 1, - 1.5, - 1.7, - 2.2, - 1.5, - 0.6, - 1.4, - 2.8, - 2.9, - 8.2, - 1.7, - 1.7, - 1.8, - 1.8, - 2, - 1.7, - 2.1, - 2.1, - 1.8, - 19.5, - 7.8, - 5.2, - 6.5, - 3, - 3.9, - 2.9, - 3.6, - 7.6, - 2.2, - 2.7, - 2.8, - 3.4, - 2.6, - 4.2, - 2.8, - 2.8, - 2, - 1.9, - 1.6, - 1.5, - 1.5, - 1.5, - 3, - 5.1, - 4.9, - 3.8, - 12, - 0.9, - 6.5, - 1.8, - 2.1, - 2.3, - 2.9, - 2.4, - 3.9, - 1.4, - 2.9, - 1.8, - 1.6, - 2.3, - 1.9, - 3, - 1.8, - 3.7, - 4.6, - 1.7, - 14.9, - 5.2, - 13.4, - 3.5, - 4.9, - 1.2, - 6.3, - 2.7, - 14.8, - 4.5, - 10.1 - ], - "speed": [ - 3.9, - 2.4, - 2.4, - 1.2, - 8.9, - 7.4, - 2.8, - 6.3, - 6.4, - 6.3, - 2.7, - 8.8, - 8.9, - 8.9, - 3.2, - 6.7, - 6.7, - 6.7, - 6.6, - 3.8, - 5.5, - 5, - 9.1, - 6.4, - 9.5, - 7.2, - 9, - 7.4, - 7.6, - 7.9, - 5.7, - 5.6, - 5.6, - 5.5, - 5.6, - 5, - 5.5, - 10.8, - 10.4, - 11.5, - 12.2, - 10.1, - 9.1, - 9.8, - 8.7, - 5.3, - 5.2, - 5.3, - 5.4, - 5.3, - 5.3, - 5, - 4.4, - 3.9, - 10.7, - 10.4, - 9.3, - 9.4, - 9.3, - 9.1, - 9.7, - 9.1, - 9.1, - 9.3, - 9.3, - 9.7, - 9.4, - 9.9, - 9.4, - 9.1, - 9.9, - 9.6, - 9.7, - 9.6, - 9.5, - 10, - 9, - 9.2, - 9.4, - 9.5, - 9.8, - 9.1, - 9.5, - 9.3, - 9.4, - 9.4, - 9.6, - 9.6, - 9.5, - 9.5, - 9.6, - 9.5, - 9.4, - 17.8, - 18.5, - 17.3, - 18.7, - 18.6, - 18.1, - 17.2, - 17.2, - 18.6, - 18, - 18.7, - 17.8, - 7.7, - 7.8, - 7.6, - 7.6, - 7.6, - 7.9, - 7.8, - 7.9, - 7.9, - 7.9, - 7.7, - 7.8, - 7.9, - 7.8, - 7.8, - 8, - 8.1, - 7.7, - 8, - 7.8, - 7.9, - 7.8, - 7.8, - 7.7, - 7.9, - 7.7, - 7.8, - 7.8, - 7.5, - 8.9, - 8.9, - 8.9, - 14.9, - 15, - 14.9, - 22.6, - 23.9, - 21.8, - 23.5, - 23.7, - 22.1, - 23, - 21.7, - 23.3, - 23.9, - 23.5, - 22.9, - 22.8, - 22.1, - 22.5, - 23.5, - 23.3, - 22.8, - 22.4, - 22.7, - 23.5, - 23.1, - 23.8, - 22.5, - 22.5, - 23.4, - 21.8, - 23.7, - 22.3, - 21.8, - 22.5, - 23.7, - 22.7, - 21.7, - 21.8, - 23.2, - 23.7, - 22.8, - 22.7, - 22.9, - 21.9, - 21.6, - 22.6, - 22.6, - 23, - 21.8, - 24, - 22.3, - 22.5, - 21.8, - 21.8, - 23.3, - 22.8, - 21.9, - 22.8, - 23.2, - 24.6, - 26.7, - 25.4, - 25.3, - 25, - 24.7, - 25.4, - 25.2, - 25.7, - 23.7, - 24, - 23.9, - 23.9, - 23.4, - 22.9, - 24, - 23, - 23.5, - 23.6, - 25.1, - 23.6, - 23.9, - 23.1, - 22.9, - 23.2, - 22.8, - 23.8, - 22.7, - 24.1, - 24, - 25.2, - 26, - 24.4, - 24.7, - 24.7, - 24.9, - 25.8, - 26.5, - 25.3, - 25.3, - 26.1, - 25, - 26.7, - 25.9, - 26.7, - 25.2, - 25, - 25.3, - 24.9, - 25.1, - 25.1, - 24.6, - 24.9, - 25.5, - 25.5, - 25.5, - 24.9, - 26, - 25.3, - 24.9, - 26.1, - 25.6, - 26.2, - 25.2, - 25.9, - 25.7, - 25.7, - 25.9, - 25.4, - 25.4, - 25, - 26.4, - 25.5, - 25.8, - 25.9, - 25.7, - 26, - 27, - 25.7, - 24.8, - 25.9, - 26.5, - 26.9, - 27, - 25.7, - 25.6, - 25.7, - 25.6, - 26.6, - 25.4, - 25.6, - 24.9, - 24.7, - 25.5, - 25.2, - 26.7, - 26.3, - 25.3, - 27, - 26, - 24.5, - 25.4, - 25.1, - 25.7, - 24.4, - 26.6, - 26.7, - 26.6, - 26.6, - 26.2, - 27, - 26.8, - 27.2, - 27.5, - 26.6, - 27.1, - 26.6, - 26.4, - 27.4, - 26.1, - 27.9, - 26.6, - 26.4, - 27.5, - 27.2, - 26.8, - 27.3, - 26.3, - 25.6, - 26.1, - 24.7, - 24.7, - 25, - 28.8, - 26.9, - 27.3, - 26.4, - 26.3, - 26.3, - 26, - 26.1, - 27, - 27.9, - 26.7, - 25.9, - 26.8, - 25.7, - 26.7, - 26.1, - 26.6, - 26.8, - 27.6, - 27.4, - 28.5, - 28.3, - 27.9, - 26.7, - 26.8, - 27.6, - 28.9, - 27.4, - 27.5, - 28.4, - 26.3, - 26.3, - 27.4, - 28.7, - 27.4, - 26.8, - 26.5, - 26.4, - 27, - 28.1, - 26.9, - 26.2, - 26.6, - 26.3, - 26.8, - 27.1, - 27.4, - 27.1, - 26.6, - 26.9, - 25.7, - 26.5, - 25.4, - 27.2, - 25.4, - 25.6, - 27.3, - 26.5, - 24.7, - 24.6, - 24.7, - 24.1, - 24.9, - 23.6, - 23.6, - 24.1, - 25.4, - 23.8, - 23.9, - 24.5, - 25, - 25.7, - 26.3, - 25.6, - 25.2, - 25.5, - 27.8, - 27.7, - 27, - 27.5, - 26.3, - 27.6, - 27.4, - 27.2, - 29.5, - 28.9, - 29.5, - 30.8, - 29.5, - 30, - 30.6, - 29.2, - 30.3, - 29.5, - 30.9, - 29.2, - 29, - 30, - 29.9, - 28.7, - 28.8, - 28.7, - 29.2, - 28.8, - 29.6, - 29.2, - 28.7, - 27.6, - 27.7, - 27.4, - 27.6, - 27.5, - 28, - 29, - 26.1, - 26.3, - 26.2, - 26.4, - 27.2, - 26.1, - 26.1, - 26.1, - 26.8, - 26.5, - 27, - 27.1, - 27, - 21.2, - 18.9, - 19.1, - 19, - 18.9, - 21.6, - 21.7, - 24.6, - 24.6, - 24.5, - 24.4, - 24.5, - 24.5, - 24.2, - 24.4, - 24.8, - 24.6, - 24.6, - 24.8, - 24.9, - 25.1, - 24.6, - 24.9, - 25.2, - 25.1, - 25, - 24.4, - 24.7, - 24.6, - 25.2, - 24.6, - 24.9, - 24.9, - 25, - 25, - 24.9, - 25.2, - 25.1, - 24.4, - 25.4, - 25, - 25.1, - 25.5, - 25.3, - 24.4, - 25.2, - 25.4, - 24.9, - 25, - 21.6, - 24.2, - 24.2, - 25.2, - 25.2, - 25.3, - 25.3, - 25.2, - 25.2, - 25.1, - 26.4, - 27, - 27.1, - 26.8, - 26.3, - 26.4, - 26.9, - 26.6, - 26.9, - 26.8, - 26.6, - 27, - 26.7, - 22.8, - 22.4, - 23.8, - 25.5, - 25.6, - 25.4, - 25.6, - 25.5, - 25.7, - 26.1, - 25.4, - 24.9, - 27.1, - 27.3, - 28.4, - 27.4, - 28.3, - 27.9, - 27.4, - 28.1, - 27.4, - 27.6, - 28.3, - 28, - 27.9, - 27.9, - 27.8, - 27.7, - 26.8, - 27.1, - 28, - 28.5, - 28.2, - 28, - 28.2, - 28, - 28, - 28, - 28, - 27.6, - 27.8, - 27.7, - 27.2, - 27.4, - 27.1, - 26.7, - 26.4, - 26.6, - 27.4, - 27.7, - 27.3, - 29.3, - 24.8, - 27.8, - 27.4, - 27.5, - 27.2, - 27.5, - 26.4, - 27.6, - 27.3, - 27.8, - 26.8, - 27.4, - 27.2, - 26.1, - 27.5, - 26.1, - 27.3, - 26.9, - 28.1, - 27.3, - 27.1, - 28.2, - 26.9, - 27.5, - 28.6, - 29.3, - 29.2, - 29.3, - 29.2, - 29.2, - 29.2, - 28.9, - 29.8, - 27.9, - 27.7, - 27.7, - 27.9, - 29.5, - 29.4, - 28.7, - 27.7, - 29.2, - 29.1, - 29.4, - 29.2, - 29.1, - 29.4, - 29.3, - 28.7, - 27.2, - 27.6, - 27.6, - 27.2, - 27.2, - 27.7, - 27.2, - 27.2, - 27.5, - 27.3, - 27.7, - 27, - 27.4, - 27.3, - 27.5, - 27.3, - 27.4, - 27.3, - 27.5, - 27.6, - 27.2, - 27, - 27.5, - 27.5, - 27.4, - 27.3, - 27.6, - 27.3, - 27.7, - 27.1, - 28.1, - 27.5, - 27.6, - 27.6, - 27.5, - 27.4, - 25, - 23.3, - 23.5, - 25.3, - 25.3, - 23, - 23, - 22.8, - 21.4, - 22.8, - 22.9, - 22.6, - 26.1, - 26.9, - 26, - 25.8, - 25.8, - 25.8, - 26.5, - 26.3, - 26.5, - 27.9, - 27.7, - 26.5, - 27.8, - 27.8, - 28.2, - 27.7, - 28.6, - 28.9, - 28.5, - 28, - 29.2, - 29.3, - 29, - 29, - 28.2, - 29.1, - 28.8, - 28.5, - 22.1, - 25.7, - 25.7, - 26.7, - 26.7, - 27.8, - 27.5, - 26.5, - 27.3, - 26, - 25.9, - 26.9, - 25.4, - 25.5, - 26.6, - 26.9, - 26, - 27.5, - 27.6, - 26.4, - 27.1, - 27.5, - 28.3, - 28.5, - 26.6, - 27.9, - 28.3, - 27.4, - 26.6, - 25.6, - 27.3, - 27.1, - 27.2, - 27.3, - 27.1, - 26.8, - 26.8, - 27.3, - 27.4, - 26.2, - 26.7, - 26.3, - 26.6, - 24.7, - 24.8, - 24.5, - 26.9, - 27.7, - 28.4, - 27.6, - 26.9, - 27.8, - 27.4, - 27.5, - 26.3, - 26.1, - 26.1, - 27, - 27, - 27.1, - 28.8, - 28.4, - 28.2, - 26.3, - 26.3, - 26.3, - 26.2, - 26.2, - 26, - 26.2, - 25.5, - 24.1, - 25, - 25.1, - 25.1, - 27.5, - 27.4, - 27.6, - 27.6, - 27.6, - 25.6, - 22.1, - 17.5, - 18.3, - 22.1, - 23.5, - 18.5, - 18.7, - 18.8, - 19.1, - 18.3, - 18.4, - 18.5, - 18.9, - 18.2, - 18.8, - 18.4, - 18.7, - 18.7, - 16.1, - 25, - 24.6, - 24.9, - 23.9, - 24.8, - 24.4, - 24.6, - 25.2, - 27.1, - 26.8, - 27.3, - 27.7, - 27.6, - 27.1, - 28.6, - 27.6, - 28.3, - 28.2, - 28.6, - 27.1, - 26.9, - 27.1, - 26.8, - 25.9, - 25.9, - 26.1, - 26.4, - 25.7, - 25.4, - 25.9, - 24.6, - 24.4, - 24.5, - 24.9, - 24.4, - 24.7, - 24.4, - 24.6, - 25, - 24.4, - 24, - 24.4, - 24.5, - 24.3, - 21.3, - 22.2, - 22.3, - 19.3, - 7.8, - 7.9, - 7.8, - 7.9, - 7.8, - 7.7, - 7.7, - 7.7, - 7.9, - 7.9, - 7.6, - 7.9, - 7.9, - 7.7, - 3.5, - 4.1, - 7.5, - 7.5, - 2.8, - 5.5, - 5.6, - 5.5, - 5.4, - 6.4, - 6.3, - 5.6, - 6.2, - 6.1 - ] - }, "steps": [ { "intersections": [ @@ -2663,565 +27,267 @@ "entry": [ true ], - "bearings": [ - 261 - ], - "location": [ - -122.416686, - 37.783425 - ] - }, - { - "out": 2, - "location": [ - -122.417548, - 37.783315 - ], - "bearings": [ - 75, - 165, - 255, - 345 - ], - "entry": [ - false, - false, - true, - true - ], - "in": 0 - }, - { - "out": 2, - "location": [ - -122.419192, - 37.783106 - ], - "bearings": [ - 75, - 165, - 255, - 345 - ], - "entry": [ - false, - true, - true, - true - ], - "in": 0 - }, - { - "out": 2, - "location": [ - -122.42076, - 37.782907 - ], - "bearings": [ - 75, - 165, - 255, - 345 - ], - "entry": [ - false, - false, - true, - true - ], - "in": 0 - } - ], - "geometry": "mqreFhodjVTjDh@fIf@xHB\\", - "mode": "driving", - "duration": 148.8, - "maneuver": { - "bearing_after": 261, - "type": "depart", - "modifier": "left", - "bearing_before": 0, - "location": [ - -122.416686, - 37.783425 - ], - "instruction": "Head west on Eddy Street" - }, - "weight": 148.8, - "distance": 376.1, - "name": "Eddy Street" - }, - { - "intersections": [ - { - "out": 1, - "location": [ - -122.42091, - 37.782888 - ], - "bearings": [ - 75, - 165, - 255, - 345 - ], - "entry": [ - false, - true, - true, - false - ], - "in": 0 - }, - { - "out": 0, - "location": [ - -122.420816, - 37.782423 - ], - "bearings": [ - 165, - 255, - 345 - ], - "entry": [ - true, - true, - false - ], - "in": 2 - }, - { - "out": 1, - "location": [ - -122.420722, - 37.781954 - ], - "bearings": [ - 75, - 165, - 255, - 345 - ], - "entry": [ - false, - true, - true, - false - ], - "in": 3 - }, - { - "lanes": [ - { - "valid": false, - "indications": [ - "left" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - } - ], - "out": 1, - "location": [ - -122.420534, - 37.781023 - ], - "bearings": [ - 75, - 165, - 255, - 345 + "location": [ + -122.416686, + 37.783425 ], + "bearings": [ + 81 + ] + } + ], + "geometry": "mqreFhodjVQ}C", + "duration": 23.5, + "distance": 69.7, + "name": "Eddy Street", + "weight": 42.7, + "mode": "driving", + "maneuver": { + "bearing_after": 81, + "location": [ + -122.416686, + 37.783425 + ], + "type": "depart", + "bearing_before": 0, + "modifier": "right", + "instruction": "Kör åt öster på Eddy Street" + } + }, + { + "intersections": [ + { + "out": 1, + "in": 2, "entry": [ true, true, false, false ], - "in": 3 - }, - { - "lanes": [ - { - "valid": false, - "indications": [ - "left" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - } - ], - "out": 1, "location": [ - -122.420342, - 37.780077 + -122.415903, + 37.783524 ], "bearings": [ - 90, + 75, 165, 255, 345 - ], + ] + }, + { + "out": 1, + "in": 3, "entry": [ - true, + false, true, true, false ], - "in": 3 - }, - { - "lanes": [ - { - "valid": false, - "indications": [ - "left" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - } - ], - "out": 1, "location": [ - -122.419972, - 37.778242 + -122.415716, + 37.782593 ], "bearings": [ 75, 165, 255, 345 - ], + ] + }, + { + "out": 1, + "in": 3, "entry": [ true, true, - true, + false, false ], - "in": 3 - }, - { - "out": 1, "location": [ - -122.419782, - 37.777295 + -122.415527, + 37.78166 ], "bearings": [ 75, 165, 255, 345 - ], + ] + }, + { + "out": 1, + "in": 3, "entry": [ false, true, true, false ], - "in": 3 - }, - { - "lanes": [ - { - "valid": false, - "indications": [ - "left" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - } - ], - "out": 1, "location": [ - -122.419594, - 37.776367 + -122.415339, + 37.780726 ], "bearings": [ 75, 165, 255, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ - true, true, true, false ], - "in": 3 - }, - { - "out": 0, "location": [ - -122.419499, - 37.775895 + -122.415152, + 37.779796 ], "bearings": [ 165, 255, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "lanes": [ - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": false, - "indications": [ - "right" - ] - } - ], - "out": 0, "location": [ - -122.419398, - 37.775431 + -122.414921, + 37.778867 ], "bearings": [ - 165, - 255, - 345 - ], + 135, + 270, + 330 + ] + }, + { + "out": 1, + "in": 3, "entry": [ + false, true, true, false ], - "in": 2 + "location": [ + -122.414826, + 37.778777 + ], + "bearings": [ + 45, + 135, + 225, + 315 + ] } ], - "geometry": "anreFtiejV|AQlAONCLAzAS|@KPCLA`BSx@KPC^EvC]zAQz@M^EPChDa@pBUfAO|AQxASB?^EZGB?", + "geometry": "_rreFjjdjVxDc@xDe@|C_@ZExC_@^E^E~BYXMBCLMJM", + "duration": 88.00000000000001, + "distance": 546.9, + "name": "Hyde Street", + "weight": 170, "mode": "driving", - "duration": 132.79999999999998, "maneuver": { "bearing_after": 170, - "type": "turn", - "modifier": "left", - "bearing_before": 260, "location": [ - -122.42091, - 37.782888 + -122.415903, + 37.783524 ], - "instruction": "Turn left onto Van Ness Avenue (US 101)" - }, - "ref": "US 101", - "weight": 132.79999999999998, - "distance": 876, - "name": "Van Ness Avenue (US 101)" + "type": "turn", + "bearing_before": 80, + "modifier": "right", + "instruction": "Sväng höger in på Hyde Street" + } }, { "intersections": [ - { - "lanes": [ - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": false, - "indications": [ - "right" - ] - } - ], - "out": 2, - "location": [ - -122.419329, - 37.775112 - ], - "bearings": [ - 30, - 45, - 165, - 225, - 345 - ], - "entry": [ - false, - false, - true, - true, - false - ], - "in": 4 - }, { "out": 0, - "location": [ - -122.418876, - 37.773667 - ], - "bearings": [ - 165, - 195, - 345 - ], + "in": 1, "entry": [ - true, true, false ], - "in": 2 - }, - { - "out": 1, "location": [ - -122.418702, - 37.773081 + -122.414764, + 37.778721 ], "bearings": [ - 45, - 165, - 225, - 315, - 345 - ], + 135, + 315 + ] + }, + { + "out": 1, + "in": 3, "entry": [ false, true, - true, false, false ], - "in": 4 - }, - { - "out": 1, "location": [ - -122.418631, - 37.772842 + -122.414715, + 37.778681 ], "bearings": [ - 30, - 165, - 210, - 345 - ], - "entry": [ - true, - true, - false, - false - ], - "in": 3 - }, + 45, + 135, + 225, + 315 + ] + } + ], + "geometry": "_tqeFfcdjVFGl@{@h@s@xByC`@i@", + "duration": 31.6, + "distance": 198.4, + "name": "8th Street", + "weight": 57.1, + "mode": "driving", + "maneuver": { + "bearing_after": 135, + "location": [ + -122.414764, + 37.778721 + ], + "type": "new name", + "bearing_before": 137, + "modifier": "straight", + "instruction": "Fortsätt rakt fram på 8th Street" + } + }, + { + "intersections": [ { + "out": 2, + "in": 3, "lanes": [ { - "valid": true, + "valid": false, "indications": [ - "left" + "none" ] }, { - "valid": true, + "valid": false, "indications": [ "none" ] }, { - "valid": true, + "valid": false, "indications": [ "none" ] @@ -3229,35 +295,49 @@ { "valid": true, "indications": [ - "none" + "right" ] } ], - "out": 0, + "entry": [ + true, + true, + true, + false + ], "location": [ - -122.418496, - 37.772399 + -122.413175, + 37.777455 ], "bearings": [ - 165, - 315, - 345 - ], + 45, + 135, + 225, + 315 + ] + }, + { + "out": 1, + "in": 0, "entry": [ - true, false, - false + true, + true + ], + "location": [ + -122.414121, + 37.776706 ], - "in": 2 + "bearings": [ + 45, + 225, + 315 + ] }, { + "out": 2, + "in": 0, "lanes": [ - { - "valid": false, - "indications": [ - "left" - ] - }, { "valid": true, "indications": [ @@ -3271,259 +351,327 @@ ] }, { - "valid": true, + "valid": false, "indications": [ - "none" + "right" ] } ], - "out": 1, - "location": [ - -122.41845, - 37.772238 - ], - "bearings": [ - 75, - 165, - 345 - ], "entry": [ + false, + false, true, - true, - false + true ], - "in": 2 - }, - { - "out": 1, "location": [ - -122.418146, - 37.771238 + -122.414717, + 37.776233 ], "bearings": [ - 120, - 165, - 345 - ], + 45, + 135, + 225, + 315 + ] + }, + { + "out": 2, + "in": 0, "entry": [ false, true, - false + true ], - "in": 2 + "location": [ + -122.415147, + 37.775893 + ], + "bearings": [ + 45, + 135, + 225 + ] }, { - "out": 1, + "out": 2, + "in": 0, + "entry": [ + false, + false, + true + ], "location": [ - -122.418096, - 37.771089 + -122.415511, + 37.775604 ], "bearings": [ + 45, 135, - 165, - 345 - ], + 225 + ] + } + ], + "geometry": "clqeFjycjVtCzDv@dAf@p@bAtAx@fA~@pA", + "duration": 53.2, + "distance": 342, + "name": "Mission Street", + "weight": 97.30000000000001, + "mode": "driving", + "maneuver": { + "bearing_after": 223, + "location": [ + -122.413175, + 37.777455 + ], + "type": "turn", + "bearing_before": 135, + "modifier": "right", + "instruction": "Sväng höger in på Mission Street" + } + }, + { + "intersections": [ + { + "out": 1, + "in": 0, "entry": [ + false, true, true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.418033, - 37.770901 + -122.415923, + 37.775278 ], "bearings": [ - 165, - 270, - 345 - ], + 45, + 135, + 225, + 315 + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.417948, - 37.770702 + -122.415384, + 37.774853 ], "bearings": [ - 150, - 240, - 345 - ], + 135, + 225, + 315 + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 1, "location": [ - -122.417737, - 37.770243 + -122.414921, + 37.774485 ], "bearings": [ - 0, - 180, - 285 - ], + 135, + 225, + 315 + ] + }, + { + "out": 1, + "in": 3, "entry": [ false, true, - true + true, + false ], - "in": 0 - }, - { - "out": 1, "location": [ - -122.417742, - 37.770207 + -122.414368, + 37.774043 ], "bearings": [ - 0, - 195, - 210, - 270 - ], + 45, + 135, + 225, + 315 + ] + }, + { + "out": 1, + "in": 3, "entry": [ - false, true, true, + false, false ], - "in": 0 - }, - { - "out": 2, "location": [ - -122.417804, - 37.769886 + -122.412834, + 37.77282 ], "bearings": [ - 15, - 105, - 195, - 285 - ], + 45, + 135, + 225, + 315 + ] + }, + { + "out": 1, + "in": 2, "entry": [ - false, false, true, - true - ], - "in": 0 - }, - { - "out": 2, + false + ], "location": [ - -122.417828, - 37.769759 + -122.411897, + 37.772073 ], "bearings": [ - 15, - 105, - 180, - 285 - ], + 45, + 135, + 315 + ] + }, + { + "out": 1, + "in": 3, "entry": [ false, true, true, false ], - "in": 0 + "location": [ + -122.411287, + 37.771587 + ], + "bearings": [ + 45, + 135, + 225, + 315 + ] } ], - "geometry": "m}peFx_ejVBAZCZIVEjEcAtBc@n@MZGz@Q^IfE{@\\IRGPEf@ORMPOLIHCJ?P@D?~@JXDh@Bt@H", + "geometry": "o~peFnjdjVtAkBfA{AxAmB~AyBrCyDtCyD~AyB|@kAr@_AfCcD", + "duration": 96.8, + "distance": 771.4, + "name": "10th Street", + "weight": 185.29999999999998, "mode": "driving", - "duration": 99.19999999999999, "maneuver": { - "bearing_after": 165, - "type": "new name", - "modifier": "straight", - "bearing_before": 170, + "bearing_after": 133, "location": [ - -122.419329, - 37.775112 + -122.415923, + 37.775278 ], - "instruction": "Continue straight onto South Van Ness Avenue (US 101)" - }, - "ref": "US 101", - "weight": 99.19999999999999, - "distance": 669.7, - "name": "South Van Ness Avenue (US 101)" + "type": "turn", + "bearing_before": 223, + "modifier": "left", + "instruction": "Sväng vänster in på 10th Street" + } }, { "intersections": [ { - "out": 2, - "location": [ - -122.417903, - 37.769281 - ], - "bearings": [ - 15, - 180, - 210, - 345 + "out": 1, + "in": 4, + "lanes": [ + { + "valid": false, + "indications": [ + "left" + ] + }, + { + "valid": true, + "indications": [ + "left", + "slight left" + ] + }, + { + "valid": true, + "indications": [ + "slight left" + ] + }, + { + "valid": true, + "indications": [ + "straight", + "slight left" + ] + }, + { + "valid": false, + "indications": [ + "straight" + ] + } ], "entry": [ - false, true, true, - false - ], - "in": 0 - }, - { - "out": 0, - "location": [ - -122.415393, - 37.769522 - ], - "bearings": [ - 92, - 270, - 272 - ], - "entry": [ true, false, false ], - "in": 1 - }, - { - "out": 1, "location": [ - -122.40981, - 37.769161 + -122.409767, + 37.770337 ], "bearings": [ - 102, - 108, - 282 - ], + 45, + 90, + 135, + 225, + 315 + ] + } + ], + "geometry": "s_peF`dcjVBk@Hy@F[H]J]L[NYp@kAfAoBd@w@tAsBdBkC\\a@PQTQTMXKNEPE\\GJ?", + "maneuver": { + "bearing_after": 95, + "location": [ + -122.409767, + 37.770337 + ], + "type": "on ramp", + "bearing_before": 135, + "modifier": "slight left", + "instruction": "Ta påfartsrampen till vänster mot US 101" + }, + "duration": 46.5, + "distance": 531.5, + "destinations": "US 101", + "name": "", + "weight": 93.5, + "mode": "driving" + }, + { + "intersections": [ + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.405473, 37.767261 @@ -3532,16 +680,38 @@ 174, 353, 358 - ], + ] + } + ], + "maneuver": { + "bearing_after": 172, + "location": [ + -122.405473, + 37.767261 + ], + "type": "merge", + "bearing_before": 177, + "modifier": "slight right", + "instruction": "Körfältsbyte åt höger in på Central Freeway (US 101)" + }, + "duration": 6.8, + "distance": 136.5, + "name": "Central Freeway (US 101)", + "geometry": "kloeFdibjVtBOj@GnAU", + "ref": "US 101", + "weight": 13.6, + "mode": "driving" + }, + { + "intersections": [ + { + "out": 1, + "in": 2, "entry": [ - true, false, + true, false ], - "in": 1 - }, - { - "out": 1, "location": [ -122.405244, 37.766048 @@ -3550,16 +720,16 @@ 0, 180, 345 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, true, - false + true ], - "in": 2 - }, - { - "out": 1, "location": [ -122.402999, 37.752554 @@ -3568,16 +738,16 @@ 0, 180, 195 - ], + ] + }, + { + "out": 2, + "in": 1, "entry": [ false, - true, + false, true ], - "in": 0 - }, - { - "out": 2, "location": [ -122.404558, 37.746941 @@ -3586,16 +756,16 @@ 0, 15, 195 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, - false, + true, true ], - "in": 1 - }, - { - "out": 1, "location": [ -122.408143, 37.739469 @@ -3604,16 +774,16 @@ 5, 180, 187 - ], - "entry": [ - false, - true, - true - ], - "in": 0 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + false, + false + ], "location": [ -122.406401, 37.734438 @@ -3622,16 +792,16 @@ 155, 332, 335 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.405674, 37.733191 @@ -3640,16 +810,16 @@ 150, 180, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.403995, 37.730114 @@ -3658,16 +828,16 @@ 165, 330, 345 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.402483, 37.726603 @@ -3676,16 +846,16 @@ 163, 341, 346 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.401701, 37.724557 @@ -3694,16 +864,16 @@ 163, 168, 343 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.400278, 37.720955 @@ -3712,16 +882,16 @@ 165, 180, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.397974, 37.714805 @@ -3730,16 +900,16 @@ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.39554, 37.710237 @@ -3748,38 +918,37 @@ 165, 180, 345 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + ] } ], - "geometry": "_yoeFzvdjVXLLJLJHNFPDT?TARCRGPILKLMHMBMBM?KCMEKGIIIKGOEQCQ?Q?U@SFu@Dc@B]Fw@Bo@Bk@Bo@@m@?k@?cDLaR@a@?c@@a@@a@@_@Bc@B]Ba@Dc@De@XaDb@oCHg@Fg@Fk@Bc@Be@Bi@Bk@Fi@Fi@Hg@La@J]JYL]HQHOHQHMLSLQPSPQTOVMNGNE\\GJAtBOj@GnAUhGWd@C^?f@@d@@f@Dd@Fb@Ff@J`@Ld@P`@Pb@R`@T~Az@\\P^P^L^J^H^D^D^@`@@`@C`@Cb@Gb@Ib@O^O`@S^U`@Y^_@\\]Zc@Zc@Xc@p@eAV_@Xa@V[V[XUXWZSZQ`@S`@M^Kb@Ib@Gf@Ed@Cd@CbLg@r@Ct@Ap@An@@r@Dp@Ft@Hj@Jj@JzFnA`IdB~FnAtH`Bp@Nt@Rn@Vl@Xn@\\j@^l@b@nElDVRVPn@b@p@^n@Zp@Xt@Vn@Px@Nr@Lv@Jv@FfAFr@Br@At@Ar@Ct@El@Ir@Kr@Mt@Qp@Ql@Sj@Sn@Wt@]b@SlAm@tDiBtAq@bD_BtC}Az@c@|@a@jAg@x@]dAa@bBo@f@QrAg@jAa@lA]nEyA^K~EaBjFyAjDaArBm@rAa@dHyBdBe@zBk@v@Sx@Q|Du@lCc@f@KvGmAl@Mp@Op@Sn@UfAc@r@]n@]n@c@p@g@r@g@rDwCl@a@j@]j@[j@[l@Yh@Up@Ul@Sp@Op@On@KfAObBWnC_@nBWfBUTE", - "mode": "driving", - "duration": 437.30000000000007, "maneuver": { - "bearing_after": 202, - "type": "off ramp", - "modifier": "straight", - "bearing_before": 187, + "bearing_after": 174, "location": [ - -122.417903, - 37.769281 + -122.405244, + 37.766048 ], - "instruction": "Take the ramp onto US 101" + "type": "merge", + "bearing_before": 167, + "modifier": "slight left", + "instruction": "Körfältsbyte åt vänster in på James Lick Freeway (US 101)" }, + "duration": 287.70000000000005, + "distance": 6830.6, + "name": "James Lick Freeway (US 101)", + "geometry": "ydoeFvgbjVhGWd@C^?f@@d@@f@Dd@Fb@Ff@J`@Ld@P`@Pb@R`@T~Az@\\P^P^L^J^H^D^D^@`@@`@C`@Cb@Gb@Ib@O^O`@S^U`@Y^_@\\]Zc@Zc@Xc@p@eAV_@Xa@V[V[XUXWZSZQ`@S`@M^Kb@Ib@Gf@Ed@Cd@CbLg@r@Ct@Ap@An@@r@Dp@Ft@Hj@Jj@JzFnA`IdB~FnAtH`Bp@Nt@Rn@Vl@Xn@\\j@^l@b@nElDVRVPn@b@p@^n@Zp@Xt@Vn@Px@Nr@Lv@Jv@FfAFr@Br@At@Ar@Ct@El@Ir@Kr@Mt@Qp@Ql@Sj@Sn@Wt@]b@SlAm@tDiBtAq@bD_BtC}Az@c@|@a@jAg@x@]dAa@bBo@f@QrAg@jAa@lA]nEyA^K~EaBjFyAjDaArBm@rAa@dHyBdBe@zBk@v@Sx@Q|Du@lCc@f@KvGmAl@Mp@Op@Sn@UfAc@r@]n@]n@c@p@g@r@g@rDwCl@a@j@]j@[j@[l@Yh@Up@Ul@Sp@Op@On@KfAObBWnC_@nBWfBUTE", "ref": "US 101", - "weight": 437.30000000000007, - "distance": 8418.6, - "name": "US 101" + "weight": 575.4000000000001, + "mode": "driving" }, { "intersections": [ { "out": 0, + "in": 1, + "entry": [ + true, + false + ], "location": [ -122.395121, 37.708328 @@ -3787,15 +956,16 @@ "bearings": [ 165, 345 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, + false, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.393825, 37.702429 @@ -3804,16 +974,16 @@ 170, 347, 350 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.391826, 37.693636 @@ -3822,16 +992,16 @@ 165, 180, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.3906, 37.688244 @@ -3840,16 +1010,16 @@ 170, 345, 350 - ], - "entry": [ - true, - false, - false - ], - "in": 2 + ] }, { "out": 1, + "in": 0, + "entry": [ + false, + true, + true + ], "location": [ -122.392891, 37.669787 @@ -3858,16 +1028,16 @@ 30, 210, 225 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, true, true ], - "in": 0 - }, - { - "out": 1, "location": [ -122.395051, 37.667539 @@ -3876,16 +1046,16 @@ 30, 210, 225 - ], + ] + }, + { + "out": 2, + "in": 1, "entry": [ false, - true, + false, true ], - "in": 0 - }, - { - "out": 2, "location": [ -122.39982, 37.663398 @@ -3894,16 +1064,16 @@ 46, 51, 231 - ], + ] + }, + { + "out": 2, + "in": 1, "entry": [ false, false, true ], - "in": 1 - }, - { - "out": 2, "location": [ -122.403926, 37.660623 @@ -3912,16 +1082,16 @@ 30, 45, 225 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, - false, + true, true ], - "in": 1 - }, - { - "out": 1, "location": [ -122.405731, 37.65805 @@ -3930,16 +1100,16 @@ 15, 195, 210 - ], - "entry": [ - false, - true, - true - ], - "in": 0 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], "location": [ -122.406979, 37.651445 @@ -3948,16 +1118,16 @@ 176, 181, 356 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ - true, + false, true, false ], - "in": 2 - }, - { - "out": 1, "location": [ -122.406419, 37.64457 @@ -3966,16 +1136,16 @@ 0, 180, 345 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, true, - false + true ], - "in": 0 - }, - { - "out": 1, "location": [ -122.406082, 37.641332 @@ -3984,16 +1154,16 @@ 0, 165, 195 - ], - "entry": [ - false, - true, - true - ], - "in": 0 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], "location": [ -122.405024, 37.63824 @@ -4002,16 +1172,16 @@ 150, 165, 345 - ], + ] + }, + { + "out": 1, + "in": 2, "entry": [ - true, + false, true, false ], - "in": 2 - }, - { - "out": 1, "location": [ -122.402719, 37.630324 @@ -4020,16 +1190,16 @@ 0, 180, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ - false, true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.401464, 37.62492 @@ -4038,16 +1208,16 @@ 166, 341, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.398689, 37.616736 @@ -4056,16 +1226,16 @@ 164, 342, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.394473, 37.611514 @@ -4074,16 +1244,16 @@ 135, 300, 315 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.391675, 37.609715 @@ -4092,16 +1262,16 @@ 128, 308, 309 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.384799, 37.605291 @@ -4110,16 +1280,16 @@ 129, 134, 309 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.378646, 37.601292 @@ -4128,16 +1298,16 @@ 135, 300, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.376557, 37.599922 @@ -4146,16 +1316,16 @@ 135, 300, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.364079, 37.591793 @@ -4164,16 +1334,16 @@ 130, 136, 309 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.357438, 37.587965 @@ -4182,16 +1352,16 @@ 105, 285, 300 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.325833, 37.581641 @@ -4200,16 +1370,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.322934, 37.578971 @@ -4218,16 +1388,16 @@ 139, 314, 319 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.316743, 37.573261 @@ -4236,16 +1406,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.310821, 37.567812 @@ -4254,16 +1424,16 @@ 139, 316, 319 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.302578, 37.560185 @@ -4272,16 +1442,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.293655, 37.550567 @@ -4290,16 +1460,16 @@ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.293005, 37.549875 @@ -4308,16 +1478,16 @@ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, false, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.292169, 37.548986 @@ -4326,16 +1496,16 @@ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.291949, 37.548743 @@ -4344,16 +1514,16 @@ 144, 149, 324 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.286169, 37.542512 @@ -4362,16 +1532,16 @@ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.283856, 37.53998 @@ -4380,16 +1550,16 @@ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.273979, 37.529546 @@ -4398,16 +1568,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.262626, 37.51954 @@ -4416,16 +1586,16 @@ 138, 313, 318 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.260906, 37.518025 @@ -4434,16 +1604,16 @@ 138, 141, 318 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.247718, 37.506343 @@ -4452,16 +1622,16 @@ 138, 314, 318 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.242977, 37.502159 @@ -4470,16 +1640,16 @@ 138, 315, 318 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.239937, 37.499488 @@ -4488,16 +1658,16 @@ 137, 142, 317 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.231907, 37.495907 @@ -4506,16 +1676,16 @@ 110, 284, 290 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.228972, 37.495072 @@ -4524,16 +1694,16 @@ 110, 283, 290 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.218915, 37.491223 @@ -4542,16 +1712,16 @@ 120, 135, 300 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.205884, 37.487457 @@ -4560,16 +1730,16 @@ 105, 270, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.185632, 37.484733 @@ -4578,16 +1748,16 @@ 106, 110, 286 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.179679, 37.482856 @@ -4596,16 +1766,16 @@ 120, 285, 300 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.177095, 37.481497 @@ -4614,16 +1784,16 @@ 126, 302, 307 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.158395, 37.470605 @@ -4632,16 +1802,17 @@ 120, 135, 300 - ], + ] + }, + { + "out": 0, + "in": 3, "entry": [ true, true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.155045, 37.468654 @@ -4651,17 +1822,16 @@ 137, 297, 306 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ - true, true, false, false ], - "in": 3 - }, - { - "out": 0, "location": [ -122.152581, 37.467179 @@ -4670,16 +1840,16 @@ 126, 305, 307 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.144516, 37.462442 @@ -4688,16 +1858,16 @@ 120, 135, 300 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.136462, 37.457738 @@ -4706,16 +1876,16 @@ 126, 304, 306 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.12693, 37.452112 @@ -4724,16 +1894,16 @@ 131, 141, 309 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.118132, 37.444081 @@ -4742,16 +1912,16 @@ 140, 317, 320 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.103307, 37.429953 @@ -4760,16 +1930,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.101751, 37.428459 @@ -4778,16 +1948,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.092643, 37.42097 @@ -4796,16 +1966,16 @@ 135, 300, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.09244, 37.420823 @@ -4814,16 +1984,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.089184, 37.418478 @@ -4832,16 +2002,16 @@ 133, 309, 312 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.081848, 37.413404 @@ -4850,16 +2020,16 @@ 122, 293, 304 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.081263, 37.413111 @@ -4868,16 +2038,16 @@ 120, 135, 300 - ], + ] + }, + { + "out": 1, + "in": 2, "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 1, "location": [ -122.078361, 37.411892 @@ -4886,16 +2056,16 @@ 105, 120, 300 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.076323, 37.411054 @@ -4904,16 +2074,16 @@ 118, 124, 297 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.067607, 37.407809 @@ -4922,16 +2092,16 @@ 106, 282, 286 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.067189, 37.407713 @@ -4940,16 +2110,16 @@ 105, 110, 286 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.062594, 37.406712 @@ -4958,16 +2128,16 @@ 105, 281, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.056615, 37.405407 @@ -4976,16 +2146,16 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.047017, 37.403049 @@ -4994,16 +2164,16 @@ 105, 280, 286 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.036066, 37.400658 @@ -5012,16 +2182,17 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 3, "entry": [ true, true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.031971, 37.399731 @@ -5031,17 +2202,16 @@ 109, 282, 286 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ - true, true, false, false ], - "in": 3 - }, - { - "out": 0, "location": [ -122.027075, 37.398693 @@ -5050,16 +2220,16 @@ 105, 279, 286 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.024811, 37.398202 @@ -5068,16 +2238,16 @@ 105, 280, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.017288, 37.396552 @@ -5086,16 +2256,16 @@ 105, 111, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.012976, 37.395607 @@ -5104,16 +2274,16 @@ 105, 270, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.012709, 37.395542 @@ -5122,16 +2292,16 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.008838, 37.394702 @@ -5140,16 +2310,16 @@ 107, 280, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.000135, 37.392318 @@ -5158,16 +2328,16 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.994151, 37.390522 @@ -5176,16 +2346,16 @@ 111, 284, 291 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.991164, 37.389654 @@ -5194,16 +2364,16 @@ 110, 282, 290 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.983628, 37.387548 @@ -5212,16 +2382,16 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.974838, 37.385032 @@ -5230,16 +2400,16 @@ 110, 287, 290 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.972437, 37.384341 @@ -5248,16 +2418,16 @@ 105, 270, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.968441, 37.383197 @@ -5266,16 +2436,16 @@ 105, 135, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.957291, 37.380021 @@ -5284,16 +2454,16 @@ 110, 284, 290 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.945834, 37.377446 @@ -5302,16 +2472,16 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.941787, 37.376663 @@ -5320,16 +2490,16 @@ 105, 270, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.941568, 37.376623 @@ -5338,16 +2508,16 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.938604, 37.376047 @@ -5356,93 +2526,73 @@ 105, 270, 285 - ], - "entry": [ - true, - false, - false - ], - "in": 2 + ] } ], - "geometry": "a|ceFnh`jVdEi@`IcArSsC|u@oKv`@uFze@{GhC_@pDk@pASnAQfAMjAIx@C~@?z@?`AB`AF`AL~@Nv@L|@TdAZ`A\\v@X|@Zx@\\|@\\x@\\LFvBbA`Af@l@\\n@\\j@\\l@^j@^l@`@j@`@j@b@h@`@l@d@h@b@h@d@h@d@p@l@`MnLdD~ChBdBf@f@f@d@f@h@f@h@j@n@b@h@d@l@d@n@`@j@b@n@`@n@`@p@b@r@^p@`@t@hJrP^r@d@t@d@n@d@p@n@t@h@j@l@j@r@j@j@b@l@`@j@Zn@\\n@Xp@X|An@vF~Bp@Vr@Vr@Rr@Pt@Nv@Nn@Hr@Fn@Fr@Dp@@p@@v@?r@At@CtESnAEfGW~@CrDO`AE`X}@bNk@bDWf@EpAQ~AYtAY~@WhA]rAe@zAk@~GyClAc@`A[bA]z@Ux@U~@S`AS~@ObAM`AMbAI`BKzDUzGg@nG]pAKvAQzASfASjAWtEeAnCs@f@EvAYjQkEfGyAzOuDbCi@VIfAYpAc@vAk@pAm@vAw@jAu@rAcAjAcAbA{@hAkA~@gAbAoAzB}CdJmPdHuMzAcC|CgFtI}OxJiQdLcSpGaLvCgF`FuInDkGvTk`@zCwFlAwBlCyEnKcRz@_Bx@{Ax@cBt@gBl@gBl@kBh@oBbAeF^oCXiCNeBLsBH_CB}B@{BHmJXg]NcTPsTRmUDeDH{BJqATiBZeBb@gBh@eBp@_Br@qAv@kAx@aAlCyChNuOtOcQ|OiQvQkSzEmFdZq\\`SuTnScUhBsBxA_B\\a@fAgAhAcApAkA~GwFbByAvCmChD_DdB{AlBkBjDgDvAqA|AwAbLeKhCaCpDgDp@k@hP_OlEcEbCyB`JeIhBcBn@k@p@m@xDeDrBiBfLiKzUcT|@y@`KcJdA_AbAaAlAkAdAgA~@cAbAiA~@gApCeDbQsStPaSdJuK~IkKnB}B|DyEfGgHpA_BtBcCjHsIlByBdIqJvIeK|DqEzQiTnFoGvFyGzIiKfGgHvCmDtBiCv@aAv@aAr@eAr@kAl@iAl@oAN[JUTi@j@_Bb@qA`@qA^{AZwAZwAzCiPfDkQv@gEZcB\\gBXqAXoAXmAd@iB\\sAb@{A`@wAb@wAd@sAd@yAfI}U|CcJd@wAd@wAb@wA`@yARu@Lc@Nm@Nk@^{AXqAZwA\\cBRcAX_BV{AV_BT_BT}ARaBP_BP_BNaBLaBh@gIzJ__BLaBJgBLaBLaBNaBN_BP_BRaBR}ATaBRwAV}AV}AX_BX{AZ{AZ}A\\{A^{A^yA^wAb@yAb@wAf@uAf@uAh@sAj@sAl@oAl@oALOjTgd@~CuGdK}SdXwi@hCgFfK}SpGyMRShSya@hHqNpIiQ|NcZzA}C|]us@Xm@v@yAt@sA~@}Af@u@t@gAv@eAx@aAz@aAdSgTbIqInH_IzDeEfRgS`@a@rQoR`]q^X[rKeL|BeCjDqDdKyKnAsAnAuAjAsAfAsAnA_BhA}AxAwBxA}BpM}R\\g@tGcK|DgGtKkP~HyLd@s@^m@^s@p@kAn@oAl@qAj@oAf@sAPa@|@mCtDuLfDwK`CyHtHwVV_AXcAVaATaATaATgAN{@PaANaAPiARsAh@kE|CkUbCaR~BgQ^gC`@kCd@iCrB{Kl@qD^aC\\eCZ}BrBmOtJot@n@}Ev@_GxDsXnDcY^mC`BeMhI_n@zD}YLu@fDeWdAaH|C{PvFmZhBqJ`BwHzCcO^mB~@wElAoGn@gDbAoFxA_ItEiW|Iie@xCsOhC_NrEaVN}@pFmYrF{YtCkOjB{JfA{GpBqOpBmPhB{O|CgXFk@pBqQzEg`@j@uDDW", - "mode": "driving", - "duration": 2382.800000000001, "maneuver": { "bearing_after": 170, - "type": "new name", - "modifier": "straight", - "bearing_before": 168, "location": [ -122.395121, 37.708328 ], - "instruction": "Continue straight onto Bayshore Freeway (US 101)" + "type": "new name", + "bearing_before": 168, + "modifier": "straight", + "instruction": "Fortsätt rakt fram på Bayshore Freeway (US 101)" }, - "ref": "US 101", - "weight": 2481.2000000000016, + "duration": 2298.2000000000007, "distance": 61959, - "name": "Bayshore Freeway (US 101)" + "name": "Bayshore Freeway (US 101)", + "geometry": "a|ceFnh`jVdEi@`IcArSsC|u@oKv`@uFze@{GhC_@pDk@pASnAQfAMjAIx@C~@?z@?`AB`AF`AL~@Nv@L|@TdAZ`A\\v@X|@Zx@\\|@\\x@\\LFvBbA`Af@l@\\n@\\j@\\l@^j@^l@`@j@`@j@b@h@`@l@d@h@b@h@d@h@d@p@l@`MnLdD~ChBdBf@f@f@d@f@h@f@h@j@n@b@h@d@l@d@n@`@j@b@n@`@n@`@p@b@r@^p@`@t@hJrP^r@d@t@d@n@d@p@n@t@h@j@l@j@r@j@j@b@l@`@j@Zn@\\n@Xp@X|An@vF~Bp@Vr@Vr@Rr@Pt@Nv@Nn@Hr@Fn@Fr@Dp@@p@@v@?r@At@CtESnAEfGW~@CrDO`AE`X}@bNk@bDWf@EpAQ~AYtAY~@WhA]rAe@zAk@~GyClAc@`A[bA]z@Ux@U~@S`AS~@ObAM`AMbAI`BKzDUzGg@nG]pAKvAQzASfASjAWtEeAnCs@f@EvAYjQkEfGyAzOuDbCi@VIfAYpAc@vAk@pAm@vAw@jAu@rAcAjAcAbA{@hAkA~@gAbAoAzB}CdJmPdHuMzAcC|CgFtI}OxJiQdLcSpGaLvCgF`FuInDkGvTk`@zCwFlAwBlCyEnKcRz@_Bx@{Ax@cBt@gBl@gBl@kBh@oBbAeF^oCXiCNeBLsBH_CB}B@{BHmJXg]NcTPsTRmUDeDH{BJqATiBZeBb@gBh@eBp@_Br@qAv@kAx@aAlCyChNuOtOcQ|OiQvQkSzEmFdZq\\`SuTnScUhBsBxA_B\\a@fAgAhAcApAkA~GwFbByAvCmChD_DdB{AlBkBjDgDvAqA|AwAbLeKhCaCpDgDp@k@hP_OlEcEbCyB`JeIhBcBn@k@p@m@xDeDrBiBfLiKzUcT|@y@`KcJdA_AbAaAlAkAdAgA~@cAbAiA~@gApCeDbQsStPaSdJuK~IkKnB}B|DyEfGgHpA_BtBcCjHsIlByBdIqJvIeK|DqEzQiTnFoGvFyGzIiKfGgHvCmDtBiCv@aAv@aAr@eAr@kAl@iAl@oAN[JUTi@j@_Bb@qA`@qA^{AZwAZwAzCiPfDkQv@gEZcB\\gBXqAXoAXmAd@iB\\sAb@{A`@wAb@wAd@sAd@yAfI}U|CcJd@wAd@wAb@wA`@yARu@Lc@Nm@Nk@^{AXqAZwA\\cBRcAX_BV{AV_BT_BT}ARaBP_BP_BNaBLaBh@gIzJ__BLaBJgBLaBLaBNaBN_BP_BRaBR}ATaBRwAV}AV}AX_BX{AZ{AZ}A\\{A^{A^yA^wAb@yAb@wAf@uAf@uAh@sAj@sAl@oAl@oALOjTgd@~CuGdK}SdXwi@hCgFfK}SpGyMRShSya@hHqNpIiQ|NcZzA}C|]us@Xm@v@yAt@sA~@}Af@u@t@gAv@eAx@aAz@aAdSgTbIqInH_IzDeEfRgS`@a@rQoR`]q^X[rKeL|BeCjDqDdKyKnAsAnAuAjAsAfAsAnA_BhA}AxAwBxA}BpM}R\\g@tGcK|DgGtKkP~HyLd@s@^m@^s@p@kAn@oAl@qAj@oAf@sAPa@|@mCtDuLfDwK`CyHtHwVV_AXcAVaATaATaATgAN{@PaANaAPiARsAh@kE|CkUbCaR~BgQ^gC`@kCd@iCrB{Kl@qD^aC\\eCZ}BrBmOtJot@n@}Ev@_GxDsXnDcY^mC`BeMhI_n@zD}YLu@fDeWdAaH|C{PvFmZhBqJ`BwHzCcO^mB~@wElAoGn@gDbAoFxA_ItEiW|Iie@xCsOhC_NrEaVN}@pFmYrF{YtCkOjB{JfA{GpBqOpBmPhB{O|CgXFk@pBqQzEg`@j@uDDW", + "ref": "US 101", + "weight": 4596.500000000001, + "mode": "driving" }, { "intersections": [ { "out": 1, - "location": [ - -121.932246, - 37.374701 - ], - "bearings": [ - 106, - 111, - 287 - ], + "in": 2, "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -121.93041, - 37.37413 + -121.932246, + 37.374701 ], "bearings": [ 105, + 120, 285 - ], - "entry": [ - true, - false - ], - "in": 1 + ] } ], - "geometry": "{vbcFp{egVpBoJz@mEh@eBZq@Zi@~@kAvAkAn@Y|@WzCw@pA_@p@U`Aa@ZG", - "mode": "driving", - "destinations": "CA 87: Guadalupe Parkway", - "duration": 41.5, + "geometry": "{vbcFp{egVh@cBl@_ETkA~@mEh@eBZq@Zi@~@kAj@k@j@_@VMVK^M\\IzCw@pA_@p@U`Aa@ZO", "maneuver": { - "bearing_after": 111, - "type": "off ramp", - "modifier": "slight right", - "bearing_before": 106, + "bearing_after": 116, "location": [ -121.932246, 37.374701 ], - "instruction": "Take the ramp on the right towards CA 87: Guadalupe Parkway" + "type": "off ramp", + "bearing_before": 106, + "modifier": "slight right", + "instruction": "Ta avfartsrampen till höger mot CA 87 South" }, - "weight": 41.5, - "distance": 769.6, - "name": "" + "duration": 67.8, + "distance": 771.7, + "destinations": "CA 87 South", + "name": "", + "weight": 135.6, + "mode": "driving" }, { "intersections": [ { + "out": 0, + "in": 2, "lanes": [ { "valid": true, @@ -5457,25 +2607,29 @@ ] } ], - "out": 0, - "location": [ - -121.92664, - 37.370122 - ], - "bearings": [ - 150, - 330, - 345 - ], "entry": [ true, false, false ], - "in": 2 + "location": [ + -121.926597, + 37.37012 + ], + "bearings": [ + 150, + 300, + 330 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], "location": [ -121.923722, 37.367884 @@ -5484,34 +2638,66 @@ 128, 138, 308 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 + "location": [ + -121.915678, + 37.359877 + ], + "bearings": [ + 150, + 315, + 330 + ] }, { "out": 0, + "in": 1, + "entry": [ + true, + false + ], "location": [ - -121.91516, - 37.359204 + -121.913941, + 37.357568 ], "bearings": [ - 149, - 327, - 329 - ], + 150, + 330 + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, - false, false ], - "in": 2 + "location": [ + -121.913136, + 37.356488 + ], + "bearings": [ + 150, + 330 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], "location": [ -121.908322, 37.349121 @@ -5520,73 +2706,69 @@ 135, 150, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -121.901482, - 37.342813 + -121.901664, + 37.343143 ], "bearings": [ 150, 330, 345 - ], - "entry": [ - true, - false, - false - ], - "in": 1 + ] } ], - "geometry": "gzacFnxdgVt@q@|@u@hAqAj@y@NYf@{@jAyBpAcCpFmKr@qAv@mA|@oA~@mAhAoAbAcAtAkAxAgAnAy@|YaSdIsFvE_DpGkE|ByA~CkBxBeAzCuAhIqDzAw@hBmAjB}AlB_ClAiBfB_E`AeCbA_Cv@uAx@kAp@}@p@y@r@q@r@o@nByAlEoBfEaB`CmAbL_H^W", - "mode": "driving", - "duration": 162.7, "maneuver": { - "bearing_after": 142, - "type": "new name", - "modifier": "slight left", - "bearing_before": 168, + "bearing_after": 150, "location": [ - -121.92664, - 37.370122 + -121.926597, + 37.37012 ], - "instruction": "Continue slightly left onto Guadalupe Parkway (CA 87)" + "type": "new name", + "bearing_before": 156, + "modifier": "straight", + "instruction": "Fortsätt rakt fram på Guadalupe Freeway (CA 87)" }, + "duration": 155.29999999999998, + "distance": 4074.4, + "name": "Guadalupe Freeway (CA 87)", + "geometry": "gzacFfxdgVp@c@d@_@Z[f@g@`@i@j@y@NYf@{@jAyBpAcCpFmKr@qAv@mA|@oA~@mAhAoAbAcAtAkAxAgAnAy@tUyOlM{IvE_DpGkE|ByA~CkBxBeAzCuAhIqDl@Yl@]t@e@r@g@jB}AlB_Cd@s@b@s@d@{@b@_A`@eA`AeCbA_Cv@uAx@kAp@}@p@y@r@q@r@o@f@_@f@]`@Uf@[|@c@dBq@dCaA~As@`Ag@`@UdGsD", "ref": "CA 87", - "weight": 162.7, - "distance": 4197, - "name": "Guadalupe Parkway (CA 87)" + "weight": 311, + "mode": "driving" }, { "intersections": [ { "out": 1, + "in": 2, + "entry": [ + true, + true, + false + ], "location": [ - -121.899534, - 37.339899 + -121.900192, + 37.340845 ], "bearings": [ 150, 165, 330 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + ] }, { + "out": 1, + "in": 3, "lanes": [ { "valid": true, @@ -5608,7 +2790,12 @@ ] } ], - "out": 1, + "entry": [ + false, + true, + true, + false + ], "location": [ -121.898785, 37.336552 @@ -5618,16 +2805,11 @@ 150, 240, 345 - ], - "entry": [ - false, - true, - true, - false - ], - "in": 3 + ] }, { + "out": 1, + "in": 3, "lanes": [ { "valid": false, @@ -5649,7 +2831,12 @@ ] } ], - "out": 1, + "entry": [ + true, + true, + false, + false + ], "location": [ -121.898691, 37.336402 @@ -5659,77 +2846,78 @@ 150, 240, 330 - ], - "entry": [ - true, - true, - false, - false - ], - "in": 3 + ] } ], - "geometry": "k}{bF`o_gVpEcBVKZI^Gh@?`@Br@NPBf@HXBT?^EXId@QVKTI\\SRIhDgCRU", - "mode": "driving", - "duration": 68.7, + "geometry": "ic|bFds_gV^C|CmBl@[bDyAVKZI^Gh@?`@Br@NPBf@HXBT?^EXId@QVKTI\\SRIhDgCRU", "maneuver": { - "bearing_after": 158, - "type": "off ramp", - "modifier": "slight right", - "bearing_before": 150, + "bearing_after": 171, "location": [ - -121.899534, - 37.339899 + -121.900192, + 37.340845 ], - "instruction": "Take the ramp on the right" + "type": "off ramp", + "bearing_before": 150, + "modifier": "slight right", + "instruction": "Ta avfartsrampen till höger mot Julian Street" }, - "weight": 68.7, - "distance": 545.7, - "name": "" + "duration": 71.9, + "distance": 666.4, + "destinations": "Julian Street, Saint James Street", + "name": "", + "weight": 137.2, + "mode": "driving" }, { "intersections": [ { "out": 1, - "location": [ - -121.897852, - 37.335352 - ], - "bearings": [ - 105, - 240, - 315 - ], + "in": 2, "entry": [ true, true, false ], - "in": 2 + "location": [ + -121.897852, + 37.335352 + ], + "bearings": [ + 105, + 240, + 315 + ] } ], - "geometry": "}`{bFpd_gVfAlCPd@Vr@DLb@lALb@lA|C", + "geometry": "}`{bFpd_gVfAlCPd@Vr@DLb@lALb@`AdCJV", + "duration": 42.1, + "distance": 267.1, + "name": "West Saint John Street", + "weight": 82.2, "mode": "driving", - "duration": 46.8, "maneuver": { "bearing_after": 236, - "type": "turn", - "modifier": "right", - "bearing_before": 136, "location": [ -121.897852, 37.335352 ], - "instruction": "Turn right onto West Saint John Street" - }, - "weight": 46.8, - "distance": 267.1, - "name": "West Saint John Street" + "type": "turn", + "bearing_before": 136, + "modifier": "right", + "instruction": "Sväng höger in på West Saint John Street" + } }, { "intersections": [ { "out": 1, + "in": 0, + "entry": [ + false, + true, + true, + true + ], "location": [ -121.900438, 37.334113 @@ -5739,33 +2927,26 @@ 165, 240, 315 - ], - "entry": [ - false, - true, - true, - true - ], - "in": 0 + ] } ], - "geometry": "eyzbFvt_gVn@KlBG", + "geometry": "eyzbFvt_gVVCVGlBG", + "duration": 13.4, + "distance": 89.1, + "name": "North Autumn Street", + "weight": 26.8, "mode": "driving", - "duration": 14.6, "maneuver": { - "bearing_after": 168, - "type": "turn", - "modifier": "left", - "bearing_before": 237, + "bearing_after": 171, "location": [ -121.900438, 37.334113 ], - "instruction": "Turn left onto North Autumn Street" - }, - "weight": 14.6, - "distance": 89.1, - "name": "North Autumn Street" + "type": "turn", + "bearing_before": 237, + "modifier": "left", + "instruction": "Sväng vänster in på North Autumn Street" + } }, { "intersections": [ @@ -5774,60 +2955,2525 @@ "entry": [ true ], - "bearings": [ - 357 - ], "location": [ -121.90034, 37.333317 + ], + "bearings": [ + 357 ] } ], "geometry": "gtzbFbt_gV", - "mode": "driving", "duration": 0, + "distance": 0, + "name": "North Autumn Street", + "weight": 0, + "mode": "driving", "maneuver": { "bearing_after": 0, - "type": "arrive", - "modifier": "left", - "bearing_before": 177, "location": [ -121.90034, 37.333317 ], - "instruction": "You have arrived at your destination, on the left" - }, - "weight": 0, - "distance": 0, - "name": "North Autumn Street" + "type": "arrive", + "bearing_before": 177, + "modifier": "left", + "instruction": "Du är framme vid din destination, till vänster" + } } ], - "distance": 78167.9, - "duration": 3535.2, + "weight": 6524.2, + "distance": 77254.7, + "annotation": { + "distance": [ + 69.70537923213486, + 104.84833953323255, + 105.09573021346283, + 89.08338378548599, + 16.108374415821498, + 86.61157562440906, + 18.12704718088672, + 17.234451453603246, + 72.41204077927787, + 16.055976959142722, + 2.821299680812637, + 10.233342278019185, + 8.27673363953818, + 6.192735017096593, + 36.39820811903295, + 32.58378910381712, + 95.56000294561619, + 27.616039530026676, + 117.715264751562, + 43.76295156173965, + 30.488246979729617, + 53.471538211972515, + 45.35776891830969, + 51.251707132918746, + 66.9331708737475, + 57.72591261839857, + 69.14191600033729, + 75.59927699731753, + 115.95449195416666, + 117.00316360696885, + 76.14672479759217, + 47.81610361112862, + 40.747077529085345, + 104.28833385320196, + 19.632602823890906, + 25.348752044222532, + 13.549653687232896, + 14.686960720792477, + 14.46767028426086, + 14.030939805274384, + 14.494457457442556, + 43.60018420282399, + 63.26104183375371, + 32.795866168899934, + 69.633612544351, + 84.12041112442505, + 21.728554399808587, + 13.327438448967968, + 14.572625082227182, + 13.994618119718336, + 15.30869637363809, + 9.519127186845768, + 9.63989285943878, + 17.612940209886798, + 6.133222765513815, + 66.11001422090504, + 24.980015296638587, + 45.45626466734878, + 147.90820915134822, + 20.952098237271084, + 17.90765016956524, + 22.581678073735432, + 21.507155872469454, + 21.828417146066705, + 21.162120697843466, + 21.3150167049477, + 22.148104614280467, + 20.732995331715806, + 21.728002104448304, + 21.010116020063965, + 21.505757994017046, + 21.166459827589975, + 59.66742221788963, + 18.253166761188993, + 19.916947590607, + 17.992029721450155, + 18.825358060603726, + 18.634846864287653, + 18.21651372828177, + 17.94246218620391, + 18.171634656454508, + 18.79806737851007, + 18.493693677465725, + 19.035833392269854, + 20.233302429500814, + 20.211096782079235, + 21.02464557983548, + 19.61456283386838, + 21.367894209727943, + 20.05991371888043, + 21.762103959415004, + 22.472274051659, + 21.314485661500292, + 22.695648388882397, + 21.719200250887265, + 21.84846199635964, + 41.68356699945666, + 18.960719795544815, + 20.5312082862437, + 18.196549324775454, + 18.282026787199612, + 17.527379550176274, + 17.311634375289298, + 18.103391659446846, + 18.08282895415822, + 20.703417731749642, + 19.576754117387004, + 19.202663190206025, + 20.044456418745074, + 20.283403245753174, + 21.8489850775018, + 21.78323125803814, + 20.970370541662053, + 234.79764739811066, + 28.533759437581605, + 29.61558855228398, + 27.811580891545013, + 27.060162955710553, + 29.33502112481976, + 27.917857135146658, + 30.404268498216158, + 24.960460654224253, + 24.675372316724278, + 144.98963048881149, + 184.17585095864263, + 146.69394672570718, + 177.74965189824866, + 28.7488218843248, + 31.020291791967438, + 28.692975813425935, + 28.122504165825525, + 29.737592325033376, + 28.84137743592464, + 29.849097696581836, + 138.65450840310842, + 16.498965107928893, + 15.041761580861422, + 30.62991355499242, + 31.006617736836763, + 29.98647950273115, + 29.76004798217344, + 32.51085753625139, + 27.34204145808372, + 33.3673784692527, + 29.567000138979978, + 31.31076897672229, + 31.261771623788885, + 40.32227882328596, + 28.60802006530758, + 29.25463265931765, + 29.605017701435017, + 29.655281977845625, + 29.82234058253395, + 25.776540633364284, + 29.177655591624436, + 30.383670348726326, + 30.322479719722974, + 28.722028467766712, + 27.473151856442115, + 26.67582061683936, + 28.5313984539998, + 32.05442277978288, + 22.719589885419296, + 47.48745307032223, + 111.39116470720664, + 52.21052937189767, + 100.52328811756519, + 93.0405060032993, + 36.91327770937314, + 37.41472857462885, + 45.951932439089376, + 35.74081758413204, + 40.73772038109883, + 59.82897054854893, + 23.41997331597369, + 50.57146039099143, + 44.90939322702158, + 44.438476165406314, + 123.05532043545871, + 18.374912197234494, + 131.22822332261006, + 137.5089177398259, + 100.23180127768876, + 66.89444259036044, + 49.131890343721636, + 172.66815108681055, + 58.497266133975444, + 72.61293910574076, + 31.731928680074507, + 33.147830098915584, + 108.44284231148728, + 80.35776308373953, + 23.11026055364477, + 158.87170917157505, + 27.03107013199434, + 28.234901184891555, + 29.776473014317023, + 28.52927192289828, + 42.342113318537685, + 32.2496057755649, + 29.679070375868193, + 30.825926737710986, + 33.23742814943943, + 33.47244323848913, + 120.42352177228136, + 29.301881344228317, + 27.900230208081933, + 28.189609792185845, + 27.35611182699958, + 27.1684976511622, + 25.48914654815493, + 30.27786834669983, + 26.726281785839745, + 28.971724975573782, + 27.80125912263239, + 26.959323956208006, + 41.6249160167386, + 56.448674728021956, + 81.420631044107, + 62.751695024403716, + 59.1395621009665, + 12.196669743554397, + 111.83710924835894, + 181.4418334750391, + 372.6989249871674, + 993.7098384357145, + 609.3625163720782, + 703.7317719728558, + 77.83035511934726, + 100.72510354365862, + 46.696602311198106, + 45.23967175994426, + 40.69360194011951, + 42.50376443297884, + 31.739073511264316, + 35.5993825199473, + 33.93133062495083, + 36.29438016323498, + 37.22244190000341, + 37.024630511566336, + 35.68598024344163, + 32.670736490776356, + 34.862416882145, + 40.88706124102812, + 39.456285546080444, + 33.29886801738088, + 36.528014481976136, + 34.56162895211892, + 37.11455394784426, + 35.06004625825955, + 8.645400223439486, + 72.64200699777201, + 40.94801784297252, + 29.027793979806347, + 28.907458622871843, + 28.937558121027372, + 28.589213444723494, + 28.655557989855147, + 29.72776838427081, + 27.884973554926805, + 29.339229708795088, + 28.44704960452874, + 29.48353022952208, + 28.318099706327473, + 29.36604462952942, + 28.69073012060418, + 34.57006196643764, + 314.13899754400205, + 116.01254628869026, + 74.10368322688213, + 28.506880879849202, + 28.26235020015188, + 27.87708507777984, + 29.408325412289102, + 32.131760731017685, + 27.617293879643007, + 28.865236003699327, + 30.184028490592375, + 27.47672026238537, + 28.420034836290668, + 28.906655492573865, + 28.94581297904607, + 30.115992435858132, + 28.65572067161937, + 30.170908653723576, + 319.3808548261065, + 29.137556095636405, + 31.73489875803539, + 29.73574691609497, + 30.934749697359546, + 34.96752742579589, + 31.394093314808345, + 31.89394302659534, + 34.16326798952964, + 29.4824720726947, + 29.796924763665142, + 27.362503073119353, + 29.76709573514995, + 29.21699691936213, + 29.62860985204775, + 56.555631295583396, + 148.58482156485871, + 30.455609024254535, + 29.936785957015704, + 30.440302687947863, + 30.698662970781015, + 30.0683092722253, + 31.817778138209306, + 27.179139883212372, + 29.531640901290096, + 27.19331366085922, + 28.920579782890925, + 27.39353435030663, + 28.26520092118512, + 30.69858510139944, + 28.94510484322695, + 30.421039839503955, + 118.96070216388118, + 45.36801204022733, + 146.9456570758959, + 35.00590392425969, + 100.33906921492196, + 36.793421815928305, + 447.19068811860063, + 269.5187019500957, + 91.91628691832645, + 22.213769669730148, + 47.06876415425251, + 53.913146291587424, + 49.45705166532325, + 36.75858333643907, + 44.12357037060992, + 49.39937824344185, + 54.305011718068265, + 174.24055079340914, + 46.17192800065369, + 38.33840232783328, + 40.07048619727921, + 35.37416913231263, + 33.031275793122695, + 36.73049581903356, + 37.902675526228606, + 36.30046925069609, + 38.29536402788709, + 37.03864647638877, + 37.993623285573875, + 55.105849989139486, + 104.8659096490065, + 158.48851956277056, + 152.3179594311205, + 46.11901849248499, + 48.82278268748364, + 52.57209781858625, + 40.34425872714982, + 44.45265839324057, + 122.75210214441518, + 83.34082019997201, + 22.049980332343505, + 49.889975797327224, + 339.6863628550588, + 151.73189686915904, + 311.23552193270774, + 75.53520302767794, + 14.48192983358158, + 41.8275737372266, + 47.421875223308334, + 52.32815273513783, + 50.243163918029836, + 54.4681903603963, + 49.56907621449392, + 54.788092611757634, + 52.179594298674346, + 45.572234197462826, + 52.96667881760822, + 48.63324503653857, + 51.470160084053326, + 97.23136221815547, + 317.51783539885173, + 262.8682961689395, + 78.21532819932658, + 134.71230217456127, + 304.8685830780959, + 332.88185890673344, + 368.4199615012395, + 238.97322855010572, + 132.65057676798162, + 196.16433249956643, + 153.6514702628696, + 609.131687799482, + 139.74116928816295, + 67.83676366813346, + 124.49373122681293, + 349.59756013388954, + 54.09086413756898, + 51.74234254560892, + 54.46453472560093, + 54.67216424595344, + 52.77439711269679, + 54.18906385091794, + 54.84398420944293, + 108.23272384640964, + 65.33839537809608, + 62.459686562590875, + 46.27677500786698, + 51.88415560600177, + 56.59450082417144, + 55.338572099571856, + 54.216717536631, + 161.98149344276595, + 426.47714794363503, + 297.894289703079, + 305.37897027164956, + 316.53491958192006, + 73.11221697603851, + 55.26292682789636, + 36.55473013327958, + 48.346832809586026, + 47.511704483246355, + 50.176249176673856, + 50.94375037572033, + 50.541378284852485, + 46.28414923393829, + 45.362079766429574, + 43.14134331090656, + 104.63761246132105, + 359.66420952368725, + 391.7819422787575, + 397.1766388256538, + 440.19719791253306, + 161.25789861368844, + 638.6700129110952, + 470.12293324095384, + 480.79297989925135, + 78.03536999364584, + 65.52094978470228, + 22.58777524732255, + 50.14932767394299, + 51.302553727355814, + 56.909240617762954, + 193.2994282560819, + 68.30525286451352, + 105.75736528679232, + 118.22615700438072, + 69.06506243703866, + 77.99317941491972, + 120.486297281828, + 61.089442181716336, + 64.83941889588264, + 290.75237915178116, + 95.96656005175322, + 123.33739184383947, + 33.26996737558961, + 382.06750714614054, + 143.52419286236267, + 91.49761297404585, + 243.25136438725997, + 73.85414344981942, + 33.440502466798876, + 33.92858817603359, + 126.8072112379901, + 79.71733174005935, + 292.83852021430636, + 504.75710530637156, + 42.632799800970965, + 266.12417753660844, + 48.04677011290889, + 47.454070458685145, + 54.718319332520196, + 50.55193162801758, + 46.629197869556855, + 49.695547662039786, + 48.1238117412574, + 109.1162306131214, + 434.54506009104836, + 423.41684365928126, + 267.1218148164764, + 262.99317717136876, + 83.02854925189843, + 143.72990962141847, + 195.67221421616347, + 62.65013678968465, + 87.43418023580168, + 224.30762299362732, + 81.68665394197632, + 243.81689296141835, + 257.3152933490495, + 139.96654969362962, + 451.3268368736912, + 179.42514533331536, + 185.93273221886574, + 260.39791692650806, + 195.81212374013992, + 115.09891599029469, + 89.3775582576929, + 42.70167407972556, + 42.29836090927183, + 42.53939113244422, + 43.86758475554716, + 41.6161932158442, + 43.64766569715293, + 14.636360816358208, + 12.415807177605435, + 22.20591435793155, + 49.25470786305309, + 41.25016902645787, + 40.75526014011344, + 43.94026024361856, + 42.28504179914743, + 41.42562620019829, + 259.73370335561106, + 275.15316809470465, + 93.88913860765884, + 46.54150457862581, + 48.94884784625499, + 39.1285470503, + 38.472947705133656, + 36.5940087614523, + 51.93354706112654, + 40.290786095157316, + 44.9719717859117, + 43.64287476295927, + 43.42537693150827, + 42.310118369460966, + 45.719266195571386, + 371.64306926278846, + 180.09077178597013, + 43.9771449796963, + 43.81786004632195, + 43.95249630800523, + 43.86180360177869, + 26.24980191083175, + 17.49988386773166, + 23.080009314914307, + 20.86396376831662, + 44.69432482606699, + 38.804332976479834, + 41.5507429155391, + 47.38485558257238, + 32.415944362455186, + 44.094614544681725, + 43.02150192287832, + 44.38223451505274, + 43.87097803547724, + 43.658321353164204, + 44.084658129282175, + 43.83206864364127, + 43.577359719391495, + 44.087624726095854, + 43.89078587972953, + 146.35175011736266, + 1372.1329695216311, + 44.1246286205539, + 46.86206366196733, + 43.58592771827037, + 43.594812850177654, + 44.3901337756345, + 43.57885891599203, + 43.55683494620822, + 44.03794285985274, + 43.601683767865914, + 44.28960113577392, + 40.56549967166608, + 43.82871550166234, + 43.72919408252902, + 44.02443623417255, + 43.74004233915587, + 43.77404448268379, + 43.72842629969739, + 44.05770191738723, + 44.15242679413242, + 43.48746370513485, + 43.225520034696665, + 44.04259802728631, + 44.00249644357344, + 43.85643273818931, + 43.668355671347, + 44.232588449215974, + 43.64531740194186, + 44.24503933122119, + 43.37980980361186, + 11.243933667574254, + 648.6325240335742, + 151.89524599894267, + 366.6527787050709, + 751.4415293704736, + 128.9295482127896, + 366.8056279094344, + 258.7159305666664, + 14.109645231009578, + 610.332579355511, + 275.4353325642393, + 319.4618004488633, + 476.87407210371333, + 86.49316180406454, + 925.7550847782331, + 25.05973634951156, + 50.4872321305563, + 47.510535434752185, + 54.90324119382573, + 32.230363735206765, + 44.254638704574475, + 43.89198126534049, + 43.8253168583044, + 43.81647404548342, + 468.3362097068592, + 233.70385697595395, + 220.07589280803967, + 136.68794071728672, + 446.3770160668608, + 23.82304830832629, + 430.7712720418151, + 696.6976874216591, + 19.706280490484026, + 291.3097989735322, + 91.5764144979861, + 124.06587925191572, + 282.14147206167667, + 58.72363227533027, + 58.38337143940145, + 55.70397691223441, + 55.13692569254708, + 60.811534495566356, + 59.28725585068358, + 72.73342310612338, + 74.93932057063822, + 382.2118199426143, + 24.26703791737039, + 231.505437591081, + 156.77096730726979, + 333.57385537245017, + 264.4819939576866, + 30.55802418727961, + 27.489470228782157, + 29.127093909657404, + 43.72163018371143, + 44.22372318053014, + 44.05586172904159, + 43.0236767957843, + 43.233661452026624, + 17.866015126989797, + 71.80930366496466, + 218.222307380434, + 202.74505561087193, + 156.67551212177207, + 377.5875893562841, + 31.66416824215581, + 32.54015900188906, + 32.94014077267405, + 31.130429759357124, + 31.327458285878564, + 34.53417934249268, + 27.853733515386534, + 31.077046810874094, + 30.12759862285624, + 34.51566922100687, + 38.44321590210667, + 92.89636793346727, + 328.0688729157218, + 279.9260797905011, + 267.91312323418066, + 62.227418931374686, + 64.21847091744222, + 64.4146390637272, + 193.68754407548346, + 82.17406117458336, + 60.29370181315734, + 61.3644319965058, + 57.831013236841784, + 241.79011189467667, + 783.9283010467352, + 101.79331168654285, + 117.76433253433117, + 376.2362566824064, + 382.5522304187027, + 65.20660479964073, + 207.3711095320355, + 689.6221868649385, + 395.25907809536216, + 24.67630499357882, + 354.593159144797, + 134.22716771702835, + 266.69311542707436, + 412.65952699611324, + 173.07654191818162, + 148.5312387697223, + 243.6932922893126, + 51.827706702506546, + 102.24317800434066, + 127.0039481269286, + 78.99994156293198, + 113.07090467194016, + 150.15171522483755, + 363.76654491247564, + 575.7773727907802, + 249.91747424992178, + 225.6853293652351, + 346.5263653692803, + 28.86327729262184, + 397.1101858013257, + 403.67430383440677, + 246.0718991771879, + 178.8462873634989, + 131.60374490419355, + 242.5360340011723, + 254.15907819127793, + 245.8957875817015, + 368.150937556265, + 19.861539695679195, + 269.7009589904212, + 485.77232429062923, + 84.1469797128759, + 11.726342154263891, + 49.46697638330907, + 88.77584314130068, + 36.02399671030639, + 98.04348116141703, + 50.69275332407043, + 26.798007621048644, + 23.805291965962383, + 49.76815226751364, + 30.894982089265202, + 28.307153575549577, + 14.586341644474485, + 13.715411594979052, + 19.261958682329272, + 17.139551163801574, + 90.05006821987982, + 47.74832156011246, + 29.94844391748409, + 39.182311566096814, + 17.508241377612414, + 32.52087307091813, + 24.961162602584974, + 19.58441898669368, + 28.518635921900174, + 26.354477214048174, + 35.912551115592194, + 14.879690741840832, + 34.1961851830425, + 68.9274921896577, + 73.01734534872104, + 222.52064714978587, + 45.5368781245268, + 46.368535750877186, + 49.91026580851938, + 49.689783701217095, + 54.12171707159866, + 48.634160678169, + 57.918961149617076, + 59.50057532162776, + 50.804758663295, + 469.2524113529525, + 299.231766380484, + 139.6248510363633, + 176.45164409777146, + 80.5025798498335, + 100.82648123597775, + 75.25249577537797, + 94.0035373165972, + 200.57238736937555, + 27.94428270556072, + 28.595415604894214, + 34.7451172267505, + 33.85483834914056, + 72.5403326999719, + 83.60170776888972, + 31.834039258395137, + 29.781344134901662, + 33.70838763040092, + 34.87016901180913, + 36.05784949917818, + 69.62747966117267, + 68.3111330331286, + 49.48913096098619, + 46.35939678327981, + 39.345911160333124, + 37.46772205137854, + 36.670331620193366, + 35.94583435172875, + 26.45844818360496, + 24.90878153961532, + 21.484617271385016, + 25.90316046446129, + 37.59946201075362, + 61.3147904139702, + 79.32881542268146, + 58.88146129329119, + 40.404294601145416, + 21.722853475326552, + 166.00895314942701, + 17.845425376285167, + 100.35793887105854, + 27.543251049722787, + 100.39540551515181, + 14.121312081080877, + 16.48505028748779, + 17.938751421871455, + 22.807564209593476, + 18.705897846991718, + 30.054766142325576, + 10.728452675451635, + 22.239096283390676, + 14.137023433315042, + 12.571371612194055, + 17.539805654858686, + 15.020756371694475, + 23.634468504641912, + 13.917316886897808, + 12.894454474712658, + 18.640214676803172, + 12.823575779103399, + 111.57531678737855, + 14.422632514226994, + 74.27651579982977, + 19.673557366916764, + 26.984029579777733, + 6.537812802345149, + 40.13102556853206, + 17.1389265770638, + 70.28557827109971, + 12.05968561003842, + 13.585919157732143, + 14.135131493845881, + 61.39814906012028 + ], + "speed": [ + 3, + 5.9, + 6.7, + 6.6, + 6.7, + 6.7, + 6.7, + 6.6, + 6.6, + 6.7, + 7.1, + 2.9, + 2.6, + 2.2, + 7.7, + 7.8, + 7.8, + 3.6, + 7.8, + 7.8, + 5.2, + 7.7, + 7.8, + 3.7, + 8.7, + 8.7, + 7, + 8.7, + 7.6, + 8.7, + 7.1, + 8.7, + 8.7, + 7.3, + 11.5, + 11.5, + 11.3, + 11.3, + 11.1, + 11.7, + 11.1, + 11.5, + 11.3, + 11.3, + 11.4, + 11.4, + 11.4, + 11.1, + 11.2, + 11.7, + 11.8, + 11.9, + 12, + 11.7, + 12.3, + 20, + 20.8, + 19.8, + 20, + 21, + 19.9, + 20.5, + 19.6, + 19.8, + 19.2, + 19.4, + 20.1, + 20.7, + 19.8, + 21, + 19.6, + 19.2, + 19.9, + 20.3, + 19.9, + 20, + 20.9, + 20.7, + 20.2, + 19.9, + 20.2, + 20.9, + 20.5, + 21.2, + 20.2, + 20.2, + 21, + 19.6, + 19.4, + 20.1, + 19.8, + 20.4, + 19.4, + 20.6, + 19.7, + 19.9, + 19.8, + 21.1, + 20.5, + 20.2, + 20.3, + 19.5, + 19.2, + 20.1, + 20.1, + 20.7, + 19.6, + 19.2, + 20, + 20.3, + 19.9, + 19.8, + 21, + 20.1, + 20.4, + 19.7, + 19.9, + 20.8, + 19.6, + 19.9, + 20.3, + 20.8, + 20.6, + 20.1, + 27.9, + 20.1, + 20.2, + 20.5, + 20.7, + 20.5, + 20.1, + 19.8, + 20.6, + 19.9, + 20.1, + 20.6, + 21.5, + 20.4, + 20.7, + 20, + 19.8, + 20.3, + 19.5, + 19.6, + 19.7, + 19.6, + 19.5, + 26.9, + 26, + 26.6, + 26.9, + 27, + 27.1, + 25.8, + 26.5, + 25.3, + 25.3, + 26.1, + 25, + 26.7, + 25.9, + 26.7, + 25.2, + 26.4, + 25.9, + 26.1, + 26.5, + 28.2, + 28.4, + 28.8, + 27, + 27.5, + 27.2, + 27.2, + 29.3, + 28.1, + 28.1, + 27.8, + 28, + 26.2, + 27.9, + 27.5, + 27.8, + 27.9, + 27.3, + 27.8, + 27.9, + 27.9, + 28.8, + 27.6, + 27.8, + 27.7, + 28.9, + 27.9, + 27, + 28.2, + 27.1, + 28.5, + 28.2, + 26.9, + 27, + 28, + 27.7, + 27.9, + 28, + 26.6, + 27.9, + 28.2, + 27.4, + 27.2, + 28.3, + 27.5, + 26.7, + 29, + 27.8, + 27, + 27.7, + 28.2, + 28.1, + 27.3, + 28.2, + 30.5, + 28, + 27.9, + 27.8, + 27.8, + 27.8, + 27.8, + 27.8, + 28, + 27.5, + 28.3, + 27.1, + 28.3, + 28.9, + 27.4, + 28.3, + 27.9, + 28.6, + 28.5, + 27.5, + 27.2, + 26.8, + 27.3, + 28.2, + 27.7, + 28.1, + 28.8, + 28.5, + 27, + 28.8, + 27.9, + 27.3, + 29, + 28.9, + 28.9, + 28.6, + 28.7, + 27, + 27.9, + 26.7, + 28.4, + 26.8, + 28.3, + 26.7, + 28.7, + 28.8, + 27.8, + 27.6, + 27.4, + 28.5, + 28.3, + 27.9, + 26.7, + 26.8, + 27.6, + 28.9, + 27.4, + 27.5, + 28.4, + 28.9, + 28.9, + 27.4, + 28.7, + 27.4, + 27.8, + 29.1, + 28.8, + 27, + 28.1, + 26.9, + 28.5, + 29, + 28.5, + 26.8, + 27.1, + 27.4, + 27.1, + 26.6, + 26.9, + 28.3, + 28, + 27.7, + 27.2, + 27.7, + 27.9, + 27.3, + 28.9, + 27.2, + 26.8, + 27.2, + 28.9, + 27.4, + 28.3, + 27.9, + 28.9, + 27.7, + 27.7, + 28.4, + 27.7, + 26.9, + 27.9, + 28.3, + 27.8, + 27.8, + 27.9, + 27.8, + 27.7, + 28.4, + 27.5, + 28.3, + 27.6, + 27.4, + 27.2, + 27.7, + 27.2, + 27.4, + 28.6, + 27.2, + 27.5, + 28.3, + 27.1, + 27.9, + 27.4, + 28.5, + 27.1, + 27.6, + 27.6, + 27.8, + 27.7, + 27.1, + 27.1, + 27.7, + 26.9, + 27.8, + 27.9, + 27.8, + 27.6, + 27.7, + 27.8, + 27.6, + 27.8, + 28, + 29, + 27.9, + 27.9, + 27.5, + 27.9, + 27.2, + 27.5, + 27.4, + 27.5, + 28.5, + 27.9, + 27, + 27.1, + 27.8, + 27.9, + 27.7, + 27.9, + 28.1, + 27.7, + 27.7, + 27.7, + 27.8, + 27.6, + 27.6, + 27.9, + 27.8, + 27.9, + 28.3, + 27.7, + 27.7, + 28.5, + 27.2, + 27.2, + 27.3, + 27.8, + 27.1, + 27.4, + 27.8, + 27.2, + 28.4, + 27.2, + 27.3, + 28.3, + 27.7, + 27.1, + 27.9, + 27.7, + 27.8, + 27.8, + 27.8, + 28.1, + 27.6, + 28.1, + 28.4, + 27.9, + 27.9, + 28.3, + 28.1, + 27.2, + 28.4, + 27, + 27.5, + 27.9, + 27.8, + 27.8, + 27.9, + 27.8, + 27.8, + 27.8, + 27.8, + 27.9, + 27.3, + 28.2, + 27.9, + 28.5, + 28.5, + 27.6, + 27.3, + 27.8, + 27.5, + 27.6, + 27.9, + 28, + 27.8, + 28.2, + 27.7, + 27.4, + 28, + 27.7, + 27.7, + 27.6, + 27.7, + 27.6, + 27.4, + 27.9, + 28.3, + 27.6, + 27.5, + 27.9, + 27.7, + 28.4, + 27.7, + 28.3, + 27.9, + 27.4, + 28.1, + 27.4, + 27.6, + 28.3, + 28, + 27.9, + 27.9, + 27.8, + 27.7, + 27.7, + 27.6, + 28, + 27.2, + 28.2, + 27.7, + 28.2, + 27.7, + 27.7, + 28, + 27.9, + 27.6, + 27.8, + 27.7, + 28, + 28.1, + 27.9, + 28.5, + 28.2, + 28.4, + 27.4, + 27.7, + 27.3, + 29.3, + 31, + 27.8, + 27.4, + 27.5, + 27.2, + 27.5, + 28.2, + 27.6, + 27.6, + 27.8, + 27.6, + 27.4, + 27.2, + 26.1, + 25.6, + 26.1, + 26, + 26.9, + 26.5, + 25.7, + 25.5, + 26.4, + 26.9, + 26.2, + 26.1, + 25.9, + 25.8, + 25.9, + 25.8, + 26.2, + 25, + 25.6, + 26.1, + 26.3, + 25.9, + 26, + 26.3, + 27, + 25.9, + 26.9, + 26.1, + 25.8, + 25.7, + 25.9, + 25.8, + 25.6, + 25.9, + 25.8, + 26.1, + 26.1, + 26, + 26, + 25.6, + 25.6, + 26.1, + 25.6, + 25.6, + 25.9, + 25.6, + 26.1, + 25.4, + 25.8, + 25.7, + 25.9, + 25.7, + 25.7, + 25.7, + 25.9, + 26, + 25.6, + 25.4, + 25.9, + 25.9, + 25.8, + 25.7, + 26, + 25.7, + 26, + 25.5, + 28.1, + 26.2, + 26.2, + 26.2, + 26.2, + 26.3, + 26.2, + 26.1, + 28.2, + 26.2, + 26.2, + 26.2, + 26.2, + 26.2, + 26.2, + 25.1, + 26.6, + 26.4, + 26.1, + 26.9, + 26, + 25.8, + 25.8, + 25.8, + 26.2, + 26.3, + 26.2, + 26.3, + 26.1, + 26.5, + 26.1, + 26.2, + 24.6, + 26.2, + 26.2, + 26.4, + 26.1, + 26.7, + 26.5, + 26.5, + 26.3, + 26.4, + 25.8, + 26, + 25.8, + 26.2, + 27, + 26, + 26.1, + 26.1, + 26.2, + 25.5, + 25, + 26.5, + 25.7, + 26, + 25.9, + 26.9, + 25.4, + 25.5, + 26.6, + 26.3, + 26, + 26.1, + 26.2, + 26.4, + 27.1, + 25.3, + 25.9, + 26.1, + 26.6, + 25.3, + 25.9, + 25.1, + 26.6, + 25.6, + 25.8, + 26.2, + 26.2, + 26.3, + 25.9, + 25.7, + 25.8, + 26.2, + 26.5, + 26.2, + 26.7, + 26.3, + 26.3, + 26.1, + 26.1, + 26.2, + 26.1, + 26.2, + 26.1, + 26.2, + 26.1, + 26.2, + 27.4, + 26.1, + 26.3, + 26.1, + 26.1, + 26.2, + 26.1, + 26.2, + 25.9, + 26.2, + 25.9, + 26.3, + 26.3, + 26.3, + 26.2, + 26.2, + 26, + 26.2, + 26.1, + 26.2, + 26.1, + 26.2, + 26.2, + 26.3, + 26.3, + 26.1, + 26.2, + 26.2, + 26.1, + 24.8, + 26.2, + 26.1, + 26.3, + 29.3, + 11.5, + 11.4, + 11.3, + 11.4, + 11.3, + 11.2, + 11.3, + 11.3, + 11.4, + 11.3, + 11.2, + 11.4, + 11.3, + 11.4, + 11.4, + 11.4, + 11.5, + 11.5, + 11.7, + 27.1, + 25, + 28, + 25.9, + 26.4, + 25.7, + 24.8, + 26.3, + 26.5, + 26.1, + 26.2, + 26.8, + 25.8, + 26.3, + 26.2, + 25.8, + 25.6, + 26.3, + 25.9, + 26.7, + 26.2, + 26.2, + 27.9, + 26.3, + 26, + 25.9, + 25.9, + 26.1, + 26, + 25.4, + 26, + 26.7, + 26, + 25.9, + 26.1, + 26.5, + 27.1, + 25.9, + 26.8, + 25.8, + 25.8, + 26.3, + 26, + 25.8, + 26.2, + 26.8, + 26.2, + 25.7, + 26.5, + 24.9, + 26.9, + 25.9, + 26.9, + 26.7, + 26.4, + 25.6, + 26.9, + 27.2, + 26.4, + 11.2, + 11.4, + 11.5, + 11.4, + 11.8, + 11.8, + 11.2, + 11.4, + 11.7, + 11.6, + 11.9, + 11.1, + 11.8, + 11.4, + 11.7, + 11.6, + 11.3, + 11.6, + 4.2, + 4.2, + 8, + 7.8, + 2.8, + 6.7, + 6.6, + 6.7, + 6.5, + 6.7, + 6.6, + 6.7, + 3.1, + 6.8, + 6.7, + 6.6 + ], + "duration": [ + 23.5, + 17.7, + 15.8, + 13.4, + 2.4, + 13, + 2.7, + 2.6, + 10.9, + 2.4, + 0.4, + 3.5, + 3.2, + 2.8, + 4.7, + 4.2, + 12.3, + 7.6, + 15.1, + 5.6, + 5.9, + 6.9, + 5.8, + 13.9, + 7.7, + 6.6, + 9.9, + 8.7, + 15.3, + 13.4, + 10.7, + 5.5, + 4.7, + 14.3, + 1.7, + 2.2, + 1.2, + 1.3, + 1.3, + 1.2, + 1.3, + 3.8, + 5.6, + 2.9, + 6.1, + 7.4, + 1.9, + 1.2, + 1.3, + 1.2, + 1.3, + 0.8, + 0.8, + 1.5, + 0.5, + 3.3, + 1.2, + 2.3, + 7.4, + 1, + 0.9, + 1.1, + 1.1, + 1.1, + 1.1, + 1.1, + 1.1, + 1, + 1.1, + 1, + 1.1, + 1.1, + 3, + 0.9, + 1, + 0.9, + 0.9, + 0.9, + 0.9, + 0.9, + 0.9, + 0.9, + 0.9, + 0.9, + 1, + 1, + 1, + 1, + 1.1, + 1, + 1.1, + 1.1, + 1.1, + 1.1, + 1.1, + 1.1, + 2.1, + 0.9, + 1, + 0.9, + 0.9, + 0.9, + 0.9, + 0.9, + 0.9, + 1, + 1, + 1, + 1, + 1, + 1.1, + 1.1, + 1, + 11.7, + 1.4, + 1.5, + 1.4, + 1.3, + 1.5, + 1.4, + 1.5, + 1.2, + 1.2, + 7.2, + 6.6, + 7.3, + 8.8, + 1.4, + 1.5, + 1.4, + 1.4, + 1.5, + 1.4, + 1.5, + 6.9, + 0.8, + 0.7, + 1.5, + 1.5, + 1.5, + 1.5, + 1.6, + 1.4, + 1.7, + 1.5, + 1.6, + 1.6, + 1.5, + 1.1, + 1.1, + 1.1, + 1.1, + 1.1, + 1, + 1.1, + 1.2, + 1.2, + 1.1, + 1.1, + 1, + 1.1, + 1.2, + 0.9, + 1.8, + 4.3, + 2, + 3.8, + 3.3, + 1.3, + 1.3, + 1.7, + 1.3, + 1.5, + 2.2, + 0.8, + 1.8, + 1.6, + 1.6, + 4.4, + 0.7, + 4.7, + 5, + 3.6, + 2.4, + 1.8, + 6.2, + 2.1, + 2.6, + 1.1, + 1.2, + 3.9, + 2.9, + 0.8, + 5.7, + 1, + 1, + 1.1, + 1, + 1.5, + 1.2, + 1.1, + 1.1, + 1.2, + 1.2, + 4.3, + 1.1, + 1, + 1, + 1, + 1, + 0.9, + 1.1, + 1, + 1, + 1, + 1, + 1.5, + 2, + 2.9, + 2.3, + 2.1, + 0.4, + 4, + 6.5, + 13.4, + 35.8, + 21.9, + 25.3, + 2.8, + 3.6, + 1.7, + 1.6, + 1.5, + 1.5, + 1.1, + 1.3, + 1.2, + 1.3, + 1.3, + 1.3, + 1.3, + 1.2, + 1.3, + 1.5, + 1.4, + 1.2, + 1.3, + 1.2, + 1.3, + 1.3, + 0.3, + 2.6, + 1.5, + 1, + 1, + 1, + 1, + 1, + 1.1, + 1, + 1.1, + 1, + 1.1, + 1, + 1.1, + 1, + 1.2, + 11.3, + 4.2, + 2.7, + 1, + 1, + 1, + 1.1, + 1.2, + 1, + 1, + 1.1, + 1, + 1, + 1, + 1, + 1.1, + 1, + 1.1, + 11.5, + 1, + 1.1, + 1.1, + 1.1, + 1.3, + 1.1, + 1.1, + 1.2, + 1.1, + 1.1, + 1, + 1.1, + 1.1, + 1.1, + 2, + 5.3, + 1.1, + 1.1, + 1.1, + 1.1, + 1.1, + 1.1, + 1, + 1.1, + 1, + 1, + 1, + 1, + 1.1, + 1, + 1.1, + 4.3, + 1.6, + 5.3, + 1.3, + 3.6, + 1.3, + 16.1, + 9.7, + 3.3, + 0.8, + 1.7, + 1.9, + 1.8, + 1.3, + 1.6, + 1.8, + 2, + 6.3, + 1.7, + 1.4, + 1.4, + 1.3, + 1.2, + 1.3, + 1.4, + 1.3, + 1.4, + 1.3, + 1.4, + 2, + 3.8, + 5.7, + 5.5, + 1.7, + 1.8, + 1.9, + 1.5, + 1.6, + 4.4, + 3, + 0.8, + 1.8, + 12.2, + 5.5, + 11.2, + 2.7, + 0.5, + 1.5, + 1.7, + 1.9, + 1.8, + 2, + 1.8, + 2, + 1.9, + 1.6, + 1.9, + 1.8, + 1.9, + 3.5, + 11.4, + 9.5, + 2.8, + 4.8, + 11, + 12, + 13.3, + 8.6, + 4.8, + 7.1, + 5.5, + 21.9, + 5, + 2.4, + 4.5, + 12.6, + 1.9, + 1.9, + 2, + 2, + 1.9, + 2, + 2, + 3.9, + 2.4, + 2.2, + 1.7, + 1.9, + 2, + 2, + 2, + 5.8, + 15.4, + 10.7, + 11, + 11.4, + 2.6, + 2, + 1.3, + 1.7, + 1.7, + 1.8, + 1.8, + 1.8, + 1.7, + 1.6, + 1.6, + 3.8, + 12.9, + 14.1, + 14.3, + 15.8, + 5.8, + 23, + 16.9, + 17.3, + 2.8, + 2.4, + 0.8, + 1.8, + 1.8, + 2, + 7, + 2.5, + 3.8, + 4.3, + 2.5, + 2.8, + 4.3, + 2.2, + 2.3, + 10.5, + 3.5, + 4.4, + 1.2, + 13.8, + 5.2, + 3.3, + 8.8, + 2.7, + 1.2, + 1.2, + 4.6, + 2.9, + 10.5, + 18.2, + 1.5, + 9.6, + 1.7, + 1.7, + 2, + 1.8, + 1.7, + 1.8, + 1.7, + 3.9, + 15.6, + 15.2, + 9.6, + 9.5, + 3, + 5.2, + 7, + 2.3, + 3.1, + 8.1, + 2.9, + 8.8, + 9.3, + 5, + 16.2, + 6.5, + 6.7, + 9.4, + 7, + 4.1, + 3.2, + 1.5, + 1.5, + 1.5, + 1.6, + 1.5, + 1.6, + 0.5, + 0.4, + 0.8, + 1.8, + 1.5, + 1.5, + 1.6, + 1.5, + 1.5, + 9.4, + 9.9, + 3.4, + 1.7, + 1.8, + 1.5, + 1.5, + 1.4, + 2, + 1.5, + 1.7, + 1.7, + 1.7, + 1.6, + 1.7, + 14.2, + 6.9, + 1.7, + 1.7, + 1.7, + 1.7, + 1, + 0.7, + 0.9, + 0.8, + 1.7, + 1.5, + 1.6, + 1.8, + 1.2, + 1.7, + 1.6, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 5.6, + 52.5, + 1.7, + 1.8, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.6, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 1.7, + 0.4, + 24.8, + 5.8, + 14, + 28.7, + 4.9, + 14, + 9.9, + 0.5, + 23.3, + 10.5, + 12.2, + 18.2, + 3.3, + 35.4, + 1, + 1.9, + 1.8, + 2.1, + 1.2, + 1.7, + 1.7, + 1.7, + 1.7, + 17.9, + 8.9, + 8.4, + 5.2, + 17.1, + 0.9, + 16.5, + 26.6, + 0.8, + 11.1, + 3.5, + 4.7, + 10.8, + 2.2, + 2.2, + 2.1, + 2.1, + 2.3, + 2.3, + 2.8, + 2.9, + 14.6, + 0.9, + 8.9, + 6, + 12.8, + 10.1, + 1.2, + 1.1, + 1.1, + 1.7, + 1.7, + 1.7, + 1.6, + 1.7, + 0.7, + 2.7, + 8.3, + 7.8, + 6, + 14.4, + 1.2, + 1.2, + 1.3, + 1.2, + 1.2, + 1.3, + 1.1, + 1.2, + 1.2, + 1.3, + 1.5, + 3.6, + 12.5, + 10.7, + 10.2, + 2.4, + 2.5, + 2.5, + 7.4, + 3.1, + 2.3, + 2.3, + 2.2, + 9.2, + 30, + 3.9, + 4.5, + 14.4, + 14.6, + 2.5, + 7.9, + 26.4, + 15.1, + 0.9, + 13.6, + 5.1, + 10.2, + 15.8, + 6.6, + 5.7, + 9.3, + 2, + 3.9, + 4.9, + 3, + 4.3, + 5.7, + 13.9, + 22, + 9.6, + 8.6, + 13.3, + 1.1, + 15.2, + 15.4, + 9.4, + 6.8, + 5, + 9.3, + 9.7, + 9.4, + 14.1, + 0.8, + 10.3, + 18.6, + 3.2, + 0.4, + 4.3, + 7.8, + 3.2, + 8.6, + 4.5, + 2.4, + 2.1, + 4.4, + 2.7, + 2.5, + 1.3, + 1.2, + 1.7, + 1.5, + 7.9, + 4.2, + 2.6, + 3.4, + 1.5, + 1.2, + 1, + 0.7, + 1.1, + 1, + 1.4, + 0.6, + 1.3, + 2.6, + 2.8, + 8.5, + 1.7, + 1.8, + 1.9, + 1.9, + 2.1, + 1.9, + 2.2, + 2.3, + 1.9, + 17.9, + 11.4, + 5, + 6.7, + 3.1, + 3.9, + 2.9, + 3.6, + 7.7, + 1.1, + 1.1, + 1.3, + 1.3, + 2.8, + 3.2, + 1.2, + 1.1, + 1.3, + 1.3, + 1.4, + 2.7, + 2.6, + 1.9, + 1.8, + 1.5, + 1.4, + 1.4, + 1.4, + 1, + 1, + 0.8, + 1, + 1.4, + 2.3, + 3, + 2.3, + 1.5, + 0.8, + 6.3, + 1.6, + 8.8, + 2.4, + 8.8, + 1.2, + 1.4, + 1.6, + 2, + 1.6, + 2.6, + 0.9, + 2, + 1.2, + 1.1, + 1.5, + 1.3, + 2.1, + 1.2, + 3.1, + 4.4, + 1.6, + 14.3, + 5.2, + 11.1, + 3, + 4, + 1, + 6, + 2.6, + 10.5, + 3.9, + 2, + 2.1, + 9.3 + ] + }, "summary": "Bayshore Freeway, Bayshore Freeway", - "weight": 3633.6 + "duration": 3282.8 } ], - "distance": 78167.9, - "duration": 3535.2, "weight_name": "routability", - "weight": 3633.6 - } - ], - "waypoints": [ - { - "name": "Eddy Street", - "location": [ - -122.416686, - 37.783425 - ] - }, - { - "name": "North Autumn Street", - "location": [ - -121.90034, - 37.333317 - ] + "geometry": "mqreFhodjV|q@yCxo@a`Av}AsNnwAv^jqJoyBbyClsB~cGsfAxvCkjFpPcnDjaPg_QnbBwtJ~yDa~HlmDuyD|~AebDd{E_wZzqDwbD~gAqM", + "weight": 6524.2, + "distance": 77254.7, + "duration": 3282.8 } ], "code": "Ok" diff --git a/mapbox/libjava-services/src/test/fixtures/directions_v5.json b/mapbox/libjava-services/src/test/fixtures/directions_v5.json index 097c5a626..637f2fde5 100644 --- a/mapbox/libjava-services/src/test/fixtures/directions_v5.json +++ b/mapbox/libjava-services/src/test/fixtures/directions_v5.json @@ -1,7 +1,22 @@ { + "waypoints": [ + { + "location": [ + -122.416686, + 37.783425 + ], + "name": "Eddy Street" + }, + { + "location": [ + -121.90034, + 37.333317 + ], + "name": "North Autumn Street" + } + ], "routes": [ { - "geometry": "mqreFhodjVjBjYjuAoK~HurAv}AuNnwAv^jqJoyBbyClsB~cGsfAxvCkjFpPcnDjaPg_QnbBwtJ~yDa~HlmDuyD|~AebDd{E_wZzrDscD~fAuL", "legs": [ { "steps": [ @@ -12,169 +27,267 @@ "entry": [ true ], - "bearings": [ - 261 - ], "location": [ -122.416686, 37.783425 + ], + "bearings": [ + 81 ] - }, + } + ], + "geometry": "mqreFhodjVQ}C", + "duration": 23.5, + "distance": 69.7, + "name": "Eddy Street", + "weight": 42.7, + "mode": "driving", + "maneuver": { + "bearing_after": 81, + "location": [ + -122.416686, + 37.783425 + ], + "type": "depart", + "bearing_before": 0, + "modifier": "right", + "instruction": "Head east on Eddy Street" + } + }, + { + "intersections": [ { - "out": 2, + "out": 1, + "in": 2, + "entry": [ + true, + true, + false, + false + ], "location": [ - -122.417548, - 37.783315 + -122.415903, + 37.783524 ], "bearings": [ 75, 165, 255, 345 - ], + ] + }, + { + "out": 1, + "in": 3, "entry": [ - false, false, true, - true + true, + false ], - "in": 0 - }, - { - "out": 2, "location": [ - -122.419192, - 37.783106 + -122.415716, + 37.782593 ], "bearings": [ 75, 165, 255, 345 - ], + ] + }, + { + "out": 1, + "in": 3, "entry": [ - false, true, true, - true + false, + false ], - "in": 0 - }, - { - "out": 2, "location": [ - -122.42076, - 37.782907 + -122.415527, + 37.78166 ], "bearings": [ 75, 165, 255, 345 - ], + ] + }, + { + "out": 1, + "in": 3, "entry": [ - false, false, true, - true + true, + false ], - "in": 0 - } - ], - "geometry": "mqreFhodjVTjDh@fIf@xHB\\", - "mode": "driving", - "duration": 148.8, - "maneuver": { - "bearing_after": 261, - "type": "depart", - "modifier": "left", - "bearing_before": 0, - "location": [ - -122.416686, - 37.783425 - ], - "instruction": "Head west on Eddy Street" - }, - "weight": 148.8, - "distance": 376.1, - "name": "Eddy Street" - }, - { - "intersections": [ - { - "out": 1, "location": [ - -122.42091, - 37.782888 + -122.415339, + 37.780726 ], "bearings": [ 75, 165, 255, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ - false, true, true, false ], - "in": 0 - }, - { - "out": 0, "location": [ - -122.420816, - 37.782423 + -122.415152, + 37.779796 ], "bearings": [ 165, 255, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, true, false ], - "in": 2 + "location": [ + -122.414921, + 37.778867 + ], + "bearings": [ + 135, + 270, + 330 + ] }, { "out": 1, + "in": 3, + "entry": [ + false, + true, + true, + false + ], "location": [ - -122.420722, - 37.781954 + -122.414826, + 37.778777 ], "bearings": [ - 75, - 165, - 255, - 345 + 45, + 135, + 225, + 315 + ] + } + ], + "geometry": "_rreFjjdjVxDc@xDe@|C_@ZExC_@^E^E~BYXMBCLMJM", + "duration": 88.00000000000001, + "distance": 546.9, + "name": "Hyde Street", + "weight": 170, + "mode": "driving", + "maneuver": { + "bearing_after": 170, + "location": [ + -122.415903, + 37.783524 + ], + "type": "turn", + "bearing_before": 80, + "modifier": "right", + "instruction": "Turn right onto Hyde Street" + } + }, + { + "intersections": [ + { + "out": 0, + "in": 1, + "entry": [ + true, + false ], + "location": [ + -122.414764, + 37.778721 + ], + "bearings": [ + 135, + 315 + ] + }, + { + "out": 1, + "in": 3, "entry": [ false, true, - true, + false, false ], - "in": 3 - }, + "location": [ + -122.414715, + 37.778681 + ], + "bearings": [ + 45, + 135, + 225, + 315 + ] + } + ], + "geometry": "_tqeFfcdjVFGl@{@h@s@xByC`@i@", + "duration": 31.6, + "distance": 198.4, + "name": "8th Street", + "weight": 57.1, + "mode": "driving", + "maneuver": { + "bearing_after": 135, + "location": [ + -122.414764, + 37.778721 + ], + "type": "new name", + "bearing_before": 137, + "modifier": "straight", + "instruction": "Continue straight onto 8th Street" + } + }, + { + "intersections": [ { + "out": 2, + "in": 3, "lanes": [ { "valid": false, "indications": [ - "left" + "none" ] }, { - "valid": true, + "valid": false, "indications": [ "none" ] }, { - "valid": true, + "valid": false, "indications": [ "none" ] @@ -182,37 +295,49 @@ { "valid": true, "indications": [ - "none" + "right" ] } ], - "out": 1, + "entry": [ + true, + true, + true, + false + ], "location": [ - -122.420534, - 37.781023 + -122.413175, + 37.777455 ], "bearings": [ - 75, - 165, - 255, - 345 - ], + 45, + 135, + 225, + 315 + ] + }, + { + "out": 1, + "in": 0, "entry": [ - true, - true, false, - false + true, + true + ], + "location": [ + -122.414121, + 37.776706 ], - "in": 3 + "bearings": [ + 45, + 225, + 315 + ] }, { + "out": 2, + "in": 0, "lanes": [ - { - "valid": false, - "indications": [ - "left" - ] - }, { "valid": true, "indications": [ @@ -226,653 +351,327 @@ ] }, { - "valid": true, + "valid": false, "indications": [ - "none" + "right" ] } ], - "out": 1, + "entry": [ + false, + false, + true, + true + ], "location": [ - -122.420342, - 37.780077 + -122.414717, + 37.776233 ], "bearings": [ - 90, - 165, - 255, - 345 - ], + 45, + 135, + 225, + 315 + ] + }, + { + "out": 2, + "in": 0, "entry": [ + false, true, - true, - true, - false + true ], - "in": 3 - }, - { - "lanes": [ - { - "valid": false, - "indications": [ - "left" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - } - ], - "out": 1, "location": [ - -122.419972, - 37.778242 + -122.415147, + 37.775893 ], "bearings": [ - 75, - 165, - 255, - 345 - ], - "entry": [ - true, - true, - true, - false - ], - "in": 3 + 45, + 135, + 225 + ] }, { - "out": 1, - "location": [ - -122.419782, - 37.777295 - ], - "bearings": [ - 75, - 165, - 255, - 345 - ], + "out": 2, + "in": 0, "entry": [ false, - true, - true, - false - ], - "in": 3 - }, - { - "lanes": [ - { - "valid": false, - "indications": [ - "left" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - } - ], - "out": 1, - "location": [ - -122.419594, - 37.776367 - ], - "bearings": [ - 75, - 165, - 255, - 345 - ], - "entry": [ - true, - true, - true, - false - ], - "in": 3 - }, - { - "out": 0, - "location": [ - -122.419499, - 37.775895 - ], - "bearings": [ - 165, - 255, - 345 - ], - "entry": [ - true, false, - false - ], - "in": 2 - }, - { - "lanes": [ - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": false, - "indications": [ - "right" - ] - } + true ], - "out": 0, "location": [ - -122.419398, - 37.775431 + -122.415511, + 37.775604 ], "bearings": [ - 165, - 255, - 345 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + 45, + 135, + 225 + ] } ], - "geometry": "anreFtiejV|AQlAONCLAzAS|@KPCLA`BSx@KPC^EvC]zAQz@M^EPChDa@pBUfAO|AQxASB?^EZGB?", + "geometry": "clqeFjycjVtCzDv@dAf@p@bAtAx@fA~@pA", + "duration": 53.2, + "distance": 342, + "name": "Mission Street", + "weight": 97.30000000000001, "mode": "driving", - "duration": 132.79999999999998, "maneuver": { - "bearing_after": 170, - "type": "turn", - "modifier": "left", - "bearing_before": 260, + "bearing_after": 223, "location": [ - -122.42091, - 37.782888 + -122.413175, + 37.777455 ], - "instruction": "Turn left onto Van Ness Avenue (US 101)" - }, - "ref": "US 101", - "weight": 132.79999999999998, - "distance": 876, - "name": "Van Ness Avenue (US 101)" + "type": "turn", + "bearing_before": 135, + "modifier": "right", + "instruction": "Turn right onto Mission Street" + } }, { "intersections": [ { - "lanes": [ - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": false, - "indications": [ - "right" - ] - } - ], - "out": 2, - "location": [ - -122.419329, - 37.775112 - ], - "bearings": [ - 30, - 45, - 165, - 225, - 345 - ], + "out": 1, + "in": 0, "entry": [ - false, false, true, true, false ], - "in": 4 - }, - { - "out": 0, "location": [ - -122.418876, - 37.773667 - ], - "bearings": [ - 165, - 195, - 345 - ], - "entry": [ - true, - true, - false - ], - "in": 2 - }, - { - "out": 1, - "location": [ - -122.418702, - 37.773081 + -122.415923, + 37.775278 ], "bearings": [ 45, - 165, + 135, 225, - 315, - 345 - ], + 315 + ] + }, + { + "out": 0, + "in": 2, "entry": [ - false, true, true, - false, false ], - "in": 4 - }, - { - "out": 1, "location": [ - -122.418631, - 37.772842 + -122.415384, + 37.774853 ], "bearings": [ - 30, - 165, - 210, - 345 - ], - "entry": [ - true, - true, - false, - false - ], - "in": 3 + 135, + 225, + 315 + ] }, { - "lanes": [ - { - "valid": true, - "indications": [ - "left" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - } - ], "out": 0, - "location": [ - -122.418496, - 37.772399 - ], - "bearings": [ - 165, - 315, - 345 - ], + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "lanes": [ - { - "valid": false, - "indications": [ - "left" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - } - ], - "out": 1, "location": [ - -122.41845, - 37.772238 + -122.414921, + 37.774485 ], "bearings": [ - 75, - 165, - 345 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + 135, + 225, + 315 + ] }, { "out": 1, - "location": [ - -122.418146, - 37.771238 - ], - "bearings": [ - 120, - 165, - 345 - ], + "in": 3, "entry": [ false, - true, - false - ], - "in": 2 - }, - { - "out": 1, - "location": [ - -122.418096, - 37.771089 - ], - "bearings": [ - 135, - 165, - 345 - ], - "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.418033, - 37.770901 + -122.414368, + 37.774043 ], "bearings": [ - 165, - 270, - 345 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + 45, + 135, + 225, + 315 + ] }, { - "out": 0, - "location": [ - -122.417948, - 37.770702 - ], - "bearings": [ - 150, - 240, - 345 - ], + "out": 1, + "in": 3, "entry": [ true, true, + false, false ], - "in": 2 - }, - { - "out": 1, "location": [ - -122.417737, - 37.770243 + -122.412834, + 37.77282 ], "bearings": [ - 0, - 180, - 285 - ], - "entry": [ - false, - true, - true - ], - "in": 0 + 45, + 135, + 225, + 315 + ] }, { "out": 1, - "location": [ - -122.417742, - 37.770207 - ], - "bearings": [ - 0, - 195, - 210, - 270 - ], + "in": 2, "entry": [ false, true, - true, false ], - "in": 0 - }, - { - "out": 2, "location": [ - -122.417804, - 37.769886 + -122.411897, + 37.772073 ], "bearings": [ - 15, - 105, - 195, - 285 - ], - "entry": [ - false, - false, - true, - true - ], - "in": 0 + 45, + 135, + 315 + ] }, { - "out": 2, - "location": [ - -122.417828, - 37.769759 - ], - "bearings": [ - 15, - 105, - 180, - 285 - ], + "out": 1, + "in": 3, "entry": [ false, true, true, false ], - "in": 0 + "location": [ + -122.411287, + 37.771587 + ], + "bearings": [ + 45, + 135, + 225, + 315 + ] } ], - "geometry": "m}peFx_ejVBAZCZIVEjEcAtBc@n@MZGz@Q^IfE{@\\IRGPEf@ORMPOLIHCJ?P@D?~@JXDh@Bt@H", + "geometry": "o~peFnjdjVtAkBfA{AxAmB~AyBrCyDtCyD~AyB|@kAr@_AfCcD", + "duration": 96.8, + "distance": 771.4, + "name": "10th Street", + "weight": 185.29999999999998, "mode": "driving", - "duration": 99.19999999999999, "maneuver": { - "bearing_after": 165, - "type": "new name", - "modifier": "straight", - "bearing_before": 170, + "bearing_after": 133, "location": [ - -122.419329, - 37.775112 + -122.415923, + 37.775278 ], - "instruction": "Continue straight onto South Van Ness Avenue (US 101)" - }, - "ref": "US 101", - "weight": 99.19999999999999, - "distance": 669.7, - "name": "South Van Ness Avenue (US 101)" + "type": "turn", + "bearing_before": 223, + "modifier": "left", + "instruction": "Turn left onto 10th Street" + } }, { "intersections": [ { - "out": 2, - "location": [ - -122.417903, - 37.769281 - ], - "bearings": [ - 15, - 180, - 210, - 345 + "out": 1, + "in": 4, + "lanes": [ + { + "valid": false, + "indications": [ + "left" + ] + }, + { + "valid": true, + "indications": [ + "left", + "slight left" + ] + }, + { + "valid": true, + "indications": [ + "slight left" + ] + }, + { + "valid": true, + "indications": [ + "straight", + "slight left" + ] + }, + { + "valid": false, + "indications": [ + "straight" + ] + } ], "entry": [ - false, true, true, - false - ], - "in": 0 - }, - { - "out": 0, - "location": [ - -122.415393, - 37.769522 - ], - "bearings": [ - 92, - 270, - 272 - ], - "entry": [ true, false, false ], - "in": 1 - }, - { - "out": 1, "location": [ - -122.40981, - 37.769161 + -122.409767, + 37.770337 ], "bearings": [ - 102, - 108, - 282 - ], + 45, + 90, + 135, + 225, + 315 + ] + } + ], + "geometry": "s_peF`dcjVBk@Hy@F[H]J]L[NYp@kAfAoBd@w@tAsBdBkC\\a@PQTQTMXKNEPE\\GJ?", + "maneuver": { + "bearing_after": 95, + "location": [ + -122.409767, + 37.770337 + ], + "type": "on ramp", + "bearing_before": 135, + "modifier": "slight left", + "instruction": "Take the ramp on the left towards US 101" + }, + "duration": 46.5, + "distance": 531.5, + "destinations": "US 101", + "name": "", + "weight": 93.5, + "mode": "driving" + }, + { + "intersections": [ + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.405473, 37.767261 @@ -881,16 +680,38 @@ 174, 353, 358 - ], + ] + } + ], + "maneuver": { + "bearing_after": 172, + "location": [ + -122.405473, + 37.767261 + ], + "type": "merge", + "bearing_before": 177, + "modifier": "slight right", + "instruction": "Merge right onto Central Freeway (US 101)" + }, + "duration": 6.8, + "distance": 136.5, + "name": "Central Freeway (US 101)", + "geometry": "kloeFdibjVtBOj@GnAU", + "ref": "US 101", + "weight": 13.6, + "mode": "driving" + }, + { + "intersections": [ + { + "out": 1, + "in": 2, "entry": [ - true, false, + true, false ], - "in": 1 - }, - { - "out": 1, "location": [ -122.405244, 37.766048 @@ -899,16 +720,16 @@ 0, 180, 345 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, true, - false + true ], - "in": 2 - }, - { - "out": 1, "location": [ -122.402999, 37.752554 @@ -917,16 +738,16 @@ 0, 180, 195 - ], + ] + }, + { + "out": 2, + "in": 1, "entry": [ false, - true, + false, true ], - "in": 0 - }, - { - "out": 2, "location": [ -122.404558, 37.746941 @@ -935,16 +756,16 @@ 0, 15, 195 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, - false, + true, true ], - "in": 1 - }, - { - "out": 1, "location": [ -122.408143, 37.739469 @@ -953,16 +774,16 @@ 5, 180, 187 - ], - "entry": [ - false, - true, - true - ], - "in": 0 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + false, + false + ], "location": [ -122.406401, 37.734438 @@ -971,16 +792,16 @@ 155, 332, 335 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.405674, 37.733191 @@ -989,16 +810,16 @@ 150, 180, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.403995, 37.730114 @@ -1007,16 +828,16 @@ 165, 330, 345 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.402483, 37.726603 @@ -1025,16 +846,16 @@ 163, 341, 346 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.401701, 37.724557 @@ -1043,16 +864,16 @@ 163, 168, 343 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.400278, 37.720955 @@ -1061,16 +882,16 @@ 165, 180, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.397974, 37.714805 @@ -1079,16 +900,16 @@ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.39554, 37.710237 @@ -1097,38 +918,37 @@ 165, 180, 345 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + ] } ], - "geometry": "_yoeFzvdjVXLLJLJHNFPDT?TARCRGPILKLMHMBMBM?KCMEKGIIIKGOEQCQ?Q?U@SFu@Dc@B]Fw@Bo@Bk@Bo@@m@?k@?cDLaR@a@?c@@a@@a@@_@Bc@B]Ba@Dc@De@XaDb@oCHg@Fg@Fk@Bc@Be@Bi@Bk@Fi@Fi@Hg@La@J]JYL]HQHOHQHMLSLQPSPQTOVMNGNE\\GJAtBOj@GnAUhGWd@C^?f@@d@@f@Dd@Fb@Ff@J`@Ld@P`@Pb@R`@T~Az@\\P^P^L^J^H^D^D^@`@@`@C`@Cb@Gb@Ib@O^O`@S^U`@Y^_@\\]Zc@Zc@Xc@p@eAV_@Xa@V[V[XUXWZSZQ`@S`@M^Kb@Ib@Gf@Ed@Cd@CbLg@r@Ct@Ap@An@@r@Dp@Ft@Hj@Jj@JzFnA`IdB~FnAtH`Bp@Nt@Rn@Vl@Xn@\\j@^l@b@nElDVRVPn@b@p@^n@Zp@Xt@Vn@Px@Nr@Lv@Jv@FfAFr@Br@At@Ar@Ct@El@Ir@Kr@Mt@Qp@Ql@Sj@Sn@Wt@]b@SlAm@tDiBtAq@bD_BtC}Az@c@|@a@jAg@x@]dAa@bBo@f@QrAg@jAa@lA]nEyA^K~EaBjFyAjDaArBm@rAa@dHyBdBe@zBk@v@Sx@Q|Du@lCc@f@KvGmAl@Mp@Op@Sn@UfAc@r@]n@]n@c@p@g@r@g@rDwCl@a@j@]j@[j@[l@Yh@Up@Ul@Sp@Op@On@KfAObBWnC_@nBWfBUTE", - "mode": "driving", - "duration": 437.30000000000007, "maneuver": { - "bearing_after": 202, - "type": "off ramp", - "modifier": "straight", - "bearing_before": 187, + "bearing_after": 174, "location": [ - -122.417903, - 37.769281 + -122.405244, + 37.766048 ], - "instruction": "Take the ramp onto US 101" + "type": "merge", + "bearing_before": 167, + "modifier": "slight left", + "instruction": "Merge left onto James Lick Freeway (US 101)" }, + "duration": 287.70000000000005, + "distance": 6830.6, + "name": "James Lick Freeway (US 101)", + "geometry": "ydoeFvgbjVhGWd@C^?f@@d@@f@Dd@Fb@Ff@J`@Ld@P`@Pb@R`@T~Az@\\P^P^L^J^H^D^D^@`@@`@C`@Cb@Gb@Ib@O^O`@S^U`@Y^_@\\]Zc@Zc@Xc@p@eAV_@Xa@V[V[XUXWZSZQ`@S`@M^Kb@Ib@Gf@Ed@Cd@CbLg@r@Ct@Ap@An@@r@Dp@Ft@Hj@Jj@JzFnA`IdB~FnAtH`Bp@Nt@Rn@Vl@Xn@\\j@^l@b@nElDVRVPn@b@p@^n@Zp@Xt@Vn@Px@Nr@Lv@Jv@FfAFr@Br@At@Ar@Ct@El@Ir@Kr@Mt@Qp@Ql@Sj@Sn@Wt@]b@SlAm@tDiBtAq@bD_BtC}Az@c@|@a@jAg@x@]dAa@bBo@f@QrAg@jAa@lA]nEyA^K~EaBjFyAjDaArBm@rAa@dHyBdBe@zBk@v@Sx@Q|Du@lCc@f@KvGmAl@Mp@Op@Sn@UfAc@r@]n@]n@c@p@g@r@g@rDwCl@a@j@]j@[j@[l@Yh@Up@Ul@Sp@Op@On@KfAObBWnC_@nBWfBUTE", "ref": "US 101", - "weight": 437.30000000000007, - "distance": 8418.6, - "name": "US 101" + "weight": 575.4000000000001, + "mode": "driving" }, { "intersections": [ { "out": 0, + "in": 1, + "entry": [ + true, + false + ], "location": [ -122.395121, 37.708328 @@ -1136,15 +956,16 @@ "bearings": [ 165, 345 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, + false, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.393825, 37.702429 @@ -1153,16 +974,16 @@ 170, 347, 350 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.391826, 37.693636 @@ -1171,16 +992,16 @@ 165, 180, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.3906, 37.688244 @@ -1189,16 +1010,16 @@ 170, 345, 350 - ], - "entry": [ - true, - false, - false - ], - "in": 2 + ] }, { "out": 1, + "in": 0, + "entry": [ + false, + true, + true + ], "location": [ -122.392891, 37.669787 @@ -1207,16 +1028,16 @@ 30, 210, 225 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, true, true ], - "in": 0 - }, - { - "out": 1, "location": [ -122.395051, 37.667539 @@ -1225,16 +1046,16 @@ 30, 210, 225 - ], + ] + }, + { + "out": 2, + "in": 1, "entry": [ false, - true, + false, true ], - "in": 0 - }, - { - "out": 2, "location": [ -122.39982, 37.663398 @@ -1243,16 +1064,16 @@ 46, 51, 231 - ], + ] + }, + { + "out": 2, + "in": 1, "entry": [ false, false, true ], - "in": 1 - }, - { - "out": 2, "location": [ -122.403926, 37.660623 @@ -1261,16 +1082,16 @@ 30, 45, 225 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, - false, + true, true ], - "in": 1 - }, - { - "out": 1, "location": [ -122.405731, 37.65805 @@ -1279,16 +1100,16 @@ 15, 195, 210 - ], - "entry": [ - false, - true, - true - ], - "in": 0 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], "location": [ -122.406979, 37.651445 @@ -1297,16 +1118,16 @@ 176, 181, 356 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ - true, + false, true, false ], - "in": 2 - }, - { - "out": 1, "location": [ -122.406419, 37.64457 @@ -1315,16 +1136,16 @@ 0, 180, 345 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, true, - false + true ], - "in": 0 - }, - { - "out": 1, "location": [ -122.406082, 37.641332 @@ -1333,16 +1154,16 @@ 0, 165, 195 - ], - "entry": [ - false, - true, - true - ], - "in": 0 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], "location": [ -122.405024, 37.63824 @@ -1351,16 +1172,16 @@ 150, 165, 345 - ], + ] + }, + { + "out": 1, + "in": 2, "entry": [ - true, + false, true, false ], - "in": 2 - }, - { - "out": 1, "location": [ -122.402719, 37.630324 @@ -1369,16 +1190,16 @@ 0, 180, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ - false, true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.401464, 37.62492 @@ -1387,16 +1208,16 @@ 166, 341, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.398689, 37.616736 @@ -1405,16 +1226,16 @@ 164, 342, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.394473, 37.611514 @@ -1423,16 +1244,16 @@ 135, 300, 315 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.391675, 37.609715 @@ -1441,16 +1262,16 @@ 128, 308, 309 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.384799, 37.605291 @@ -1459,16 +1280,16 @@ 129, 134, 309 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.378646, 37.601292 @@ -1477,16 +1298,16 @@ 135, 300, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.376557, 37.599922 @@ -1495,16 +1316,16 @@ 135, 300, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.364079, 37.591793 @@ -1513,16 +1334,16 @@ 130, 136, 309 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.357438, 37.587965 @@ -1531,16 +1352,16 @@ 105, 285, 300 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.325833, 37.581641 @@ -1549,16 +1370,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.322934, 37.578971 @@ -1567,16 +1388,16 @@ 139, 314, 319 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.316743, 37.573261 @@ -1585,16 +1406,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.310821, 37.567812 @@ -1603,16 +1424,16 @@ 139, 316, 319 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.302578, 37.560185 @@ -1621,16 +1442,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.293655, 37.550567 @@ -1639,16 +1460,16 @@ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.293005, 37.549875 @@ -1657,16 +1478,16 @@ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, false, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.292169, 37.548986 @@ -1675,16 +1496,16 @@ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.291949, 37.548743 @@ -1693,16 +1514,16 @@ 144, 149, 324 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.286169, 37.542512 @@ -1711,16 +1532,16 @@ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.283856, 37.53998 @@ -1729,16 +1550,16 @@ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.273979, 37.529546 @@ -1747,16 +1568,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.262626, 37.51954 @@ -1765,16 +1586,16 @@ 138, 313, 318 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.260906, 37.518025 @@ -1783,16 +1604,16 @@ 138, 141, 318 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.247718, 37.506343 @@ -1801,16 +1622,16 @@ 138, 314, 318 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.242977, 37.502159 @@ -1819,16 +1640,16 @@ 138, 315, 318 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.239937, 37.499488 @@ -1837,16 +1658,16 @@ 137, 142, 317 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.231907, 37.495907 @@ -1855,16 +1676,16 @@ 110, 284, 290 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.228972, 37.495072 @@ -1873,16 +1694,16 @@ 110, 283, 290 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.218915, 37.491223 @@ -1891,16 +1712,16 @@ 120, 135, 300 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.205884, 37.487457 @@ -1909,16 +1730,16 @@ 105, 270, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.185632, 37.484733 @@ -1927,16 +1748,16 @@ 106, 110, 286 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.179679, 37.482856 @@ -1945,16 +1766,16 @@ 120, 285, 300 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.177095, 37.481497 @@ -1963,16 +1784,16 @@ 126, 302, 307 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.158395, 37.470605 @@ -1981,16 +1802,17 @@ 120, 135, 300 - ], + ] + }, + { + "out": 0, + "in": 3, "entry": [ true, true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.155045, 37.468654 @@ -2000,17 +1822,16 @@ 137, 297, 306 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ - true, true, false, false ], - "in": 3 - }, - { - "out": 0, "location": [ -122.152581, 37.467179 @@ -2019,16 +1840,16 @@ 126, 305, 307 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.144516, 37.462442 @@ -2037,16 +1858,16 @@ 120, 135, 300 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.136462, 37.457738 @@ -2055,16 +1876,16 @@ 126, 304, 306 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.12693, 37.452112 @@ -2073,16 +1894,16 @@ 131, 141, 309 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.118132, 37.444081 @@ -2091,16 +1912,16 @@ 140, 317, 320 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.103307, 37.429953 @@ -2109,16 +1930,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.101751, 37.428459 @@ -2127,16 +1948,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.092643, 37.42097 @@ -2145,16 +1966,16 @@ 135, 300, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.09244, 37.420823 @@ -2163,16 +1984,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.089184, 37.418478 @@ -2181,16 +2002,16 @@ 133, 309, 312 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.081848, 37.413404 @@ -2199,16 +2020,16 @@ 122, 293, 304 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.081263, 37.413111 @@ -2217,16 +2038,16 @@ 120, 135, 300 - ], + ] + }, + { + "out": 1, + "in": 2, "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 1, "location": [ -122.078361, 37.411892 @@ -2235,16 +2056,16 @@ 105, 120, 300 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.076323, 37.411054 @@ -2253,16 +2074,16 @@ 118, 124, 297 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.067607, 37.407809 @@ -2271,16 +2092,16 @@ 106, 282, 286 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.067189, 37.407713 @@ -2289,16 +2110,16 @@ 105, 110, 286 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.062594, 37.406712 @@ -2307,16 +2128,16 @@ 105, 281, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.056615, 37.405407 @@ -2325,16 +2146,16 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.047017, 37.403049 @@ -2343,16 +2164,16 @@ 105, 280, 286 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.036066, 37.400658 @@ -2361,16 +2182,17 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 3, "entry": [ true, true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.031971, 37.399731 @@ -2380,17 +2202,16 @@ 109, 282, 286 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ - true, true, false, false ], - "in": 3 - }, - { - "out": 0, "location": [ -122.027075, 37.398693 @@ -2399,16 +2220,16 @@ 105, 279, 286 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.024811, 37.398202 @@ -2417,16 +2238,16 @@ 105, 280, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.017288, 37.396552 @@ -2435,16 +2256,16 @@ 105, 111, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.012976, 37.395607 @@ -2453,16 +2274,16 @@ 105, 270, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.012709, 37.395542 @@ -2471,16 +2292,16 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.008838, 37.394702 @@ -2489,16 +2310,16 @@ 107, 280, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.000135, 37.392318 @@ -2507,16 +2328,16 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.994151, 37.390522 @@ -2525,16 +2346,16 @@ 111, 284, 291 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.991164, 37.389654 @@ -2543,16 +2364,16 @@ 110, 282, 290 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.983628, 37.387548 @@ -2561,16 +2382,16 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.974838, 37.385032 @@ -2579,16 +2400,16 @@ 110, 287, 290 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.972437, 37.384341 @@ -2597,16 +2418,16 @@ 105, 270, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.968441, 37.383197 @@ -2615,16 +2436,16 @@ 105, 135, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.957291, 37.380021 @@ -2633,16 +2454,16 @@ 110, 284, 290 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.945834, 37.377446 @@ -2651,16 +2472,16 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.941787, 37.376663 @@ -2669,16 +2490,16 @@ 105, 270, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.941568, 37.376623 @@ -2687,16 +2508,16 @@ 105, 120, 285 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + false, + false + ], "location": [ -121.938604, 37.376047 @@ -2705,93 +2526,73 @@ 105, 270, 285 - ], - "entry": [ - true, - false, - false - ], - "in": 2 + ] } ], - "geometry": "a|ceFnh`jVdEi@`IcArSsC|u@oKv`@uFze@{GhC_@pDk@pASnAQfAMjAIx@C~@?z@?`AB`AF`AL~@Nv@L|@TdAZ`A\\v@X|@Zx@\\|@\\x@\\LFvBbA`Af@l@\\n@\\j@\\l@^j@^l@`@j@`@j@b@h@`@l@d@h@b@h@d@h@d@p@l@`MnLdD~ChBdBf@f@f@d@f@h@f@h@j@n@b@h@d@l@d@n@`@j@b@n@`@n@`@p@b@r@^p@`@t@hJrP^r@d@t@d@n@d@p@n@t@h@j@l@j@r@j@j@b@l@`@j@Zn@\\n@Xp@X|An@vF~Bp@Vr@Vr@Rr@Pt@Nv@Nn@Hr@Fn@Fr@Dp@@p@@v@?r@At@CtESnAEfGW~@CrDO`AE`X}@bNk@bDWf@EpAQ~AYtAY~@WhA]rAe@zAk@~GyClAc@`A[bA]z@Ux@U~@S`AS~@ObAM`AMbAI`BKzDUzGg@nG]pAKvAQzASfASjAWtEeAnCs@f@EvAYjQkEfGyAzOuDbCi@VIfAYpAc@vAk@pAm@vAw@jAu@rAcAjAcAbA{@hAkA~@gAbAoAzB}CdJmPdHuMzAcC|CgFtI}OxJiQdLcSpGaLvCgF`FuInDkGvTk`@zCwFlAwBlCyEnKcRz@_Bx@{Ax@cBt@gBl@gBl@kBh@oBbAeF^oCXiCNeBLsBH_CB}B@{BHmJXg]NcTPsTRmUDeDH{BJqATiBZeBb@gBh@eBp@_Br@qAv@kAx@aAlCyChNuOtOcQ|OiQvQkSzEmFdZq\\`SuTnScUhBsBxA_B\\a@fAgAhAcApAkA~GwFbByAvCmChD_DdB{AlBkBjDgDvAqA|AwAbLeKhCaCpDgDp@k@hP_OlEcEbCyB`JeIhBcBn@k@p@m@xDeDrBiBfLiKzUcT|@y@`KcJdA_AbAaAlAkAdAgA~@cAbAiA~@gApCeDbQsStPaSdJuK~IkKnB}B|DyEfGgHpA_BtBcCjHsIlByBdIqJvIeK|DqEzQiTnFoGvFyGzIiKfGgHvCmDtBiCv@aAv@aAr@eAr@kAl@iAl@oAN[JUTi@j@_Bb@qA`@qA^{AZwAZwAzCiPfDkQv@gEZcB\\gBXqAXoAXmAd@iB\\sAb@{A`@wAb@wAd@sAd@yAfI}U|CcJd@wAd@wAb@wA`@yARu@Lc@Nm@Nk@^{AXqAZwA\\cBRcAX_BV{AV_BT_BT}ARaBP_BP_BNaBLaBh@gIzJ__BLaBJgBLaBLaBNaBN_BP_BRaBR}ATaBRwAV}AV}AX_BX{AZ{AZ}A\\{A^{A^yA^wAb@yAb@wAf@uAf@uAh@sAj@sAl@oAl@oALOjTgd@~CuGdK}SdXwi@hCgFfK}SpGyMRShSya@hHqNpIiQ|NcZzA}C|]us@Xm@v@yAt@sA~@}Af@u@t@gAv@eAx@aAz@aAdSgTbIqInH_IzDeEfRgS`@a@rQoR`]q^X[rKeL|BeCjDqDdKyKnAsAnAuAjAsAfAsAnA_BhA}AxAwBxA}BpM}R\\g@tGcK|DgGtKkP~HyLd@s@^m@^s@p@kAn@oAl@qAj@oAf@sAPa@|@mCtDuLfDwK`CyHtHwVV_AXcAVaATaATaATgAN{@PaANaAPiARsAh@kE|CkUbCaR~BgQ^gC`@kCd@iCrB{Kl@qD^aC\\eCZ}BrBmOtJot@n@}Ev@_GxDsXnDcY^mC`BeMhI_n@zD}YLu@fDeWdAaH|C{PvFmZhBqJ`BwHzCcO^mB~@wElAoGn@gDbAoFxA_ItEiW|Iie@xCsOhC_NrEaVN}@pFmYrF{YtCkOjB{JfA{GpBqOpBmPhB{O|CgXFk@pBqQzEg`@j@uDDW", - "mode": "driving", - "duration": 2382.800000000001, "maneuver": { "bearing_after": 170, - "type": "new name", - "modifier": "straight", - "bearing_before": 168, "location": [ -122.395121, 37.708328 ], + "type": "new name", + "bearing_before": 168, + "modifier": "straight", "instruction": "Continue straight onto Bayshore Freeway (US 101)" }, - "ref": "US 101", - "weight": 2481.2000000000016, + "duration": 2298.2000000000007, "distance": 61959, - "name": "Bayshore Freeway (US 101)" + "name": "Bayshore Freeway (US 101)", + "geometry": "a|ceFnh`jVdEi@`IcArSsC|u@oKv`@uFze@{GhC_@pDk@pASnAQfAMjAIx@C~@?z@?`AB`AF`AL~@Nv@L|@TdAZ`A\\v@X|@Zx@\\|@\\x@\\LFvBbA`Af@l@\\n@\\j@\\l@^j@^l@`@j@`@j@b@h@`@l@d@h@b@h@d@h@d@p@l@`MnLdD~ChBdBf@f@f@d@f@h@f@h@j@n@b@h@d@l@d@n@`@j@b@n@`@n@`@p@b@r@^p@`@t@hJrP^r@d@t@d@n@d@p@n@t@h@j@l@j@r@j@j@b@l@`@j@Zn@\\n@Xp@X|An@vF~Bp@Vr@Vr@Rr@Pt@Nv@Nn@Hr@Fn@Fr@Dp@@p@@v@?r@At@CtESnAEfGW~@CrDO`AE`X}@bNk@bDWf@EpAQ~AYtAY~@WhA]rAe@zAk@~GyClAc@`A[bA]z@Ux@U~@S`AS~@ObAM`AMbAI`BKzDUzGg@nG]pAKvAQzASfASjAWtEeAnCs@f@EvAYjQkEfGyAzOuDbCi@VIfAYpAc@vAk@pAm@vAw@jAu@rAcAjAcAbA{@hAkA~@gAbAoAzB}CdJmPdHuMzAcC|CgFtI}OxJiQdLcSpGaLvCgF`FuInDkGvTk`@zCwFlAwBlCyEnKcRz@_Bx@{Ax@cBt@gBl@gBl@kBh@oBbAeF^oCXiCNeBLsBH_CB}B@{BHmJXg]NcTPsTRmUDeDH{BJqATiBZeBb@gBh@eBp@_Br@qAv@kAx@aAlCyChNuOtOcQ|OiQvQkSzEmFdZq\\`SuTnScUhBsBxA_B\\a@fAgAhAcApAkA~GwFbByAvCmChD_DdB{AlBkBjDgDvAqA|AwAbLeKhCaCpDgDp@k@hP_OlEcEbCyB`JeIhBcBn@k@p@m@xDeDrBiBfLiKzUcT|@y@`KcJdA_AbAaAlAkAdAgA~@cAbAiA~@gApCeDbQsStPaSdJuK~IkKnB}B|DyEfGgHpA_BtBcCjHsIlByBdIqJvIeK|DqEzQiTnFoGvFyGzIiKfGgHvCmDtBiCv@aAv@aAr@eAr@kAl@iAl@oAN[JUTi@j@_Bb@qA`@qA^{AZwAZwAzCiPfDkQv@gEZcB\\gBXqAXoAXmAd@iB\\sAb@{A`@wAb@wAd@sAd@yAfI}U|CcJd@wAd@wAb@wA`@yARu@Lc@Nm@Nk@^{AXqAZwA\\cBRcAX_BV{AV_BT_BT}ARaBP_BP_BNaBLaBh@gIzJ__BLaBJgBLaBLaBNaBN_BP_BRaBR}ATaBRwAV}AV}AX_BX{AZ{AZ}A\\{A^{A^yA^wAb@yAb@wAf@uAf@uAh@sAj@sAl@oAl@oALOjTgd@~CuGdK}SdXwi@hCgFfK}SpGyMRShSya@hHqNpIiQ|NcZzA}C|]us@Xm@v@yAt@sA~@}Af@u@t@gAv@eAx@aAz@aAdSgTbIqInH_IzDeEfRgS`@a@rQoR`]q^X[rKeL|BeCjDqDdKyKnAsAnAuAjAsAfAsAnA_BhA}AxAwBxA}BpM}R\\g@tGcK|DgGtKkP~HyLd@s@^m@^s@p@kAn@oAl@qAj@oAf@sAPa@|@mCtDuLfDwK`CyHtHwVV_AXcAVaATaATaATgAN{@PaANaAPiARsAh@kE|CkUbCaR~BgQ^gC`@kCd@iCrB{Kl@qD^aC\\eCZ}BrBmOtJot@n@}Ev@_GxDsXnDcY^mC`BeMhI_n@zD}YLu@fDeWdAaH|C{PvFmZhBqJ`BwHzCcO^mB~@wElAoGn@gDbAoFxA_ItEiW|Iie@xCsOhC_NrEaVN}@pFmYrF{YtCkOjB{JfA{GpBqOpBmPhB{O|CgXFk@pBqQzEg`@j@uDDW", + "ref": "US 101", + "weight": 4596.500000000001, + "mode": "driving" }, { "intersections": [ { "out": 1, - "location": [ - -121.932246, - 37.374701 - ], - "bearings": [ - 106, - 111, - 287 - ], + "in": 2, "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -121.93041, - 37.37413 + -121.932246, + 37.374701 ], "bearings": [ 105, + 120, 285 - ], - "entry": [ - true, - false - ], - "in": 1 + ] } ], - "geometry": "{vbcFp{egVpBoJz@mEh@eBZq@Zi@~@kAvAkAn@Y|@WzCw@pA_@p@U`Aa@ZG", - "mode": "driving", - "destinations": "CA 87: Guadalupe Parkway", - "duration": 41.5, + "geometry": "{vbcFp{egVh@cBl@_ETkA~@mEh@eBZq@Zi@~@kAj@k@j@_@VMVK^M\\IzCw@pA_@p@U`Aa@ZO", "maneuver": { - "bearing_after": 111, - "type": "off ramp", - "modifier": "slight right", - "bearing_before": 106, + "bearing_after": 116, "location": [ -121.932246, 37.374701 ], - "instruction": "Take the ramp on the right towards CA 87: Guadalupe Parkway" + "type": "off ramp", + "bearing_before": 106, + "modifier": "slight right", + "instruction": "Take the ramp on the right towards CA 87 South" }, - "weight": 41.5, - "distance": 769.6, - "name": "" + "duration": 67.8, + "distance": 771.7, + "destinations": "CA 87 South", + "name": "", + "weight": 135.6, + "mode": "driving" }, { "intersections": [ { + "out": 0, + "in": 2, "lanes": [ { "valid": true, @@ -2806,25 +2607,29 @@ ] } ], - "out": 0, - "location": [ - -121.92664, - 37.370122 - ], - "bearings": [ - 150, - 330, - 345 - ], "entry": [ true, false, false ], - "in": 2 + "location": [ + -121.926597, + 37.37012 + ], + "bearings": [ + 150, + 300, + 330 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], "location": [ -121.923722, 37.367884 @@ -2833,34 +2638,66 @@ 128, 138, 308 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 + "location": [ + -121.915678, + 37.359877 + ], + "bearings": [ + 150, + 315, + 330 + ] }, { "out": 0, + "in": 1, + "entry": [ + true, + false + ], "location": [ - -121.91516, - 37.359204 + -121.913941, + 37.357568 ], "bearings": [ - 149, - 327, - 329 - ], + 150, + 330 + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, - false, false ], - "in": 2 + "location": [ + -121.913136, + 37.356488 + ], + "bearings": [ + 150, + 330 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], "location": [ -121.908322, 37.349121 @@ -2869,73 +2706,69 @@ 135, 150, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -121.901482, - 37.342813 + -121.901664, + 37.343143 ], "bearings": [ 150, 330, 345 - ], - "entry": [ - true, - false, - false - ], - "in": 1 + ] } ], - "geometry": "gzacFnxdgVt@q@|@u@hAqAj@y@NYf@{@jAyBpAcCpFmKr@qAv@mA|@oA~@mAhAoAbAcAtAkAxAgAnAy@|YaSdIsFvE_DpGkE|ByA~CkBxBeAzCuAhIqDzAw@hBmAjB}AlB_ClAiBfB_E`AeCbA_Cv@uAx@kAp@}@p@y@r@q@r@o@nByAlEoBfEaB`CmAbL_H^W", - "mode": "driving", - "duration": 162.7, "maneuver": { - "bearing_after": 142, - "type": "new name", - "modifier": "slight left", - "bearing_before": 168, + "bearing_after": 150, "location": [ - -121.92664, - 37.370122 + -121.926597, + 37.37012 ], - "instruction": "Continue slightly left onto Guadalupe Parkway (CA 87)" + "type": "new name", + "bearing_before": 156, + "modifier": "straight", + "instruction": "Continue straight onto Guadalupe Freeway (CA 87)" }, + "duration": 155.29999999999998, + "distance": 4074.4, + "name": "Guadalupe Freeway (CA 87)", + "geometry": "gzacFfxdgVp@c@d@_@Z[f@g@`@i@j@y@NYf@{@jAyBpAcCpFmKr@qAv@mA|@oA~@mAhAoAbAcAtAkAxAgAnAy@tUyOlM{IvE_DpGkE|ByA~CkBxBeAzCuAhIqDl@Yl@]t@e@r@g@jB}AlB_Cd@s@b@s@d@{@b@_A`@eA`AeCbA_Cv@uAx@kAp@}@p@y@r@q@r@o@f@_@f@]`@Uf@[|@c@dBq@dCaA~As@`Ag@`@UdGsD", "ref": "CA 87", - "weight": 162.7, - "distance": 4197, - "name": "Guadalupe Parkway (CA 87)" + "weight": 311, + "mode": "driving" }, { "intersections": [ { "out": 1, + "in": 2, + "entry": [ + true, + true, + false + ], "location": [ - -121.899534, - 37.339899 + -121.900192, + 37.340845 ], "bearings": [ 150, 165, 330 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + ] }, { + "out": 1, + "in": 3, "lanes": [ { "valid": true, @@ -2957,7 +2790,12 @@ ] } ], - "out": 1, + "entry": [ + false, + true, + true, + false + ], "location": [ -121.898785, 37.336552 @@ -2967,16 +2805,11 @@ 150, 240, 345 - ], - "entry": [ - false, - true, - true, - false - ], - "in": 3 + ] }, { + "out": 1, + "in": 3, "lanes": [ { "valid": false, @@ -2998,7 +2831,12 @@ ] } ], - "out": 1, + "entry": [ + true, + true, + false, + false + ], "location": [ -121.898691, 37.336402 @@ -3008,38 +2846,38 @@ 150, 240, 330 - ], - "entry": [ - true, - true, - false, - false - ], - "in": 3 + ] } ], - "geometry": "k}{bF`o_gVpEcBVKZI^Gh@?`@Br@NPBf@HXBT?^EXId@QVKTI\\SRIhDgCRU", - "mode": "driving", - "duration": 68.7, + "geometry": "ic|bFds_gV^C|CmBl@[bDyAVKZI^Gh@?`@Br@NPBf@HXBT?^EXId@QVKTI\\SRIhDgCRU", "maneuver": { - "bearing_after": 158, - "type": "off ramp", - "modifier": "slight right", - "bearing_before": 150, + "bearing_after": 171, "location": [ - -121.899534, - 37.339899 + -121.900192, + 37.340845 ], - "instruction": "Take the ramp on the right" + "type": "off ramp", + "bearing_before": 150, + "modifier": "slight right", + "instruction": "Take the ramp on the right towards Julian Street" }, - "weight": 68.7, - "distance": 545.7, - "name": "" + "duration": 71.9, + "distance": 666.4, + "destinations": "Julian Street, Saint James Street", + "name": "", + "weight": 137.2, + "mode": "driving" }, { "intersections": [ { "out": 1, + "in": 2, + "entry": [ + true, + true, + false + ], "location": [ -121.897852, 37.335352 @@ -3048,37 +2886,38 @@ 105, 240, 315 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + ] } ], - "geometry": "}`{bFpd_gVfAlCPd@Vr@DLb@lALb@lA|C", + "geometry": "}`{bFpd_gVfAlCPd@Vr@DLb@lALb@`AdCJV", + "duration": 42.1, + "distance": 267.1, + "name": "West Saint John Street", + "weight": 82.2, "mode": "driving", - "duration": 46.8, "maneuver": { "bearing_after": 236, - "type": "turn", - "modifier": "right", - "bearing_before": 136, "location": [ -121.897852, 37.335352 ], + "type": "turn", + "bearing_before": 136, + "modifier": "right", "instruction": "Turn right onto West Saint John Street" - }, - "weight": 46.8, - "distance": 267.1, - "name": "West Saint John Street" + } }, { "intersections": [ { "out": 1, + "in": 0, + "entry": [ + false, + true, + true, + true + ], "location": [ -121.900438, 37.334113 @@ -3088,33 +2927,26 @@ 165, 240, 315 - ], - "entry": [ - false, - true, - true, - true - ], - "in": 0 + ] } ], - "geometry": "eyzbFvt_gVn@KlBG", + "geometry": "eyzbFvt_gVVCVGlBG", + "duration": 13.4, + "distance": 89.1, + "name": "North Autumn Street", + "weight": 26.8, "mode": "driving", - "duration": 14.6, "maneuver": { - "bearing_after": 168, - "type": "turn", - "modifier": "left", - "bearing_before": 237, + "bearing_after": 171, "location": [ -121.900438, 37.334113 ], + "type": "turn", + "bearing_before": 237, + "modifier": "left", "instruction": "Turn left onto North Autumn Street" - }, - "weight": 14.6, - "distance": 89.1, - "name": "North Autumn Street" + } }, { "intersections": [ @@ -3123,60 +2955,45 @@ "entry": [ true ], - "bearings": [ - 357 - ], "location": [ -121.90034, 37.333317 + ], + "bearings": [ + 357 ] } ], "geometry": "gtzbFbt_gV", - "mode": "driving", "duration": 0, + "distance": 0, + "name": "North Autumn Street", + "weight": 0, + "mode": "driving", "maneuver": { "bearing_after": 0, - "type": "arrive", - "modifier": "left", - "bearing_before": 177, "location": [ -121.90034, 37.333317 ], + "type": "arrive", + "bearing_before": 177, + "modifier": "left", "instruction": "You have arrived at your destination, on the left" - }, - "weight": 0, - "distance": 0, - "name": "North Autumn Street" + } } ], - "distance": 78167.9, - "duration": 3535.2, + "weight": 6524.2, + "distance": 77254.7, "summary": "Bayshore Freeway, Bayshore Freeway", - "weight": 3633.6 + "duration": 3282.8 } ], - "distance": 78167.9, - "duration": 3535.2, "weight_name": "routability", - "weight": 3633.6 - } - ], - "waypoints": [ - { - "name": "Eddy Street", - "location": [ - -122.416686, - 37.783425 - ] - }, - { - "name": "North Autumn Street", - "location": [ - -121.90034, - 37.333317 - ] + "geometry": "mqreFhodjV|q@yCxo@a`Av}AsNnwAv^jqJoyBbyClsB~cGsfAxvCkjFpPcnDjaPg_QnbBwtJ~yDa~HlmDuyD|~AebDd{E_wZzqDwbD~gAqM", + "weight": 6524.2, + "distance": 77254.7, + "duration": 3282.8 } ], "code": "Ok" diff --git a/mapbox/libjava-services/src/test/fixtures/directions_v5_precision_6.json b/mapbox/libjava-services/src/test/fixtures/directions_v5_precision_6.json index 946e9990e..6d2a0b348 100644 --- a/mapbox/libjava-services/src/test/fixtures/directions_v5_precision_6.json +++ b/mapbox/libjava-services/src/test/fixtures/directions_v5_precision_6.json @@ -1,7 +1,22 @@ { + "waypoints": [ + { + "location": [ + -122.416686, + 37.783425 + ], + "name": "Eddy Street" + }, + { + "location": [ + -121.90034, + 37.333317 + ], + "name": "North Autumn Street" + } + ], "routes": [ { - "geometry": "awbagAzavnhFp`@~fGr~Ya|BhcBwcYbr\\u{C`tZ~{H~vrBsge@bdo@`kc@dqpAckUbmn@sphAjnDovu@zviDgasDpa^ixsBbmy@{ubBvou@ajy@|}\\y~q@dycAcotGnew@{lr@hoU_hC", "legs": [ { "steps": [ @@ -12,169 +27,267 @@ "entry": [ true ], - "bearings": [ - 261 - ], "location": [ -122.416686, 37.783425 + ], + "bearings": [ + 81 ] - }, + } + ], + "geometry": "awbagAzavnhFeE}o@", + "duration": 23.5, + "distance": 69.7, + "name": "Eddy Street", + "weight": 42.7, + "mode": "driving", + "maneuver": { + "bearing_after": 81, + "location": [ + -122.416686, + 37.783425 + ], + "type": "depart", + "bearing_before": 0, + "modifier": "right", + "instruction": "Head east on Eddy Street" + } + }, + { + "intersections": [ { - "out": 2, + "out": 1, + "in": 2, + "entry": [ + true, + true, + false, + false + ], "location": [ - -122.417548, - 37.783315 + -122.415903, + 37.783524 ], "bearings": [ 75, 165, 255, 345 - ], + ] + }, + { + "out": 1, + "in": 3, "entry": [ - false, false, true, - true + true, + false ], - "in": 0 - }, - { - "out": 2, "location": [ - -122.419192, - 37.783106 + -122.415716, + 37.782593 ], "bearings": [ 75, 165, 255, 345 - ], + ] + }, + { + "out": 1, + "in": 3, "entry": [ - false, true, true, - true + false, + false ], - "in": 0 - }, - { - "out": 2, "location": [ - -122.42076, - 37.782907 + -122.415527, + 37.78166 ], "bearings": [ 75, 165, 255, 345 - ], + ] + }, + { + "out": 1, + "in": 3, "entry": [ - false, false, true, - true + true, + false ], - "in": 0 - } - ], - "geometry": "awbagAzavnhFzEzt@`LveBlK~`Bd@jH", - "mode": "driving", - "duration": 148.8, - "maneuver": { - "bearing_after": 261, - "type": "depart", - "modifier": "left", - "bearing_before": 0, - "location": [ - -122.416686, - 37.783425 - ], - "instruction": "Head west on Eddy Street" - }, - "weight": 148.8, - "distance": 376.1, - "name": "Eddy Street" - }, - { - "intersections": [ - { - "out": 1, "location": [ - -122.42091, - 37.782888 + -122.415339, + 37.780726 ], "bearings": [ 75, 165, 255, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ - false, true, true, false ], - "in": 0 - }, - { - "out": 0, "location": [ - -122.420816, - 37.782423 + -122.415152, + 37.779796 ], "bearings": [ 165, 255, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, true, false ], - "in": 2 + "location": [ + -122.414921, + 37.778867 + ], + "bearings": [ + 135, + 270, + 330 + ] }, { "out": 1, + "in": 3, + "entry": [ + false, + true, + true, + false + ], "location": [ - -122.420722, - 37.781954 + -122.414826, + 37.778777 ], "bearings": [ - 75, - 165, - 255, - 345 + 45, + 135, + 225, + 315 + ] + } + ], + "geometry": "g}bagA|ptnhFdy@uJhy@yJlp@}H|Gy@`o@uH`I_ApH}@dg@aGhGmCh@c@hCyCnB{B", + "duration": 88.00000000000001, + "distance": 546.9, + "name": "Hyde Street", + "weight": 170, + "mode": "driving", + "maneuver": { + "bearing_after": 170, + "location": [ + -122.415903, + 37.783524 + ], + "type": "turn", + "bearing_before": 80, + "modifier": "right", + "instruction": "Turn right onto Hyde Street" + } + }, + { + "intersections": [ + { + "out": 0, + "in": 1, + "entry": [ + true, + false ], + "location": [ + -122.414764, + 37.778721 + ], + "bearings": [ + 135, + 315 + ] + }, + { + "out": 1, + "in": 3, "entry": [ false, true, - true, + false, false ], - "in": 3 - }, + "location": [ + -122.414715, + 37.778681 + ], + "bearings": [ + 45, + 135, + 225, + 315 + ] + } + ], + "geometry": "aqy`gAvirnhFnAaBnMgQ~KiO~d@_o@bJuL", + "duration": 31.6, + "distance": 198.4, + "name": "8th Street", + "weight": 57.1, + "mode": "driving", + "maneuver": { + "bearing_after": 135, + "location": [ + -122.414764, + 37.778721 + ], + "type": "new name", + "bearing_before": 137, + "modifier": "straight", + "instruction": "Continue straight onto 8th Street" + } + }, + { + "intersections": [ { + "out": 2, + "in": 3, "lanes": [ { "valid": false, "indications": [ - "left" + "none" ] }, { - "valid": true, + "valid": false, "indications": [ "none" ] }, { - "valid": true, + "valid": false, "indications": [ "none" ] @@ -182,37 +295,49 @@ { "valid": true, "indications": [ - "none" + "right" ] } ], - "out": 1, + "entry": [ + true, + true, + true, + false + ], "location": [ - -122.420534, - 37.781023 + -122.413175, + 37.777455 ], "bearings": [ - 75, - 165, - 255, - 345 - ], + 45, + 135, + 225, + 315 + ] + }, + { + "out": 1, + "in": 0, "entry": [ - true, - true, false, - false + true, + true + ], + "location": [ + -122.414121, + 37.776706 ], - "in": 3 + "bearings": [ + 45, + 225, + 315 + ] }, { + "out": 2, + "in": 0, "lanes": [ - { - "valid": false, - "indications": [ - "left" - ] - }, { "valid": true, "indications": [ @@ -226,653 +351,327 @@ ] }, { - "valid": true, + "valid": false, "indications": [ - "none" + "right" ] } ], - "out": 1, + "entry": [ + false, + false, + true, + true + ], "location": [ - -122.420342, - 37.780077 + -122.414717, + 37.776233 ], "bearings": [ - 90, - 165, - 255, - 345 - ], + 45, + 135, + 225, + 315 + ] + }, + { + "out": 2, + "in": 0, "entry": [ + false, true, - true, - true, - false + true ], - "in": 3 - }, - { - "lanes": [ - { - "valid": false, - "indications": [ - "left" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - } - ], - "out": 1, "location": [ - -122.419972, - 37.778242 + -122.415147, + 37.775893 ], "bearings": [ - 75, - 165, - 255, - 345 - ], - "entry": [ - true, - true, - true, - false - ], - "in": 3 + 45, + 135, + 225 + ] }, { - "out": 1, - "location": [ - -122.419782, - 37.777295 - ], - "bearings": [ - 75, - 165, - 255, - 345 - ], + "out": 2, + "in": 0, "entry": [ false, - true, - true, - false - ], - "in": 3 - }, - { - "lanes": [ - { - "valid": false, - "indications": [ - "left" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - } - ], - "out": 1, - "location": [ - -122.419594, - 37.776367 - ], - "bearings": [ - 75, - 165, - 255, - 345 - ], - "entry": [ - true, - true, - true, - false - ], - "in": 3 - }, - { - "out": 0, - "location": [ - -122.419499, - 37.775895 - ], - "bearings": [ - 165, - 255, - 345 - ], - "entry": [ - true, false, - false - ], - "in": 2 - }, - { - "lanes": [ - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": false, - "indications": [ - "right" - ] - } + true ], - "out": 0, "location": [ - -122.419398, - 37.775431 + -122.415511, + 37.775604 ], "bearings": [ - 165, - 255, - 345 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + 45, + 135, + 225 + ] } ], - "geometry": "ouaagAzi~nhF`\\{DjW{C|C_@pC]v[yDtR_CdD_@zC_@f]cEfQuBvDe@tH}@tn@sHl[wD`R{BxH}@vDe@lt@uIjb@eFrUqCn\\}D~ZcE^ExH_AxGaAh@G", + "geometry": "}aw`gAlfonhFxm@bz@lP|TbKhNfTzY`QvUjSvX", + "duration": 53.2, + "distance": 342, + "name": "Mission Street", + "weight": 97.30000000000001, "mode": "driving", - "duration": 132.79999999999998, "maneuver": { - "bearing_after": 170, - "type": "turn", - "modifier": "left", - "bearing_before": 260, + "bearing_after": 223, "location": [ - -122.42091, - 37.782888 + -122.413175, + 37.777455 ], - "instruction": "Turn left onto Van Ness Avenue (US 101)" - }, - "ref": "US 101", - "weight": 132.79999999999998, - "distance": 876, - "name": "Van Ness Avenue (US 101)" + "type": "turn", + "bearing_before": 135, + "modifier": "right", + "instruction": "Turn right onto Mission Street" + } }, { "intersections": [ { - "lanes": [ - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": false, - "indications": [ - "right" - ] - } - ], - "out": 2, - "location": [ - -122.419329, - 37.775112 - ], - "bearings": [ - 30, - 45, - 165, - 225, - 345 - ], + "out": 1, + "in": 0, "entry": [ - false, false, true, true, false ], - "in": 4 - }, - { - "out": 0, "location": [ - -122.418876, - 37.773667 - ], - "bearings": [ - 165, - 195, - 345 - ], - "entry": [ - true, - true, - false - ], - "in": 2 - }, - { - "out": 1, - "location": [ - -122.418702, - 37.773081 + -122.415923, + 37.775278 ], "bearings": [ 45, - 165, + 135, 225, - 315, - 345 - ], + 315 + ] + }, + { + "out": 0, + "in": 2, "entry": [ - false, true, true, - false, false ], - "in": 4 - }, - { - "out": 1, "location": [ - -122.418631, - 37.772842 + -122.415384, + 37.774853 ], "bearings": [ - 30, - 165, - 210, - 345 - ], - "entry": [ - true, - true, - false, - false - ], - "in": 3 + 135, + 225, + 315 + ] }, { - "lanes": [ - { - "valid": true, - "indications": [ - "left" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - } - ], "out": 0, - "location": [ - -122.418496, - 37.772399 - ], - "bearings": [ - 165, - 315, - 345 - ], + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "lanes": [ - { - "valid": false, - "indications": [ - "left" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - }, - { - "valid": true, - "indications": [ - "none" - ] - } - ], - "out": 1, "location": [ - -122.41845, - 37.772238 + -122.414921, + 37.774485 ], "bearings": [ - 75, - 165, - 345 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + 135, + 225, + 315 + ] }, { "out": 1, - "location": [ - -122.418146, - 37.771238 - ], - "bearings": [ - 120, - 165, - 345 - ], + "in": 3, "entry": [ false, - true, - false - ], - "in": 2 - }, - { - "out": 1, - "location": [ - -122.418096, - 37.771089 - ], - "bearings": [ - 135, - 165, - 345 - ], - "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.418033, - 37.770901 + -122.414368, + 37.774043 ], "bearings": [ - 165, - 270, - 345 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + 45, + 135, + 225, + 315 + ] }, { - "out": 0, - "location": [ - -122.417948, - 37.770702 - ], - "bearings": [ - 150, - 240, - 345 - ], + "out": 1, + "in": 3, "entry": [ true, true, + false, false ], - "in": 2 - }, - { - "out": 1, "location": [ - -122.417737, - 37.770243 + -122.412834, + 37.77282 ], "bearings": [ - 0, - 180, - 285 - ], - "entry": [ - false, - true, - true - ], - "in": 0 + 45, + 135, + 225, + 315 + ] }, { "out": 1, - "location": [ - -122.417742, - 37.770207 - ], - "bearings": [ - 0, - 195, - 210, - 270 - ], + "in": 2, "entry": [ false, true, - true, false ], - "in": 0 - }, - { - "out": 2, "location": [ - -122.417804, - 37.769886 + -122.411897, + 37.772073 ], "bearings": [ - 15, - 105, - 195, - 285 - ], - "entry": [ - false, - false, - true, - true - ], - "in": 0 + 45, + 135, + 315 + ] }, { - "out": 2, - "location": [ - -122.417828, - 37.769759 - ], - "bearings": [ - 15, - 105, - 180, - 285 - ], + "out": 1, + "in": 3, "entry": [ false, true, true, false ], - "in": 0 + "location": [ + -122.411287, + 37.771587 + ], + "bearings": [ + 45, + 135, + 225, + 315 + ] } ], - "geometry": "oor`gA`g{nhFf@ItGw@fHuAbFiA~~@gTrc@{I|MmCzGuAxQwD`I{An}@_RhHcBlEcAhDy@lKiDjEgCnDyCtCgBdBk@pBGjDVfAH`SzB|Fn@bLr@vO`B", + "geometry": "{yr`gAdrtnhFpYu`@~U}[rZqa@d]yd@fm@ay@tm@qy@j]ce@bR{VpO_Sli@cr@", + "duration": 96.8, + "distance": 771.4, + "name": "10th Street", + "weight": 185.29999999999998, "mode": "driving", - "duration": 99.19999999999999, "maneuver": { - "bearing_after": 165, - "type": "new name", - "modifier": "straight", - "bearing_before": 170, + "bearing_after": 133, "location": [ - -122.419329, - 37.775112 + -122.415923, + 37.775278 ], - "instruction": "Continue straight onto South Van Ness Avenue (US 101)" - }, - "ref": "US 101", - "weight": 99.19999999999999, - "distance": 669.7, - "name": "South Van Ness Avenue (US 101)" + "type": "turn", + "bearing_before": 223, + "modifier": "left", + "instruction": "Turn left onto 10th Street" + } }, { "intersections": [ { - "out": 2, - "location": [ - -122.417903, - 37.769281 - ], - "bearings": [ - 15, - 180, - 210, - 345 + "out": 1, + "in": 4, + "lanes": [ + { + "valid": false, + "indications": [ + "left" + ] + }, + { + "valid": true, + "indications": [ + "left", + "slight left" + ] + }, + { + "valid": true, + "indications": [ + "slight left" + ] + }, + { + "valid": true, + "indications": [ + "straight", + "slight left" + ] + }, + { + "valid": false, + "indications": [ + "straight" + ] + } ], "entry": [ - false, true, true, - false - ], - "in": 0 - }, - { - "out": 0, - "location": [ - -122.415393, - 37.769522 - ], - "bearings": [ - 92, - 270, - 272 - ], - "entry": [ true, false, false ], - "in": 1 - }, - { - "out": 1, "location": [ - -122.40981, - 37.769161 + -122.409767, + 37.770337 ], "bearings": [ - 102, - 108, - 282 - ], + 45, + 90, + 135, + 225, + 315 + ] + } + ], + "geometry": "aei`gAlqhnhFd@{LdBqPlAcHhBqHvBcHbCoGxCiGpN}VpUwa@`KsPvYcc@`_@}j@~GmIzD{D~EkD`FkC~F_CbD}@fDu@tHqAlBH", + "maneuver": { + "bearing_after": 95, + "location": [ + -122.409767, + 37.770337 + ], + "type": "on ramp", + "bearing_before": 135, + "modifier": "slight left", + "instruction": "Take the ramp on the left towards US 101" + }, + "duration": 46.5, + "distance": 531.5, + "destinations": "US 101", + "name": "", + "weight": 93.5, + "mode": "driving" + }, + { + "intersections": [ + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.405473, 37.767261 @@ -881,16 +680,38 @@ 174, 353, 358 - ], + ] + } + ], + "maneuver": { + "bearing_after": 172, + "location": [ + -122.405473, + 37.767261 + ], + "type": "merge", + "bearing_before": 177, + "modifier": "slight right", + "instruction": "Merge right onto Central Freeway (US 101)" + }, + "duration": 6.8, + "distance": 136.5, + "name": "Central Freeway (US 101)", + "geometry": "ydc`gA`e`nhF|c@_DzLuA~WsE", + "ref": "US 101", + "weight": 13.6, + "mode": "driving" + }, + { + "intersections": [ + { + "out": 1, + "in": 2, "entry": [ - true, false, + true, false ], - "in": 1 - }, - { - "out": 1, "location": [ -122.405244, 37.766048 @@ -899,16 +720,16 @@ 0, 180, 345 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, true, - false + true ], - "in": 2 - }, - { - "out": 1, "location": [ -122.402999, 37.752554 @@ -917,16 +738,16 @@ 0, 180, 195 - ], + ] + }, + { + "out": 2, + "in": 1, "entry": [ false, - true, + false, true ], - "in": 0 - }, - { - "out": 2, "location": [ -122.404558, 37.746941 @@ -935,16 +756,16 @@ 0, 15, 195 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, - false, + true, true ], - "in": 1 - }, - { - "out": 1, "location": [ -122.408143, 37.739469 @@ -953,16 +774,16 @@ 5, 180, 187 - ], - "entry": [ - false, - true, - true - ], - "in": 0 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + false, + false + ], "location": [ -122.406401, 37.734438 @@ -971,16 +792,16 @@ 155, 332, 335 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.405674, 37.733191 @@ -989,16 +810,16 @@ 150, 180, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.403995, 37.730114 @@ -1007,16 +828,16 @@ 165, 330, 345 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.402483, 37.726603 @@ -1025,16 +846,16 @@ 163, 341, 346 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.401701, 37.724557 @@ -1043,16 +864,16 @@ 163, 168, 343 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.400278, 37.720955 @@ -1061,16 +882,16 @@ 165, 180, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.397974, 37.714805 @@ -1079,16 +900,16 @@ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.39554, 37.710237 @@ -1097,38 +918,37 @@ 165, 180, 345 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + ] } ], - "geometry": "acg`gA|mxnhFfGdCnCpBbC`ChB|CjAlDt@vEN`FSpEu@fEiAlDcBpCyB`CeCzAkCx@kC^iC?gCe@aCy@wBsAcB_BgBaCqA{Cy@qD_@}DKqDDmETuErA}Ox@cJf@gHdAoPr@yMh@aMXwMPiMDeMAwq@rCc~DHoIJaJNsIRqIZgI^}I`@uHj@mIt@iJ|@uJdGwq@pJ_l@xAgKnAsKjAyLn@gJj@eKb@eLj@iL`AeLtA_LnBmK|BaJrB}G|BsGtCmHxAcD|AcDlBsDdBwCbCuDrCaEfD}D|DuDrEaDrFmCzCgAnD_A~GkAvBS|c@_DzLuA~WsEzqA}FvJ]`IAtKF`K\\dKv@vJhAvJ|A`KzBbJjCnJdDzIxD|InEvIlE~\\|QhHlDhInDnHjCbIzBdI`B`IjA~Hr@dIZpIBjIWrIq@dJqA`JgBfJqCfIcDzImEzH{EhIiGdImHbHyHdHeJpG_JfGoJtN_UfF{H`GmIlF{GxFmG|FkF~F_FvGqE`HyDtIyDjIsCjIwB~IaBfJiAdK{@dKm@vJc@pbCqK~Ni@rO]rNKdN\\lOp@pNnAzOjBvLnBnL~B`nAzWlcBp^~nAbX|_Bl]rNdDrOrEbN`FlMbG~MhH`MdIfMdJz_Apu@xFhEbFvD|MxInN`IfN`HnN|FhPjFvMlDfQlDfOjCjPnBlPtApUrA`OXlOGrOWrOm@tO}@hMyAbOwBtOqCnOkDnNuDrMgE`MqEzMqFlOiHvJiEdWgM|w@{_@pYwNjr@u\\tm@w\\zQ{IfRuIxVsKrQoHhTqIl^aNhK{DvYcKxVqIzVgHl`Ag[xHaCvdAg]|hAk[|t@oSzb@eMfYyId{Age@n^{Jhf@yLdP_E`QwDnz@sOdk@wJtKoBdvAgWxMgChNgD~NeE`N}EbUaJjOyH|MkH`NyIzNmKxN{Kjw@in@dMqIxLkHbMaHvLuG|L{FfL{E~NiFhMwDtNoDdNsCzMsB~UkDd^iF`l@_Iva@qFv_@cFvEo@", - "mode": "driving", - "duration": 437.30000000000007, "maneuver": { - "bearing_after": 202, - "type": "off ramp", - "modifier": "straight", - "bearing_before": 187, + "bearing_after": 174, "location": [ - -122.417903, - 37.769281 + -122.405244, + 37.766048 ], - "instruction": "Take the ramp onto US 101" + "type": "merge", + "bearing_before": 167, + "modifier": "slight left", + "instruction": "Merge left onto James Lick Freeway (US 101)" }, + "duration": 287.70000000000005, + "distance": 6830.6, + "name": "James Lick Freeway (US 101)", + "geometry": "_y``gAvv_nhFzqA}FvJ]`IAtKF`K\\dKv@vJhAvJ|A`KzBbJjCnJdDzIxD|InEvIlE~\\|QhHlDhInDnHjCbIzBdI`B`IjA~Hr@dIZpIBjIWrIq@dJqA`JgBfJqCfIcDzImEzH{EhIiGdImHbHyHdHeJpG_JfGoJtN_UfF{H`GmIlF{GxFmG|FkF~F_FvGqE`HyDtIyDjIsCjIwB~IaBfJiAdK{@dKm@vJc@pbCqK~Ni@rO]rNKdN\\lOp@pNnAzOjBvLnBnL~B`nAzWlcBp^~nAbX|_Bl]rNdDrOrEbN`FlMbG~MhH`MdIfMdJz_Apu@xFhEbFvD|MxInN`IfN`HnN|FhPjFvMlDfQlDfOjCjPnBlPtApUrA`OXlOGrOWrOm@tO}@hMyAbOwBtOqCnOkDnNuDrMgE`MqEzMqFlOiHvJiEdWgM|w@{_@pYwNjr@u\\tm@w\\zQ{IfRuIxVsKrQoHhTqIl^aNhK{DvYcKxVqIzVgHl`Ag[xHaCvdAg]|hAk[|t@oSzb@eMfYyId{Age@n^{Jhf@yLdP_E`QwDnz@sOdk@wJtKoBdvAgWxMgChNgD~NeE`N}EbUaJjOyH|MkH`NyIzNmKxN{Kjw@in@dMqIxLkHbMaHvLuG|L{FfL{E~NiFhMwDtNoDdNsCzMsB~UkDd^iF`l@_Iva@qFv_@cFvEo@", "ref": "US 101", - "weight": 437.30000000000007, - "distance": 8418.6, - "name": "US 101" + "weight": 575.4000000000001, + "mode": "driving" }, { "intersections": [ { "out": 0, + "in": 1, + "entry": [ + true, + false + ], "location": [ -122.395121, 37.708328 @@ -1136,15 +956,16 @@ "bearings": [ 165, 345 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, + false, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.393825, 37.702429 @@ -1153,16 +974,16 @@ 170, 347, 350 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.391826, 37.693636 @@ -1171,16 +992,16 @@ 165, 180, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.3906, 37.688244 @@ -1189,16 +1010,16 @@ 170, 345, 350 - ], - "entry": [ - true, - false, - false - ], - "in": 2 + ] }, { "out": 1, + "in": 0, + "entry": [ + false, + true, + true + ], "location": [ -122.392891, 37.669787 @@ -1207,16 +1028,16 @@ 30, 210, 225 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, true, true ], - "in": 0 - }, - { - "out": 1, "location": [ -122.395051, 37.667539 @@ -1225,16 +1046,16 @@ 30, 210, 225 - ], + ] + }, + { + "out": 2, + "in": 1, "entry": [ false, - true, + false, true ], - "in": 0 - }, - { - "out": 2, "location": [ -122.39982, 37.663398 @@ -1243,16 +1064,16 @@ 46, 51, 231 - ], + ] + }, + { + "out": 2, + "in": 1, "entry": [ false, false, true ], - "in": 1 - }, - { - "out": 2, "location": [ -122.403926, 37.660623 @@ -1261,16 +1082,16 @@ 30, 45, 225 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, - false, + true, true ], - "in": 1 - }, - { - "out": 1, "location": [ -122.405731, 37.65805 @@ -1279,16 +1100,16 @@ 15, 195, 210 - ], - "entry": [ - false, - true, - true - ], - "in": 0 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], "location": [ -122.406979, 37.651445 @@ -1297,16 +1118,16 @@ 176, 181, 356 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ - true, + false, true, false ], - "in": 2 - }, - { - "out": 1, "location": [ -122.406419, 37.64457 @@ -1315,16 +1136,16 @@ 0, 180, 345 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, true, - false + true ], - "in": 0 - }, - { - "out": 1, "location": [ -122.406082, 37.641332 @@ -1333,16 +1154,16 @@ 0, 165, 195 - ], - "entry": [ - false, - true, - true - ], - "in": 0 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], "location": [ -122.405024, 37.63824 @@ -1351,16 +1172,16 @@ 150, 165, 345 - ], + ] + }, + { + "out": 1, + "in": 2, "entry": [ - true, + false, true, false ], - "in": 2 - }, - { - "out": 1, "location": [ -122.402719, 37.630324 @@ -1369,16 +1190,16 @@ 0, 180, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ - false, true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.401464, 37.62492 @@ -1387,16 +1208,16 @@ 166, 341, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.398689, 37.616736 @@ -1405,16 +1226,16 @@ 164, 342, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.394473, 37.611514 @@ -1423,16 +1244,16 @@ 135, 300, 315 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.391675, 37.609715 @@ -1441,16 +1262,16 @@ 128, 308, 309 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.384799, 37.605291 @@ -1459,16 +1280,16 @@ 129, 134, 309 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.378646, 37.601292 @@ -1477,16 +1298,16 @@ 135, 300, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.376557, 37.599922 @@ -1495,16 +1316,16 @@ 135, 300, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.364079, 37.591793 @@ -1513,16 +1334,16 @@ 130, 136, 309 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.357438, 37.587965 @@ -1531,16 +1352,16 @@ 105, 285, 300 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.325833, 37.581641 @@ -1549,16 +1370,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.322934, 37.578971 @@ -1567,16 +1388,16 @@ 139, 314, 319 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.316743, 37.573261 @@ -1585,16 +1406,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.310821, 37.567812 @@ -1603,16 +1424,16 @@ 139, 316, 319 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.302578, 37.560185 @@ -1621,16 +1442,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.293655, 37.550567 @@ -1639,16 +1460,16 @@ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.293005, 37.549875 @@ -1657,16 +1478,16 @@ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, false, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.292169, 37.548986 @@ -1675,16 +1496,16 @@ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.291949, 37.548743 @@ -1693,16 +1514,16 @@ 144, 149, 324 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.286169, 37.542512 @@ -1711,16 +1532,16 @@ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.283856, 37.53998 @@ -1729,16 +1550,16 @@ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.273979, 37.529546 @@ -1747,16 +1568,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.262626, 37.51954 @@ -1765,16 +1586,16 @@ 138, 313, 318 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.260906, 37.518025 @@ -1783,16 +1604,16 @@ 138, 141, 318 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.247718, 37.506343 @@ -1801,16 +1622,16 @@ 138, 314, 318 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.242977, 37.502159 @@ -1819,16 +1640,16 @@ 138, 315, 318 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.239937, 37.499488 @@ -1837,16 +1658,16 @@ 137, 142, 317 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.231907, 37.495907 @@ -1855,16 +1676,16 @@ 110, 284, 290 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.228972, 37.495072 @@ -1873,16 +1694,16 @@ 110, 283, 290 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.218915, 37.491223 @@ -1891,16 +1712,16 @@ 120, 135, 300 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.205884, 37.487457 @@ -1909,16 +1730,16 @@ 105, 270, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.185632, 37.484733 @@ -1927,16 +1748,16 @@ 106, 110, 286 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.179679, 37.482856 @@ -1945,16 +1766,16 @@ 120, 285, 300 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.177095, 37.481497 @@ -1963,16 +1784,16 @@ 126, 302, 307 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.158395, 37.470605 @@ -1981,16 +1802,17 @@ 120, 135, 300 - ], + ] + }, + { + "out": 0, + "in": 3, "entry": [ true, true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.155045, 37.468654 @@ -2000,17 +1822,16 @@ 137, 297, 306 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ - true, true, false, false ], - "in": 3 - }, - { - "out": 0, "location": [ -122.152581, 37.467179 @@ -2019,16 +1840,16 @@ 126, 305, 307 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.144516, 37.462442 @@ -2037,16 +1858,16 @@ 120, 135, 300 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.136462, 37.457738 @@ -2055,16 +1876,16 @@ 126, 304, 306 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.12693, 37.452112 @@ -2073,16 +1894,16 @@ 131, 141, 309 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.118132, 37.444081 @@ -2091,16 +1912,16 @@ 140, 317, 320 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.103307, 37.429953 @@ -2109,16 +1930,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.101751, 37.428459 @@ -2127,16 +1948,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.092643, 37.42097 @@ -2145,16 +1966,16 @@ 135, 300, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.09244, 37.420823 @@ -2163,16 +1984,16 @@ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.089184, 37.418478 @@ -2181,16 +2002,16 @@ 133, 309, 312 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.081848, 37.413404 @@ -2199,16 +2020,16 @@ 122, 293, 304 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.081263, 37.413111 @@ -2217,16 +2038,16 @@ 120, 135, 300 - ], + ] + }, + { + "out": 1, + "in": 2, "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 1, "location": [ -122.078361, 37.411892 @@ -2235,16 +2056,16 @@ 105, 120, 300 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.076323, 37.411054 @@ -2253,16 +2074,16 @@ 118, 124, 297 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.067607, 37.407809 @@ -2271,16 +2092,16 @@ 106, 282, 286 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.067189, 37.407713 @@ -2289,16 +2110,16 @@ 105, 110, 286 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.062594, 37.406712 @@ -2307,16 +2128,16 @@ 105, 281, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.056615, 37.405407 @@ -2325,16 +2146,16 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.047017, 37.403049 @@ -2343,16 +2164,16 @@ 105, 280, 286 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.036066, 37.400658 @@ -2361,16 +2182,17 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 3, "entry": [ true, true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.031971, 37.399731 @@ -2380,17 +2202,16 @@ 109, 282, 286 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ - true, true, false, false ], - "in": 3 - }, - { - "out": 0, "location": [ -122.027075, 37.398693 @@ -2399,16 +2220,16 @@ 105, 279, 286 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.024811, 37.398202 @@ -2417,16 +2238,16 @@ 105, 280, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.017288, 37.396552 @@ -2435,16 +2256,16 @@ 105, 111, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.012976, 37.395607 @@ -2453,16 +2274,16 @@ 105, 270, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.012709, 37.395542 @@ -2471,16 +2292,16 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.008838, 37.394702 @@ -2489,16 +2310,16 @@ 107, 280, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.000135, 37.392318 @@ -2507,16 +2328,16 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.994151, 37.390522 @@ -2525,16 +2346,16 @@ 111, 284, 291 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.991164, 37.389654 @@ -2543,16 +2364,16 @@ 110, 282, 290 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.983628, 37.387548 @@ -2561,16 +2382,16 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.974838, 37.385032 @@ -2579,16 +2400,16 @@ 110, 287, 290 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.972437, 37.384341 @@ -2597,16 +2418,16 @@ 105, 270, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.968441, 37.383197 @@ -2615,16 +2436,16 @@ 105, 135, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.957291, 37.380021 @@ -2633,16 +2454,16 @@ 110, 284, 290 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.945834, 37.377446 @@ -2651,16 +2472,16 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.941787, 37.376663 @@ -2669,16 +2490,16 @@ 105, 270, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.941568, 37.376623 @@ -2687,16 +2508,16 @@ 105, 120, 285 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + false, + false + ], "location": [ -121.938604, 37.376047 @@ -2705,93 +2526,73 @@ 105, 270, 285 - ], - "entry": [ - true, - false, - false - ], - "in": 2 + ] } ], - "geometry": "oap|fA`~kmhF||@mLrcBwSbmEym@pdP}{B~oIskAddKowA|i@oIpv@sLvXkE`XkDrUeCvVeBxPc@~RO`RNjSb@xSrApS~BtRxC|P|CzQrEzTzGzSlHrP|FfR~GbQxGjRvHfQjHnChAbd@lTvSpKrMbHnMfHhMvH`MxH|LdIjMvIjLhI|LbJlL|IzLlJdLfJpLzJ`L|JpNtMnkC~eCzr@zp@b`@z^vKfKnKjK`KrKpKpLtLzMlJfLvJbM`K`NvI~L~IrMxIhNpIrN|IhOfItNtIrO|oBdoDjI~NxJzOnJhNhKnNnMvOpLfMhMrLxNvL|LhJpMlIrL~G`NdH`NfGlNzFl\\bNjlArf@|NzFxNfFhOnErOxDlO|CnPrC`NdBlOzAdNbAdOx@jN\\zNRfPAfO[`Pi@taAyDlXcAjqAeFrRu@fw@{CrSy@xyFmR`vCsLhr@mFjKaA`YuDr\\_G~YiGxRkFrVoHdYsJp[qLdyAco@hWmJhSaHjT}G~QkFzPiE~RmEvSaE~RaDdTwCpSaCdTiBx]{Bty@uEnwAqKftAsHvXuBbZeD`\\uEdU{DfWqFtaAgUbl@yNhKw@fZiG`wDy~@hqAa[~gDyw@`h@qLxF{ApUiGfXwIhZwLxXmMhZmPdWmP~XyS|VkT~SoQ`VwVnSyU|SeXne@}o@loB{mDpzAiqC~[uh@fp@qgAtiBehDhuB{uDrbCuhErtAqaCpn@mgAteAwiB~u@_sAlxEslI~o@mlA~Vkd@jk@gcA~{Bg~DbRy\\xP_\\dQa^vOo_@zMk_@jM{`@bLeb@`T_gAzHsk@~Fcj@`De_@jCkc@bB}f@r@ef@Rme@tAyqB~FgmHnDcrElDmwEjEi_Fl@yr@nB}e@tBoXxEe`@nG}^fJs_@pLy^tN{\\`OyXpPiVxPwSrk@io@~wCseDzeDetDfhDqvDrzDkjEpcAwiA~nGkfHngE_xEjlEm|Ef`@ac@|Zg]rHmI|TiUfVoT`YkVlxAwlAh^_[vn@sk@ht@_q@j^y[|a@k`@lt@ms@jZcYj\\eZpbCeyBfj@sg@pv@gs@dNwLhlDy~Cb_Au|@rh@ae@jmBudBl`@_^bNaMnN_M|x@is@fc@e`@vcCsyBrcFurEhR{PpwBqnBxTaSfTiSdW}V`UqUdSaTdT}UdSuUtl@qr@|sDwmE|oDqgEtnBm}BbmBg{Bva@gf@|z@gcA|pAm{AbYw\\pc@kh@x|AciBha@me@~dBirBpjByxB~y@q`Ax{DmtE~iA}sAtlAawAxkBizBfqAc{Azn@yu@xc@aj@tPmS~O}SlO{TbOoVnMcVpM{WpCsGzBiFzEcLbM_]hJoXfIyXfIi[xGyZjGkZ`p@glDds@mvDzPq}@vGa^lHq_@~FyXbGgX~F{V|Jq`@lH}XzIw[~IsZhJgZjJiYjKk[`eBsdFvp@anBzJiZtJiZdJwZzI{ZdE{ObCgJjD{MzCmL`I_\\fGmXtGiZhHm^fEqTbGo\\pF}[lF_]|Ey\\nEy\\bEg]|Dc]hDc]`Dq]vCo]bLieBzuBa_]xB{]fCw_@`Cm]jCk]|Cy]hDc]tD_]xDi]jEy\\vEe]fEsZnFq\\rFm\\~Fo\\nGa\\tG_\\zG{[jH{[vHw[`Ia[fIwZ~I}ZlJsZ~JcZpKqYfLoYpLwXjMqXlMwWvCgDptEesJfq@}uAxxBkpEpzFijLpj@}gA|xBkpEbuAqrC`EmExiEm{If|AszCxhBuuDh~CmnGz[gp@htH{mOfGkMjPg[tOgYhSg\\dK{OfPqUpPyTbQ_TpQkS`iEksE|cByhB|}AybBbz@w|@l_EsiEhIwI`yD_bEvkHszHnG}Gx|B{bCpf@mh@xt@yv@rxBa_CjXqY~WwYlVcYzUiYtWw\\lVy\\|Zqd@h[gf@jpCafEdHuKdvAqxBjz@}pAt}B}lDhcBaiClJcObIuMjI}NlNaWzMaXjMkXnLgXzK}XlDsIjRqk@xw@ygCjs@k~Bvg@gaBx_BulFxFcSxFySxFcTzEgStEoSxE{UfDqQrDySbDiSlDmV~DcYrLm~@|o@w~Eth@}}Dzf@wuDxHgi@pImj@tJcj@fc@e`CnMev@~Hwg@lHwh@xGkf@hc@ycDpsBwuOhNkdApPioA|x@}~F`v@qdGxHmk@t]olCbfBeuM`z@olG`CuOns@}pFhUuyAzo@iqDxlA}qGd`@arBd]}`Bzo@_`DjIga@xR{bA`WqsAdNos@nTgjAf[acBtaAerFhlBg~J|n@ceDdj@auCfaAmeFfDiRfjAkgGvkAskGnm@{bDv`@cvBpUswAvb@odDpb@amDh`@wgD|o@}{FnAuL~b@gxDncAokIpL_x@`A{F", - "mode": "driving", - "duration": 2382.800000000001, "maneuver": { "bearing_after": 170, - "type": "new name", - "modifier": "straight", - "bearing_before": 168, "location": [ -122.395121, 37.708328 ], + "type": "new name", + "bearing_before": 168, + "modifier": "straight", "instruction": "Continue straight onto Bayshore Freeway (US 101)" }, - "ref": "US 101", - "weight": 2481.2000000000016, + "duration": 2298.2000000000007, "distance": 61959, - "name": "Bayshore Freeway (US 101)" + "name": "Bayshore Freeway (US 101)", + "geometry": "oap|fA`~kmhF||@mLrcBwSbmEym@pdP}{B~oIskAddKowA|i@oIpv@sLvXkE`XkDrUeCvVeBxPc@~RO`RNjSb@xSrApS~BtRxC|P|CzQrEzTzGzSlHrP|FfR~GbQxGjRvHfQjHnChAbd@lTvSpKrMbHnMfHhMvH`MxH|LdIjMvIjLhI|LbJlL|IzLlJdLfJpLzJ`L|JpNtMnkC~eCzr@zp@b`@z^vKfKnKjK`KrKpKpLtLzMlJfLvJbM`K`NvI~L~IrMxIhNpIrN|IhOfItNtIrO|oBdoDjI~NxJzOnJhNhKnNnMvOpLfMhMrLxNvL|LhJpMlIrL~G`NdH`NfGlNzFl\\bNjlArf@|NzFxNfFhOnErOxDlO|CnPrC`NdBlOzAdNbAdOx@jN\\zNRfPAfO[`Pi@taAyDlXcAjqAeFrRu@fw@{CrSy@xyFmR`vCsLhr@mFjKaA`YuDr\\_G~YiGxRkFrVoHdYsJp[qLdyAco@hWmJhSaHjT}G~QkFzPiE~RmEvSaE~RaDdTwCpSaCdTiBx]{Bty@uEnwAqKftAsHvXuBbZeD`\\uEdU{DfWqFtaAgUbl@yNhKw@fZiG`wDy~@hqAa[~gDyw@`h@qLxF{ApUiGfXwIhZwLxXmMhZmPdWmP~XyS|VkT~SoQ`VwVnSyU|SeXne@}o@loB{mDpzAiqC~[uh@fp@qgAtiBehDhuB{uDrbCuhErtAqaCpn@mgAteAwiB~u@_sAlxEslI~o@mlA~Vkd@jk@gcA~{Bg~DbRy\\xP_\\dQa^vOo_@zMk_@jM{`@bLeb@`T_gAzHsk@~Fcj@`De_@jCkc@bB}f@r@ef@Rme@tAyqB~FgmHnDcrElDmwEjEi_Fl@yr@nB}e@tBoXxEe`@nG}^fJs_@pLy^tN{\\`OyXpPiVxPwSrk@io@~wCseDzeDetDfhDqvDrzDkjEpcAwiA~nGkfHngE_xEjlEm|Ef`@ac@|Zg]rHmI|TiUfVoT`YkVlxAwlAh^_[vn@sk@ht@_q@j^y[|a@k`@lt@ms@jZcYj\\eZpbCeyBfj@sg@pv@gs@dNwLhlDy~Cb_Au|@rh@ae@jmBudBl`@_^bNaMnN_M|x@is@fc@e`@vcCsyBrcFurEhR{PpwBqnBxTaSfTiSdW}V`UqUdSaTdT}UdSuUtl@qr@|sDwmE|oDqgEtnBm}BbmBg{Bva@gf@|z@gcA|pAm{AbYw\\pc@kh@x|AciBha@me@~dBirBpjByxB~y@q`Ax{DmtE~iA}sAtlAawAxkBizBfqAc{Azn@yu@xc@aj@tPmS~O}SlO{TbOoVnMcVpM{WpCsGzBiFzEcLbM_]hJoXfIyXfIi[xGyZjGkZ`p@glDds@mvDzPq}@vGa^lHq_@~FyXbGgX~F{V|Jq`@lH}XzIw[~IsZhJgZjJiYjKk[`eBsdFvp@anBzJiZtJiZdJwZzI{ZdE{ObCgJjD{MzCmL`I_\\fGmXtGiZhHm^fEqTbGo\\pF}[lF_]|Ey\\nEy\\bEg]|Dc]hDc]`Dq]vCo]bLieBzuBa_]xB{]fCw_@`Cm]jCk]|Cy]hDc]tD_]xDi]jEy\\vEe]fEsZnFq\\rFm\\~Fo\\nGa\\tG_\\zG{[jH{[vHw[`Ia[fIwZ~I}ZlJsZ~JcZpKqYfLoYpLwXjMqXlMwWvCgDptEesJfq@}uAxxBkpEpzFijLpj@}gA|xBkpEbuAqrC`EmExiEm{If|AszCxhBuuDh~CmnGz[gp@htH{mOfGkMjPg[tOgYhSg\\dK{OfPqUpPyTbQ_TpQkS`iEksE|cByhB|}AybBbz@w|@l_EsiEhIwI`yD_bEvkHszHnG}Gx|B{bCpf@mh@xt@yv@rxBa_CjXqY~WwYlVcYzUiYtWw\\lVy\\|Zqd@h[gf@jpCafEdHuKdvAqxBjz@}pAt}B}lDhcBaiClJcObIuMjI}NlNaWzMaXjMkXnLgXzK}XlDsIjRqk@xw@ygCjs@k~Bvg@gaBx_BulFxFcSxFySxFcTzEgStEoSxE{UfDqQrDySbDiSlDmV~DcYrLm~@|o@w~Eth@}}Dzf@wuDxHgi@pImj@tJcj@fc@e`CnMev@~Hwg@lHwh@xGkf@hc@ycDpsBwuOhNkdApPioA|x@}~F`v@qdGxHmk@t]olCbfBeuM`z@olG`CuOns@}pFhUuyAzo@iqDxlA}qGd`@arBd]}`Bzo@_`DjIga@xR{bA`WqsAdNos@nTgjAf[acBtaAerFhlBg~J|n@ceDdj@auCfaAmeFfDiRfjAkgGvkAskGnm@{bDv`@cvBpUswAvb@odDpb@amDh`@wgD|o@}{FnAuL~b@gxDncAokIpL_x@`A{F", + "ref": "US 101", + "weight": 4596.500000000001, + "mode": "driving" }, { "intersections": [ { "out": 1, - "location": [ - -121.932246, - 37.374701 - ], - "bearings": [ - 106, - 111, - 287 - ], + "in": 2, "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -121.93041, - 37.37413 + -121.932246, + 37.374701 ], "bearings": [ 105, + 120, 285 - ], - "entry": [ - true, - false - ], - "in": 1 + ] } ], - "geometry": "ymdhfAj|cqgFtb@wqBzQu_AbLy^|GgNjGcLhSeWlZoVpM_GnRwFvo@aPnXoI~NqEfS{IzGiA", - "mode": "driving", - "destinations": "CA 87: Guadalupe Parkway", - "duration": 41.5, + "geometry": "ymdhfAj|cqgF`L{]nMa{@dFyVxRu_AbLy^|GgNjGcLhSeWtLmLvLaIjFoCdFoBfIkCfHkBvo@aPnXoI~NqEfS{I~G_D", "maneuver": { - "bearing_after": 111, - "type": "off ramp", - "modifier": "slight right", - "bearing_before": 106, + "bearing_after": 116, "location": [ -121.932246, 37.374701 ], - "instruction": "Take the ramp on the right towards CA 87: Guadalupe Parkway" + "type": "off ramp", + "bearing_before": 106, + "modifier": "slight right", + "instruction": "Take the ramp on the right towards CA 87 South" }, - "weight": 41.5, - "distance": 769.6, - "name": "" + "duration": 67.8, + "distance": 771.7, + "destinations": "CA 87 South", + "name": "", + "weight": 135.6, + "mode": "driving" }, { "intersections": [ { + "out": 0, + "in": 2, "lanes": [ { "valid": true, @@ -2806,25 +2607,29 @@ ] } ], - "out": 0, - "location": [ - -121.92664, - 37.370122 - ], - "bearings": [ - 150, - 330, - 345 - ], "entry": [ true, false, false ], - "in": 2 + "location": [ + -121.926597, + 37.37012 + ], + "bearings": [ + 150, + 300, + 330 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], "location": [ -121.923722, 37.367884 @@ -2833,34 +2638,66 @@ 128, 138, 308 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 + "location": [ + -121.915678, + 37.359877 + ], + "bearings": [ + 150, + 315, + 330 + ] }, { "out": 0, + "in": 1, + "entry": [ + true, + false + ], "location": [ - -121.91516, - 37.359204 + -121.913941, + 37.357568 ], "bearings": [ - 149, - 327, - 329 - ], + 150, + 330 + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, - false, false ], - "in": 2 + "location": [ + -121.913136, + 37.356488 + ], + "bearings": [ + 150, + 330 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], "location": [ -121.908322, 37.349121 @@ -2869,73 +2706,69 @@ 135, 150, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -121.901482, - 37.342813 + -121.901664, + 37.343143 ], "bearings": [ 150, 330, 345 - ], - "entry": [ - true, - false, - false - ], - "in": 1 + ] } ], - "geometry": "so{gfA~}xpgFzOyNnRoOdVqXzLmQbDiGhKqQ|Vie@`X{g@dkAw{B~NcXhPoWlRmXfSeW|UcXpTcTtYmVf[oUnWmQjlGogEfeBekAnbAiq@htAq~@lf@{Zzp@y`@ne@_Ujo@uYpfB}v@r[iPj`@gWj`@m\\ra@}f@`We`@j_@c{@zSsh@nT_g@hPkZ~PuVxNmRrNwPfO}NjO{Mra@}Zp_Aab@f}@q]~g@uWhbCcyAxH}E", - "mode": "driving", - "duration": 162.7, "maneuver": { - "bearing_after": 142, - "type": "new name", - "modifier": "slight left", - "bearing_before": 168, + "bearing_after": 150, "location": [ - -121.92664, - 37.370122 + -121.926597, + 37.37012 ], - "instruction": "Continue slightly left onto Guadalupe Parkway (CA 87)" + "type": "new name", + "bearing_before": 156, + "modifier": "straight", + "instruction": "Continue straight onto Guadalupe Freeway (CA 87)" }, + "duration": 155.29999999999998, + "distance": 4074.4, + "name": "Guadalupe Freeway (CA 87)", + "geometry": "oo{gfAh{xpgF|NgJrJ{HtGoGfK_L|IqKzLmQbDiGhKqQ|Vie@`X{g@dkAw{B~NcXhPoWlRmXfSeW|UcXpTcTtYmVf[oUnWmQhbFcgDhoCqkBnbAiq@htAq~@lf@{Zzp@y`@ne@_Ujo@uYpfB}v@hMcGhMeH`P}JhOiKj`@m\\ra@}f@~JuOzI_OtJwQhJcSpIwTzSsh@nT_g@hPkZ~PuVxNmRrNwPfO}NjO{MnKcI~JaHtIaFxKuGdRcJ~^aOrh@aSj]oOlSmKxIcF~pA}v@", "ref": "CA 87", - "weight": 162.7, - "distance": 4197, - "name": "Guadalupe Parkway (CA 87)" + "weight": 311, + "mode": "driving" }, { "intersections": [ { "out": 1, + "in": 2, + "entry": [ + true, + true, + false + ], "location": [ - -121.899534, - 37.339899 + -121.900192, + 37.340845 ], "bearings": [ 150, 165, 330 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + ] }, { + "out": 1, + "in": 3, "lanes": [ { "valid": true, @@ -2957,7 +2790,12 @@ ] } ], - "out": 1, + "entry": [ + false, + true, + true, + false + ], "location": [ -121.898785, 37.336552 @@ -2967,16 +2805,11 @@ 150, 240, 345 - ], - "entry": [ - false, - true, - true, - false - ], - "in": 3 + ] }, { + "out": 1, + "in": 3, "lanes": [ { "valid": false, @@ -2998,7 +2831,12 @@ ] } ], - "out": 1, + "entry": [ + true, + true, + false, + false + ], "location": [ -121.898691, 37.336402 @@ -3008,38 +2846,38 @@ 150, 240, 330 - ], - "entry": [ - true, - true, - false, - false - ], - "in": 3 + ] } ], - "geometry": "un`ffAz_dogFz`Aq^hF{B|GaB|HcAxKKlIp@lOzC|Dh@hKtAzFh@`FDvHy@bG{AjKaEfFuBvEiBjH{DtEkB~s@ci@|D}E", - "mode": "driving", - "duration": 68.7, + "geometry": "yibffA~heogF|Hu@lp@ca@zLsGvr@g[hF{B|GaB|HcAxKKlIp@lOzC|Dh@hKtAzFh@`FDvHy@bG{AjKaEfFuBvEiBjH{DtEkB~s@ci@|D}E", "maneuver": { - "bearing_after": 158, - "type": "off ramp", - "modifier": "slight right", - "bearing_before": 150, + "bearing_after": 171, "location": [ - -121.899534, - 37.339899 + -121.900192, + 37.340845 ], - "instruction": "Take the ramp on the right" + "type": "off ramp", + "bearing_before": 150, + "modifier": "slight right", + "instruction": "Take the ramp on the right towards Julian Street" }, - "weight": 68.7, - "distance": 545.7, - "name": "" + "duration": 71.9, + "distance": 666.4, + "destinations": "Julian Street, Saint James Street", + "name": "", + "weight": 137.2, + "mode": "driving" }, { "intersections": [ { "out": 1, + "in": 2, + "entry": [ + true, + true, + false + ], "location": [ -121.897852, 37.335352 @@ -3048,37 +2886,38 @@ 105, 240, 315 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + ] } ], - "geometry": "orwefAvv`ogFjUhk@vDzJtFlOv@`CdJrWlCvIfWpp@", + "geometry": "orwefAvv`ogFjUhk@vDzJtFlOv@`CdJrWlCvItShi@pBfF", + "duration": 42.1, + "distance": 267.1, + "name": "West Saint John Street", + "weight": 82.2, "mode": "driving", - "duration": 46.8, "maneuver": { "bearing_after": 236, - "type": "turn", - "modifier": "right", - "bearing_before": 136, "location": [ -121.897852, 37.335352 ], + "type": "turn", + "bearing_before": 136, + "modifier": "right", "instruction": "Turn right onto West Saint John Street" - }, - "weight": 46.8, - "distance": 267.1, - "name": "West Saint John Street" + } }, { "intersections": [ { "out": 1, + "in": 0, + "entry": [ + false, + true, + true, + true + ], "location": [ -121.900438, 37.334113 @@ -3088,33 +2927,26 @@ 165, 240, 315 - ], - "entry": [ - false, - true, - true, - true - ], - "in": 0 + ] } ], - "geometry": "aeuefAjxeogFhNoBla@sA", + "geometry": "aeuefAjxeogFpFi@vFeAla@sA", + "duration": 13.4, + "distance": 89.1, + "name": "North Autumn Street", + "weight": 26.8, "mode": "driving", - "duration": 14.6, "maneuver": { - "bearing_after": 168, - "type": "turn", - "modifier": "left", - "bearing_before": 237, + "bearing_after": 171, "location": [ -121.900438, 37.334113 ], + "type": "turn", + "bearing_before": 237, + "modifier": "left", "instruction": "Turn left onto North Autumn Street" - }, - "weight": 14.6, - "distance": 89.1, - "name": "North Autumn Street" + } }, { "intersections": [ @@ -3123,60 +2955,45 @@ "entry": [ true ], - "bearings": [ - 357 - ], "location": [ -121.90034, 37.333317 + ], + "bearings": [ + 357 ] } ], "geometry": "issefAfreogF", - "mode": "driving", "duration": 0, + "distance": 0, + "name": "North Autumn Street", + "weight": 0, + "mode": "driving", "maneuver": { "bearing_after": 0, - "type": "arrive", - "modifier": "left", - "bearing_before": 177, "location": [ -121.90034, 37.333317 ], + "type": "arrive", + "bearing_before": 177, + "modifier": "left", "instruction": "You have arrived at your destination, on the left" - }, - "weight": 0, - "distance": 0, - "name": "North Autumn Street" + } } ], - "distance": 78167.9, - "duration": 3535.2, + "weight": 6524.2, + "distance": 77254.7, "summary": "Bayshore Freeway, Bayshore Freeway", - "weight": 3633.6 + "duration": 3282.8 } ], - "distance": 78167.9, - "duration": 3535.2, "weight_name": "routability", - "weight": 3633.6 - } - ], - "waypoints": [ - { - "name": "Eddy Street", - "location": [ - -122.416686, - 37.783425 - ] - }, - { - "name": "North Autumn Street", - "location": [ - -121.90034, - 37.333317 - ] + "geometry": "awbagAzavnhFd|Nun@|fN{iSnr\\}zC`tZ~{H~vrBsge@bdo@`kc@dqpAckUbmn@sphAjnDovu@zviDgasDpa^ixsBbmy@{ubBvou@ajy@|}\\y~q@dycAcotGj{v@cdr@lyUwpC", + "weight": 6524.2, + "distance": 77254.7, + "duration": 3282.8 } ], "code": "Ok" diff --git a/mapbox/libjava-services/src/test/fixtures/directions_v5_traffic.json b/mapbox/libjava-services/src/test/fixtures/directions_v5_traffic.json index 7c4c67152..4abf7af56 100644 --- a/mapbox/libjava-services/src/test/fixtures/directions_v5_traffic.json +++ b/mapbox/libjava-services/src/test/fixtures/directions_v5_traffic.json @@ -1,4 +1,20 @@ { + "waypoints": [ + { + "location": [ + -122.416686, + 37.783425 + ], + "name": "Eddy Street" + }, + { + "location": [ + -121.90034, + 37.333317 + ], + "name": "North Autumn Street" + } + ], "routes": [ { "legs": [ @@ -11,404 +27,475 @@ "entry": [ true ], - "bearings": [ - 261 - ], - "location": [ - -122.416685, - 37.783424 - ] - }, - { - "out": 2, "location": [ - -122.417548, - 37.783315 + -122.416686, + 37.783425 ], "bearings": [ - 75, - 165, - 255, - 345 - ], - "entry": [ - false, - false, - true, - true - ], - "in": 0 + 81 + ] } ], - "geometry": "kqreFhodjVRjDh@fI", + "geometry": "mqreFhodjVQ}C", + "duration": 18.9, + "distance": 69.7, + "name": "Eddy Street", + "weight": 18.9, + "mode": "driving", "maneuver": { - "bearing_after": 261, - "type": "depart", - "modifier": "left", - "bearing_before": 0, + "bearing_after": 81, "location": [ - -122.416685, - 37.783424 + -122.416686, + 37.783425 ], - "instruction": "Head west on Eddy Street" - }, - "duration": 76.2, - "distance": 223.1, - "name": "Eddy Street", - "mode": "driving" + "type": "depart", + "bearing_before": 0, + "modifier": "right", + "instruction": "Head east on Eddy Street" + } }, { "intersections": [ { "out": 1, - "location": [ - -122.419191, - 37.783106 - ], - "bearings": [ - 75, - 165, - 255, - 345 - ], + "in": 2, "entry": [ - false, true, true, - true + false, + false ], - "in": 0 - }, - { - "out": 1, "location": [ - -122.419005, - 37.782173 + -122.415903, + 37.783524 ], "bearings": [ 75, 165, 255, 345 - ], + ] + }, + { + "out": 1, + "in": 3, "entry": [ false, true, true, false ], - "in": 3 - }, - { - "out": 0, "location": [ - -122.418911, - 37.781706 + -122.415716, + 37.782593 ], "bearings": [ + 75, 165, 255, 345 - ], + ] + }, + { + "out": 1, + "in": 3, "entry": [ true, true, + false, false ], - "in": 2 - }, - { - "out": 1, "location": [ - -122.41881, - 37.781242 + -122.415527, + 37.78166 ], "bearings": [ 75, 165, 255, 345 - ], + ] + }, + { + "out": 1, + "in": 3, "entry": [ + false, true, true, - false, false ], - "in": 3 - }, - { - "out": 0, "location": [ - -122.418725, - 37.780777 + -122.415339, + 37.780726 ], "bearings": [ + 75, 165, 255, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 1, "location": [ - -122.418614, - 37.780271 + -122.415152, + 37.779796 ], "bearings": [ - 75, 165, 255, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ - true, true, true, false ], - "in": 3 - }, - { - "out": 2, "location": [ - -122.418253, - 37.77849 + -122.414921, + 37.778867 ], "bearings": [ - 0, - 75, - 165, - 255 - ], + 135, + 270, + 330 + ] + }, + { + "out": 1, + "in": 3, "entry": [ false, true, true, - true + false ], - "in": 0 - }, + "location": [ + -122.414826, + 37.778777 + ], + "bearings": [ + 45, + 135, + 225, + 315 + ] + } + ], + "geometry": "_rreFjjdjVxDc@xDe@|C_@ZExC_@^E^E~BYXMBCLMJM", + "duration": 129.5, + "distance": 546.9, + "name": "Hyde Street", + "weight": 129.5, + "mode": "driving", + "maneuver": { + "bearing_after": 170, + "location": [ + -122.415903, + 37.783524 + ], + "type": "turn", + "bearing_before": 80, + "modifier": "right", + "instruction": "Turn right onto Hyde Street" + } + }, + { + "intersections": [ { "out": 0, + "in": 1, + "entry": [ + true, + false + ], "location": [ - -122.418156, - 37.777974 + -122.414764, + 37.778721 ], "bearings": [ - 165, - 255, - 345 - ], + 135, + 315 + ] + }, + { + "out": 1, + "in": 3, "entry": [ + false, true, - true, + false, false ], - "in": 2 - }, + "location": [ + -122.414715, + 37.778681 + ], + "bearings": [ + 45, + 135, + 225, + 315 + ] + } + ], + "geometry": "_tqeFfcdjVFGl@{@h@s@xByC`@i@", + "duration": 52.3, + "distance": 198.4, + "name": "8th Street", + "weight": 52.3, + "mode": "driving", + "maneuver": { + "bearing_after": 135, + "location": [ + -122.414764, + 37.778721 + ], + "type": "new name", + "bearing_before": 137, + "modifier": "straight", + "instruction": "Continue straight onto 8th Street" + } + }, + { + "intersections": [ { + "out": 2, + "in": 3, "lanes": [ { - "valid": true, + "valid": false, "indications": [ "none" ] }, { - "valid": true, + "valid": false, "indications": [ "none" ] }, { - "valid": true, + "valid": false, "indications": [ "none" ] }, { - "valid": false, + "valid": true, "indications": [ "right" ] } ], - "out": 1, - "location": [ - -122.418063, - 37.777516 - ], - "bearings": [ - 75, - 165, - 255, - 345 - ], "entry": [ - false, + true, true, true, false ], - "in": 3 - }, - { - "out": 1, "location": [ - -122.417581, - 37.776576 + -122.413175, + 37.777455 ], "bearings": [ 45, 135, 225, 315 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, true, - true, - false + true ], - "in": 3 - }, - { - "out": 0, "location": [ - -122.417533, - 37.776537 + -122.414121, + 37.776706 ], "bearings": [ - 120, - 270, + 45, + 225, 315 + ] + }, + { + "out": 2, + "in": 0, + "lanes": [ + { + "valid": true, + "indications": [ + "none" + ] + }, + { + "valid": true, + "indications": [ + "none" + ] + }, + { + "valid": false, + "indications": [ + "right" + ] + } ], "entry": [ - true, false, - false + false, + true, + true ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.417305, - 37.776409 + -122.414717, + 37.776233 ], "bearings": [ + 45, 135, - 285, - 300 - ], - "entry": [ - true, - false, - false - ], - "in": 2 - }, + 225, + 315 + ] + }, { - "out": 1, + "out": 2, + "in": 0, + "entry": [ + false, + true, + true + ], "location": [ - -122.416526, - 37.775763 + -122.415147, + 37.775893 ], "bearings": [ 45, 135, - 315 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + 225 + ] }, { - "out": 0, + "out": 2, + "in": 0, + "entry": [ + false, + false, + true + ], "location": [ - -122.416447, - 37.775699 + -122.415511, + 37.775604 ], "bearings": [ + 45, 135, - 225, - 315 - ], + 225 + ] + } + ], + "geometry": "clqeFjycjVtCzDv@dAf@p@bAtAx@fA~@pA", + "duration": 92.2, + "distance": 342, + "name": "Mission Street", + "weight": 92.2, + "mode": "driving", + "maneuver": { + "bearing_after": 223, + "location": [ + -122.413175, + 37.777455 + ], + "type": "turn", + "bearing_before": 135, + "modifier": "right", + "instruction": "Turn right onto Mission Street" + } + }, + { + "intersections": [ + { + "out": 1, + "in": 0, "entry": [ + false, true, true, false ], - "in": 2 - }, - { - "out": 1, "location": [ -122.415923, - 37.775277 + 37.775278 ], "bearings": [ 45, 135, 225, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ - true, true, true, false ], - "in": 3 - }, - { - "out": 0, "location": [ -122.415384, - 37.774852 + 37.774853 ], "bearings": [ 135, 225, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.414921, - 37.774484 + 37.774485 ], "bearings": [ 135, 225, 315 - ], + ] + }, + { + "out": 1, + "in": 3, "entry": [ - true, false, + true, + true, false ], - "in": 2 - }, - { - "out": 1, "location": [ -122.414368, 37.774043 @@ -418,17 +505,17 @@ 135, 225, 315 - ], + ] + }, + { + "out": 1, + "in": 3, "entry": [ - false, true, true, + false, false ], - "in": 3 - }, - { - "out": 1, "location": [ -122.412834, 37.77282 @@ -438,17 +525,16 @@ 135, 225, 315 - ], + ] + }, + { + "out": 1, + "in": 2, "entry": [ - true, - true, false, + true, false ], - "in": 3 - }, - { - "out": 1, "location": [ -122.411897, 37.772073 @@ -457,73 +543,52 @@ 45, 135, 315 - ], - "entry": [ - false, - true, - false - ], - "in": 2 + ] }, { "out": 1, - "location": [ - -122.411287, - 37.771586 - ], - "bearings": [ - 45, - 135, - 225, - 315 - ], + "in": 3, "entry": [ false, true, true, false ], - "in": 3 - }, - { - "out": 0, "location": [ - -122.410584, - 37.771015 + -122.411287, + 37.771587 ], "bearings": [ + 45, 135, 225, 315 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + ] } ], - "geometry": "moreF|~djVzDc@zASjAMPENC`@GB?D?B?ZClAOVGXEtC]xC_@XCXAlAOFApAQrBUHCFAFEFGFKLULO@CFIHMN]`AmA~@mAJOrAiBtAkBhA{AvAmB~AyBrCyDtCyD~AyB|@mAr@_AfCaD", + "geometry": "o~peFnjdjVtAkBfA{AxAmB~AyBrCyDtCyD~AyB|@kAr@_AfCcD", + "duration": 112.3, + "distance": 771.4, + "name": "10th Street", + "weight": 112.3, + "mode": "driving", "maneuver": { - "bearing_after": 170, - "type": "turn", - "modifier": "left", - "bearing_before": 260, + "bearing_after": 133, "location": [ - -122.419191, - 37.783106 + -122.415923, + 37.775278 ], - "instruction": "Turn left onto Polk Street" - }, - "duration": 318.5, - "distance": 1724.9, - "name": "Polk Street", - "mode": "driving" + "type": "turn", + "bearing_before": 223, + "modifier": "left", + "instruction": "Turn left onto 10th Street" + } }, { "intersections": [ { + "out": 1, + "in": 4, "lanes": [ { "valid": false, @@ -558,196 +623,203 @@ ] } ], - "out": 1, + "entry": [ + true, + true, + true, + false, + false + ], "location": [ - -122.409766, + -122.409767, 37.770337 ], "bearings": [ 45, - 105, + 90, 135, 225, 315 - ], - "entry": [ - true, - true, - true, - false, - false - ], - "in": 4 + ] } ], - "geometry": "s_peF`dcjVBk@Hy@F[J_@J[J[NYp@kAfAoBd@w@tAsBdBkC\\a@PQTQVMVKPENE\\GJ?", + "geometry": "s_peF`dcjVBk@Hy@F[H]J]L[NYp@kAfAoBd@w@tAsBdBkC\\a@PQTQTMXKNEPE\\GJ?", "maneuver": { - "bearing_after": 105, - "type": "on ramp", - "modifier": "slight left", - "bearing_before": 135, + "bearing_after": 95, "location": [ - -122.409766, + -122.409767, 37.770337 ], - "instruction": "Take the ramp on the left" + "type": "on ramp", + "bearing_before": 135, + "modifier": "slight left", + "instruction": "Take the ramp on the left towards US 101" }, - "duration": 79.6, + "duration": 148.1, "distance": 531.5, + "destinations": "US 101", "name": "", + "weight": 148.1, "mode": "driving" }, { "intersections": [ { "out": 0, - "location": [ - -122.405472, - 37.76726 - ], - "bearings": [ - 174, - 349, - 352 - ], + "in": 2, "entry": [ true, false, false ], - "in": 1 + "location": [ + -122.405473, + 37.767261 + ], + "bearings": [ + 174, + 353, + 358 + ] } ], - "geometry": "kloeFdibjVtBOj@GnAU", - "mode": "driving", - "duration": 18.2, "maneuver": { "bearing_after": 172, - "type": "merge", - "modifier": "slight left", - "bearing_before": 167, "location": [ - -122.405472, - 37.76726 + -122.405473, + 37.767261 ], - "instruction": "Merge left onto Central Freeway (US 101)" + "type": "merge", + "bearing_before": 177, + "modifier": "slight right", + "instruction": "Merge right onto Central Freeway (US 101)" }, - "ref": "US 101", + "duration": 13.6, "distance": 136.5, - "name": "Central Freeway (US 101)" + "name": "Central Freeway (US 101)", + "geometry": "kloeFdibjVtBOj@GnAU", + "ref": "US 101", + "weight": 13.6, + "mode": "driving" }, { "intersections": [ { "out": 1, + "in": 2, + "entry": [ + false, + true, + false + ], "location": [ -122.405244, - 37.766047 + 37.766048 ], "bearings": [ 0, 180, 345 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, true, - false + true ], - "in": 2 - }, - { - "out": 1, "location": [ - -122.402998, - 37.752553 + -122.402999, + 37.752554 ], "bearings": [ 0, 180, 195 - ], + ] + }, + { + "out": 2, + "in": 1, "entry": [ false, - true, + false, true ], - "in": 0 - }, - { - "out": 2, "location": [ - -122.404557, + -122.404558, 37.746941 ], "bearings": [ 0, 15, 195 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, - false, + true, true ], - "in": 1 - }, - { - "out": 1, "location": [ - -122.408142, + -122.408143, 37.739469 ], "bearings": [ 5, 180, 187 - ], - "entry": [ - false, - true, - true - ], - "in": 0 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + false, + false + ], "location": [ - -122.4064, - 37.734437 + -122.406401, + 37.734438 ], "bearings": [ 155, 332, 335 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.405673, + -122.405674, 37.733191 ], "bearings": [ 150, - 165, + 180, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.403995, 37.730114 @@ -756,52 +828,52 @@ 165, 330, 345 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.402482, + -122.402483, 37.726603 ], "bearings": [ 163, 341, 346 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ - -122.4017, - 37.724556 + -122.401701, + 37.724557 ], "bearings": [ 163, 168, 343 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.400278, 37.720955 @@ -810,89 +882,90 @@ 165, 180, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.397974, - 37.714804 + 37.714805 ], "bearings": [ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.395539, - 37.710236 + -122.39554, + 37.710237 ], "bearings": [ 165, 180, 345 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + ] } ], - "geometry": "ydoeFvgbjVhGWd@C^?f@?d@Bf@Dd@Db@Hf@J`@Ld@P`@Pb@R`@T~Az@\\P^N^N^J^H^D^D^@`@@`@C`@Cb@Gb@Ib@O^O`@S^U`@Y^_@\\]Zc@Zc@Xc@p@eAV_@Xa@V[V[XUXWZSZQ`@S`@M^Kb@Ib@Gf@Ed@Cd@CbLg@r@Ct@Cp@?n@@r@Dp@Ft@Hj@Jj@JzFnA`IdB~FnAtH`Bp@Nt@Rn@Vl@Xn@\\j@^l@b@nElDXRTPn@b@p@^n@Zp@Xt@Vn@Px@Nr@Lv@Jv@FfAFr@Br@At@Ar@Ct@El@Ir@Kr@Mt@Qp@Ql@Sj@Sn@Wt@]b@UlAk@tDiBtAq@bD_BtC}Az@c@|@a@jAg@z@]bAa@bBo@f@QrAg@lAa@jA]nEyA^K~EaBjFyAjDaArBm@rAa@dHyBdBe@zBk@v@Sx@Q|Du@lCc@f@KvGmAl@Mp@Op@Sn@UfAc@r@]n@]n@c@r@g@p@g@rDwCl@a@j@]j@[j@[l@Yh@Up@Ul@Sr@On@On@KfAObBWnC_@nBWfBWTC", - "mode": "driving", - "duration": 266.4, "maneuver": { "bearing_after": 174, - "type": "merge", - "modifier": "slight left", - "bearing_before": 167, "location": [ -122.405244, - 37.766047 + 37.766048 ], + "type": "merge", + "bearing_before": 167, + "modifier": "slight left", "instruction": "Merge left onto James Lick Freeway (US 101)" }, - "ref": "US 101", + "duration": 273.90000000000003, "distance": 6830.6, - "name": "James Lick Freeway (US 101)" + "name": "James Lick Freeway (US 101)", + "geometry": "ydoeFvgbjVhGWd@C^?f@@d@@f@Dd@Fb@Ff@J`@Ld@P`@Pb@R`@T~Az@\\P^P^L^J^H^D^D^@`@@`@C`@Cb@Gb@Ib@O^O`@S^U`@Y^_@\\]Zc@Zc@Xc@p@eAV_@Xa@V[V[XUXWZSZQ`@S`@M^Kb@Ib@Gf@Ed@Cd@CbLg@r@Ct@Ap@An@@r@Dp@Ft@Hj@Jj@JzFnA`IdB~FnAtH`Bp@Nt@Rn@Vl@Xn@\\j@^l@b@nElDVRVPn@b@p@^n@Zp@Xt@Vn@Px@Nr@Lv@Jv@FfAFr@Br@At@Ar@Ct@El@Ir@Kr@Mt@Qp@Ql@Sj@Sn@Wt@]b@SlAm@tDiBtAq@bD_BtC}Az@c@|@a@jAg@x@]dAa@bBo@f@QrAg@jAa@lA]nEyA^K~EaBjFyAjDaArBm@rAa@dHyBdBe@zBk@v@Sx@Q|Du@lCc@f@KvGmAl@Mp@Op@Sn@UfAc@r@]n@]n@c@p@g@r@g@rDwCl@a@j@]j@[j@[l@Yh@Up@Ul@Sp@Op@On@KfAObBWnC_@nBWfBUTE", + "ref": "US 101", + "weight": 273.90000000000003, + "mode": "driving" }, { "intersections": [ { "out": 0, + "in": 1, + "entry": [ + true, + false + ], "location": [ -122.395121, - 37.708327 + 37.708328 ], "bearings": [ 165, 345 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, + false, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.393825, 37.702429 @@ -901,16 +974,16 @@ 170, 347, 350 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.391826, 37.693636 @@ -919,16 +992,16 @@ 165, 180, 345 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.3906, 37.688244 @@ -937,16 +1010,16 @@ 170, 345, 350 - ], - "entry": [ - true, - false, - false - ], - "in": 2 + ] }, { "out": 1, + "in": 0, + "entry": [ + false, + true, + true + ], "location": [ -122.392891, 37.669787 @@ -955,200 +1028,186 @@ 30, 210, 225 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, true, true ], - "in": 0 - }, - { - "out": 1, "location": [ -122.395051, - 37.667538 + 37.667539 ], "bearings": [ 30, 210, 225 - ], + ] + }, + { + "out": 2, + "in": 1, "entry": [ false, - true, + false, true ], - "in": 0 - }, - { - "out": 2, "location": [ -122.39982, - 37.663397 + 37.663398 ], "bearings": [ 46, 51, 231 - ], + ] + }, + { + "out": 2, + "in": 1, "entry": [ false, false, true ], - "in": 1 - }, - { - "out": 2, "location": [ -122.403926, - 37.660622 + 37.660623 ], "bearings": [ 30, 45, 225 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, - false, + true, true ], - "in": 1 - }, - { - "out": 1, "location": [ - -122.40573, + -122.405731, 37.65805 ], "bearings": [ 15, 195, 210 - ], - "entry": [ - false, - true, - true - ], - "in": 0 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], "location": [ - -122.406978, - 37.651444 + -122.406979, + 37.651445 ], "bearings": [ 176, 181, 356 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ - true, + false, true, false ], - "in": 2 - }, - { - "out": 1, "location": [ - -122.406418, - 37.644569 + -122.406419, + 37.64457 ], "bearings": [ 0, 180, 345 - ], - "entry": [ - false, - true, - false - ], - "in": 0 + ] } ], - "geometry": "a|ceFnh`jVdEi@`IcArSsC|u@oKv`@uFze@{GhC_@pDk@pASnAQfAMjAIx@C~@?z@?`AB`AF`AL~@Lv@N|@TdAZ`A\\v@X|@Zx@Z|@^x@\\LFvBbA`Af@l@\\n@\\l@\\j@^j@^l@`@j@`@j@b@j@`@j@b@h@d@h@d@h@d@p@l@`MnLdD~ChBdBh@f@d@d@f@f@f@j@j@n@b@h@d@l@d@n@`@j@b@n@`@n@`@p@b@r@^p@`@t@hJrP`@p@b@t@d@p@d@p@n@t@h@j@l@j@r@j@j@b@l@`@j@Zn@\\n@Xp@X|An@vF~Bp@Vr@Vr@Rr@Pt@Nv@Nn@Hr@Fn@Fr@Dp@@p@@v@?r@At@CtESpAEdGW~@CrDO`AE`X}@bNk@bDW", - "mode": "driving", - "duration": 300.5, "maneuver": { "bearing_after": 170, - "type": "new name", - "modifier": "straight", - "bearing_before": 170, "location": [ -122.395121, - 37.708327 + 37.708328 ], + "type": "new name", + "bearing_before": 168, + "modifier": "straight", "instruction": "Continue straight onto Bayshore Freeway (US 101)" }, - "ref": "US 101", + "duration": 315.3, "distance": 8058.1, - "name": "Bayshore Freeway (US 101)" + "name": "Bayshore Freeway (US 101)", + "geometry": "a|ceFnh`jVdEi@`IcArSsC|u@oKv`@uFze@{GhC_@pDk@pASnAQfAMjAIx@C~@?z@?`AB`AF`AL~@Nv@L|@TdAZ`A\\v@X|@Zx@\\|@\\x@\\LFvBbA`Af@l@\\n@\\j@\\l@^j@^l@`@j@`@j@b@h@`@l@d@h@b@h@d@h@d@p@l@`MnLdD~ChBdBf@f@f@d@f@h@f@h@j@n@b@h@d@l@d@n@`@j@b@n@`@n@`@p@b@r@^p@`@t@hJrP^r@d@t@d@n@d@p@n@t@h@j@l@j@r@j@j@b@l@`@j@Zn@\\n@Xp@X|An@vF~Bp@Vr@Vr@Rr@Pt@Nv@Nn@Hr@Fn@Fr@Dp@@p@@v@?r@At@CtESnAEfGW~@CrDO`AE`X}@bNk@bDW", + "ref": "US 101", + "weight": 315.3, + "mode": "driving" }, { "intersections": [ { "out": 2, - "location": [ - -122.406082, - 37.641331 - ], - "bearings": [ - 0, - 165, - 195 - ], + "in": 0, "entry": [ false, true, true ], - "in": 0 - }, - { - "out": 1, "location": [ - -122.405852, - 37.635082 + -122.406082, + 37.641332 ], "bearings": [ - 45, - 225 - ], - "entry": [ - false, - true - ], - "in": 0 + 0, + 165, + 195 + ] } ], - "geometry": "iyvdF~lbjVdANv@Ir@G`AMt@Kr@On@Mr@Qj@O`GoBb@MZGXCVC\\A`@?\\B\\D\\F^J`@N^R^T^X`@b@`@f@Zh@Xh@Vh@Pf@Nf@L`@Nr@Jp@Jr@Fp@Fr@Dj@B|@F|A", + "geometry": "iyvdF~lbjVdANv@Ir@G`AMt@Kr@On@Mr@Qj@O`GoBb@MZGXCVC\\A`@@\\@\\D\\F^J`@N^R^T\\Xb@b@`@f@Zh@Xh@Th@Rf@Nf@L`@Nr@Jp@Jr@Fp@Fr@Dj@B|@F|A", "maneuver": { "bearing_after": 189, - "type": "off ramp", - "modifier": "slight right", - "bearing_before": 172, "location": [ -122.406082, - 37.641331 + 37.641332 ], - "instruction": "Take the ramp on the right towards I-380 West to I-280" + "type": "off ramp", + "bearing_before": 172, + "modifier": "slight right", + "instruction": "Take the ramp on the right towards I 380: San Bruno" }, - "mode": "driving", - "duration": 42.9, + "duration": 46.6, "distance": 1067.1, + "destinations": "I 380: San Bruno", "name": "", - "destinations": "I-380 West to I-280, San Bruno" + "weight": 46.6, + "mode": "driving" }, { "intersections": [ { "out": 2, + "in": 0, + "entry": [ + false, + false, + true + ], "location": [ -122.409329, 37.634083 @@ -1157,273 +1216,292 @@ 85, 90, 271 - ], + ] + }, + { + "out": 2, + "in": 1, "entry": [ false, false, true ], - "in": 0 - }, - { - "out": 2, "location": [ - -122.412806, - 37.634316 + -122.412807, + 37.634317 ], "bearings": [ 91, 97, 276 - ], + ] + }, + { + "out": 1, + "in": 0, "entry": [ false, - false, + true, true ], - "in": 1 - }, - { - "out": 1, "location": [ - -122.413372, + -122.413373, 37.634363 ], "bearings": [ 96, 274, 277 - ], + ] + }, + { + "out": 2, + "in": 1, "entry": [ false, - true, + false, true ], - "in": 0 - }, - { - "out": 2, "location": [ - -122.420802, + -122.420803, 37.632342 ], "bearings": [ 56, 60, 241 - ], + ] + }, + { + "out": 2, + "in": 1, "entry": [ false, false, true ], - "in": 1 - }, - { - "out": 2, "location": [ -122.423618, - 37.631111 + 37.631112 ], "bearings": [ 57, 62, 242 - ], - "entry": [ - false, - false, - true - ], - "in": 1 + ] } ], - "geometry": "_ludFhacjVA|@Ap@KzEGrBWvFGnBC`AA`A?bABz@Bz@Bv@HbAH`AL~@N`AN|@Pz@Tz@Vx@Vx@hAjDp@jBvBjGxBpGzB`Hb@rA\\jA^nAbCtILh@Jj@LjA", - "mode": "driving", - "duration": 66, "maneuver": { "bearing_after": 270, - "type": "merge", - "modifier": "slight left", - "bearing_before": 264, "location": [ -122.409329, 37.634083 ], + "type": "merge", + "bearing_before": 264, + "modifier": "slight left", "instruction": "Merge left onto Quentin L. Kopp Freeway (I 380)" }, - "ref": "I 380", + "duration": 72.3, "distance": 1708.4, - "name": "Quentin L. Kopp Freeway (I 380)" + "name": "Quentin L. Kopp Freeway (I 380)", + "geometry": "_ludFhacjVA|@Ap@KzEGrBWvFGnBC`AA`A?bABz@@z@Dv@HbAH`AL~@L`AP|@Pz@Tz@Tx@Vx@jAjDp@jBvBjGxBpGzB`H`@rA^jA^nAbCtILh@Jj@LjA", + "ref": "I 380", + "weight": 72.3, + "mode": "driving" }, { "intersections": [ { "out": 1, + "in": 0, + "entry": [ + false, + true, + true + ], "location": [ - -122.427335, - 37.62976 + -122.427336, + 37.629761 ], "bearings": [ 75, 255, 270 - ], - "entry": [ - false, - true, - true - ], - "in": 0 + ] } ], - "geometry": "_qtdFzqfjVl@nHb@bHDf@Db@J`@J`@N`@R^T\\Z\\XTVPXNZJZHXDX@X?XCXEZKVMZOVSVWT[Xc@fDgGXe@T]V[VWh@a@l@c@~@o@hAu@hGeE", + "geometry": "_qtdFzqfjVl@nHb@bHBf@Fb@J`@J`@N`@R^T\\Z\\VTXRXLZJZHXDX@X?XCXEZKVKZQVSVWT[Xc@fDgGXe@R]X[VWh@a@l@c@~@o@fAu@jGeE", "maneuver": { "bearing_after": 258, - "type": "fork", - "modifier": "slight left", - "bearing_before": 255, "location": [ - -122.427335, - 37.62976 + -122.427336, + 37.629761 ], - "instruction": "Keep left at the fork" + "type": "fork", + "bearing_before": 255, + "modifier": "slight left", + "instruction": "Keep left at the fork towards I 280: San Jose" }, - "duration": 50.4, + "duration": 52.3, "distance": 1225.7, + "destinations": "I 280: San Jose", "name": "", + "weight": 52.3, "mode": "driving" }, { "intersections": [ { "out": 0, + "in": 1, + "entry": [ + true, + false, + false + ], "location": [ - -122.427527, + -122.427528, 37.622767 ], "bearings": [ 153, - 329, + 330, 333 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 1 - }, - { - "out": 0, "location": [ - -122.42618, + -122.426181, 37.62068 ], "bearings": [ 153, 327, 333 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.425577, - 37.61974 + 37.619741 ], "bearings": [ 150, 165, 330 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ - true, true, false ], - "in": 2 + "location": [ + -122.425911, + 37.60139 + ], + "bearings": [ + 135, + 315 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + false, + false + ], "location": [ -122.424855, - 37.600521 + 37.600522 ], "bearings": [ 135, 310, - 316 - ], + 315 + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.422648, - 37.598743 + -122.422649, + 37.598744 ], "bearings": [ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.408814, + -122.408815, 37.585807 ], "bearings": [ 133, 309, 313 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.406525, - 37.583903 + 37.583904 ], "bearings": [ 143, 151, 320 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.401944, 37.576872 @@ -1432,106 +1510,106 @@ 155, 332, 336 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ - -122.376276, + -122.376277, 37.55112 ], "bearings": [ 143, - 153, + 152, 324 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.370171, + -122.370172, 37.544586 ], "bearings": [ 150, 315, 330 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.359782, - 37.528221 + -122.359783, + 37.528222 ], "bearings": [ 162, 172, 341 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.353994, - 37.519185 + 37.519186 ], "bearings": [ 149, 325, 331 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.344796, + -122.344797, 37.51067 ], "bearings": [ 131, 135, 312 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.334985, 37.50454 @@ -1540,16 +1618,16 @@ 135, 300, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.330835, 37.501727 @@ -1558,232 +1636,232 @@ 123, 297, 306 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.320905, + -122.320906, 37.500089 ], "bearings": [ 104, 109, 280 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.310445, - 37.495683 + 37.495684 ], "bearings": [ 110, 290, 292 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ - -122.296178, + -122.296179, 37.472328 ], "bearings": [ 135, 150, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.29172, - 37.46708 + 37.467081 ], "bearings": [ 165, 330, 345 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.288022, - 37.456373 + 37.456374 ], "bearings": [ 136, 315, 318 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ - -122.269582, + -122.269583, 37.444413 ], "bearings": [ 114, 120, 295 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + false, + false + ], "location": [ -122.258142, - 37.444039 + 37.44404 ], "bearings": [ 93, 263, 271 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.247442, - 37.4387 + -122.247443, + 37.438701 ], "bearings": [ 136, 141, 315 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.239323, - 37.431889 + -122.239324, + 37.43189 ], "bearings": [ - 135, + 136, 314, 317 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.226651, - 37.422606 + -122.226652, + 37.422607 ], "bearings": [ 131, 138, 311 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.212714, + -122.212715, 37.417219 ], "bearings": [ 128, - 298, - 304 - ], + 299, + 305 + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.200077, + -122.200078, 37.410726 ], "bearings": [ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.191846, 37.408051 @@ -1792,142 +1870,142 @@ 120, 285, 300 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.190207, + -122.190208, 37.407207 ], "bearings": [ 129, 299, 307 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.169176, + -122.169177, 37.391971 ], "bearings": [ 90, 105, 270 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.155692, - 37.387771 + 37.387772 ], "bearings": [ 121, 295, 299 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.124884, - 37.364233 + 37.364234 ], "bearings": [ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.117382, 37.357084 ], "bearings": [ - 136, + 135, 317, 320 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.11238, + -122.112381, 37.354827 ], "bearings": [ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.106351, + -122.106352, 37.351935 ], "bearings": [ 144, 314, 321 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.073109, 37.33348 @@ -1936,34 +2014,34 @@ 75, 90, 255 - ], + ] + }, + { + "out": 0, + "in": 1, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.062966, - 37.333216 + -122.062967, + 37.333217 ], "bearings": [ 120, 285, 300 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 1 - }, - { - "out": 0, "location": [ -122.060868, 37.332513 @@ -1972,124 +2050,124 @@ 105, 120, 285 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.058148, - 37.332099 + -122.058149, + 37.3321 ], "bearings": [ 90, 92, 274 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.047258, - 37.334048 + -122.047259, + 37.334049 ], "bearings": [ 82, 254, 260 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.037443, - 37.334244 + -122.037468, + 37.334238 ], "bearings": [ 90, 94, - 269 - ], + 270 + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.027015, - 37.3343 + -122.027014, + 37.334296 ], "bearings": [ - 89, + 90, 265, 270 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.018788, - 37.332784 + -122.018794, + 37.332781 ], "bearings": [ 123, 126, - 302 - ], + 301 + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -122.010106, - 37.328245 + -122.010349, + 37.328376 ], "bearings": [ 123, - 300, + 298, 303 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -122.004879, 37.325537 @@ -2098,34 +2176,34 @@ 120, 135, 300 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -121.991487, - 37.318687 + -121.991488, + 37.318688 ], "bearings": [ 120, 285, 300 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.980088, 37.317964 @@ -2134,395 +2212,1328 @@ 90, 105, 270 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - true, + false, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -121.970054, + -121.970055, 37.316175 ], "bearings": [ - 89, + 88, 267, 271 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ -121.955733, - 37.31644 + 37.316441 ], "bearings": [ 84, 92, 264 - ], - "entry": [ - true, - true, - false - ], - "in": 2 + ] } ], - "geometry": "iesdF`sfjV`LmGzDwBdAm@nAq@jAi@fAa@fAYl@Or@Ml@Gn@Gv@Ex@A|@?p@@r@Dt@Hr@Jz@P|@Vx@Vx@\\z@`@~@h@bGxDx@f@v@d@~@d@~@b@|@^x@Zv@Xz@V`AX`AV`AR`AP`AN`ALx@F|@F|@Dz@@`AA|@G|@G|@K|@O|@S~@UbA[v@[z@a@t@]v@g@t@g@p@g@n@k@p@o@p@u@l@s@~B}CbJyLbHgJr@aAt@}@t@}@x@_A~@cA`AaApLkL|QsQlEmE^]^_@zDyDr@s@v@w@v@{@t@aAr@cA|@qArB}CzAwBv@iAv@cAz@cA|@cAv@y@z@y@|@w@z@u@fAy@~@o@v@g@`Ak@bAi@lAm@xAs@xUcLlOoH~@g@|@k@x@k@x@q@z@y@tXmXj@m@j@q@r@aAt@eAl@eAl@qAf@iA`@gA^qA\\sAbBiH\\sAb@uAh@wAf@eAf@{@j@{@h@q@j@q@h_@i_@x@w@x@s@v@q@~@q@v@g@~@k@nTcMbAm@fAo@nAu@jAy@fAy@fA_AfAaAdA_A`VsT`A}@tNsM`FqEnAiAlAgAhAaAlAaArAcApAaAtA}@nAw@jAq@~\\iSnAu@rAq@nAm@tAg@tAg@zAi@|YmJpC}@bA]|@c@~@e@|@k@z@m@hHkGr@m@t@i@r@e@v@e@r@a@z@a@dIeDhAe@~@a@~@e@bAg@~@i@z@k@x@i@z@m@~@u@x@s@v@s@z@{@z@{@nUcWhAqAhAqApAaB`AoAdAwAdAyA`AwA`A{A~@_B|@yAbAmB|@cBrKuSzC_GbBaDnAaChAuBjAuBnAwBhAkBlJkO|@aBz@cBv@kBl@eBj@qB`@iB^sBVmBRwBNwBHsBBuBBcKBsBDsBJwBNsBRkBVoBX}AZ_BZmAXgA\\kA\\aA`@gAd@gAj@oA`@{@hDuHl@oAj@qAj@uAf@wAd@wAb@uAb@_Bb@aB\\{AX}ARmARmAjAaIxAmJTiARcAR}@R{@T{@X{@Xw@Xu@\\w@\\s@\\s@^o@`@q@^m@b@o@b@k@d@i@d@k@h@g@f@e@f@c@j@c@j@a@l@_@j@]l@[l@Yn@Yn@Wr@Up@Up@Qp@Mp@Mp@Kr@Gz@Gt@Er@At@?r@@r@Br@Dr@DfBPnQ`BdJv@nCVr@Dt@Dr@Br@?r@Ar@Cr@Cr@Gr@Kr@Kr@Mp@Op@Qp@Sp@Up@Wl@Wn@[l@[l@_@l@_@j@c@j@e@h@c@f@g@f@g@z@_Ah@m@h@o@h@m@|IsJf@i@h@i@f@g@j@g@j@e@j@e@l@e@j@a@h@_@p@_@n@]d@Wb@Sj@Wn@Up@Wp@Un@Qr@Sp@Ox@O\\G\\Gl@Il@Gp@Gx@Gp@Cl@CdBC|GIx@Az@Cx@G|@It@K~@Od@K`@Kn@Oj@Qv@Wv@[x@_@|@e@`Am@z@m@x@m@v@q@r@q@p@u@l@s@n@y@l@_Al@_ArZ_i@vIoObAcB|@{ApAwBfNyTr@iAp@mAl@oAj@qAf@qA`@mA\\kAZeARw@Py@R_ARiAPcAR_BN}ANaBHaBF_BDwA?{A?{AAu@Aw@C}@E}@aA}QIcBE{ACyA@{ABuADyAHwALwAN}ARyAVuAXwA\\qA^qAd@uAf@qAh@mAl@kAl@eAn@aAxJkNjBkCjCoDvCuDbNaQ|AmBvD{E~LuObAsAnAcBdA_BhAcBrNqTrAuBzAyBdK_Ot@gA|@yA|JeP~JkPl@aAl@eAn@qAj@sAb@mA`@yA^wAX_BXkBTqBbBeTLoANqARkAVoAXkAZeA^eAb@gAd@gAh@aAl@aAj@y@r@_Av@{@rBwBdCeCt@y@t@aAp@aAl@eAj@iAl@wAh@yAd@}A`@aBdFmUhDwO~@eEzFyWvAmG`AkE\\{Ab@wAb@sAf@sAj@oAn@oAr@mAx@oAx@eA`AgAbAcAzIcIhAcAlAmAx@u@|LaMnd@ce@bAkAx@gAz@oAn@kAv@_Bl@_Bn@oBb@cB\\iBRsAPuAJqAHkADsAT{IBeADcAFy@HaAL_APcARcAVaAX_A`@eA^{@d@aAjCeFZo@Xm@Vo@Xu@Vw@p@aC\\aBXaBP{AL_Bd@gGj@mHL{ARsAXuAZoA`@kAd@qAd@aAb@y@j@aAf@o@j@s@^_@^_@l@e@n@e@n@a@n@]r@[p@Wt@Up@Or@Mx@KfMcBt@Kv@Kt@Ml@Kp@Op@Sl@Sr@Wr@[p@]p@_@p@e@p@g@n@k@h@g@p@s@l@q@tO_R`AiAhAmA~@aAdAcAhAcAxHwGd@c@tGyFbA}@jAoAbAoA~@qAz@uAx@}Ar@}An@cBh@cBf@iB`@gBz@iEXqAnEwTZaBVkBNcBJiBr@gTHaBNcBTcBX{A^}Ab@{Af@wAf@kAf@gAn@gAp@aAt@_Al@o@p@m@j@e@~@q@f@Yf@YbB{@|IuEdAk@dAq@~@u@~@}@|@aAx@iAp@cAr@mAl@oAj@qAd@sAd@}A^yAXaBVwAh@cDhAiHXyAZwA\\sA`@sAd@oAh@kAj@mAp@gAVa@Ze@v@eAp@w@t@y@|@w@x@o@fAu@bG}Dl@a@l@e@j@k@h@m@b@k@v@eAt@iAl@iAn@uAh@yAdLa^b@qAf@kAh@gAn@iAr@gAv@eAzHkJx@kAl@aAXi@Tc@l@oAn@}ApAkDXq@n@eBh@oAl@sAzDiIvCoGr@uAp@sAx@uAv@sAlLgRp@mAl@qAj@sAb@qAb@_B^cBZeBRaBNgBHoBBcB@mBEcBIeBOiBuBgSKiAIkAGqACy@?u@?oBBgBFeBLcBRgBTaB\\cB\\}AjA}EdBcHf@_C`@gCXgCLgCFgC?_CG}BSiC[wCiHik@ScBOsBKwBIwBCkBAsBEoM?eHCeVKc`AAqI@aCFiCNgCReCZiC^_Ch@gCn@_Cp@yBz@uBh[gu@|Ou_@hMmZ|AqDbJiT|AuDjEiKj@uAn@aBd@wA`@{A^yAZ_BX_BR}APcBJcBHcBBcB?cBE{d@?aB@}A@aBBaBD{AHeBH{AN_BR{AXwAtBqJZyAZ}AT{ATcBNeBJaBHgBDcB?cBAeBIsIKwKGsDCgBAsA?wA@wCHcX?{AA_BCcBCoBEyAIoBk@gOEcBC_BAeB@aGB}H", - "mode": "driving", - "duration": 1945.8, "maneuver": { "bearing_after": 151, - "type": "merge", - "modifier": "slight left", - "bearing_before": 149, "location": [ - -122.427527, + -122.427528, 37.622767 ], + "type": "merge", + "bearing_before": 149, + "modifier": "slight left", "instruction": "Merge left onto Junipero Serra Freeway (I 280)" }, + "duration": 2538.7000000000003, + "distance": 59983.8, + "name": "Junipero Serra Freeway (I 280)", + "geometry": "iesdF`sfjV`LmGzDwBdAm@nAq@jAi@fAa@dAYn@Or@Ml@Gn@Gv@Ex@A|@?p@@r@Dt@Hr@Jz@P|@Vx@Vx@\\z@`@~@h@bGxDx@f@v@d@~@d@~@b@|@^x@Zv@Xz@V`AX`AV`AR`AP`AN`ALx@F|@F|@Dz@@`AA|@G|@G|@K|@O|@Q|@WbA[x@[z@a@t@]v@g@t@g@p@g@n@k@p@o@p@u@l@s@~B}CbJyLbHgJr@aAt@}@r@}@z@_A|@aAbAcApLkL|QsQlEkE^_@^_@zDyDr@s@v@w@v@{@t@aAr@cA|@qArB{CzAyBv@iAv@cAz@cA|@cAv@y@z@y@|@w@z@u@fAy@~@o@v@g@`Ak@bAi@jAm@zAs@xUcLlOoH~@g@|@k@x@k@x@q@z@y@tXmXj@m@j@q@r@aAt@eAl@eAl@qAf@iA`@gA^qA\\sAbBiH\\sAb@uAh@wAf@eAf@{@j@{@h@q@j@q@h_@i_@x@w@x@s@v@q@~@q@v@g@~@k@nTcMbAm@fAo@nAu@jAy@fAy@fA_AfAaAdA_A`VsT`A}@tNsM`FqEnAiAlAgAhAaAlAaArAcApA_AtA_AnAu@jAs@|\\iSpAu@rAq@nAm@tAg@tAg@zAi@|YmJpC}@bA]|@c@~@e@|@k@z@m@hHkGr@m@t@i@r@e@v@e@r@a@z@_@dIgDhAe@~@a@~@c@bAi@~@i@z@k@x@i@z@m@~@u@x@s@v@s@z@{@x@{@pUcWhAqAfAqArAaB`AoAdAwAdAyA`AwA`A{A~@}Az@{AdAkB|@eBrKuSzC_GbBaDnAaChAuBjAuBnAwBhAkBlJkO|@_Bz@eBv@kBl@eBj@qB`@gB^uBVmBRwBNwBHsBBuBBcKBsBDsBJwBNsBRkBVoBX}AZ_BZmAXeA\\mA\\aA`@gAd@gAj@oA`@{@hDuHl@oAj@qAj@uAf@wAd@wA`@uAd@_Bb@aB\\{AX}ARmARmAjAaIxAmJTiARcAP}@T{@T{@X{@Xw@Xu@\\w@\\s@\\s@^o@`@q@^m@b@o@b@k@d@i@d@k@f@g@h@e@f@c@j@c@j@a@l@_@j@]l@[l@Yn@Yn@Wr@Up@Up@Qp@Mp@Mp@Ir@Iz@Gt@Er@At@?r@@r@Br@Dr@FdBNpQ`BbJv@pCVr@Dt@Dr@Br@?r@Ar@Cr@Cr@Gr@Ir@Mr@Mp@Op@Qp@Sp@Up@Wl@Wn@[l@[l@_@l@_@j@c@j@c@f@e@h@g@f@g@z@_Ah@m@h@o@h@m@|IsJf@i@h@i@f@g@j@g@j@e@j@e@l@e@j@a@h@_@p@_@n@]d@Wb@Sj@Wn@Up@Wp@Un@Qr@Sp@Ox@O\\G\\Gj@In@Gp@Gx@Gp@Cl@CdBC|GIx@Az@Cx@G|@It@K~@Od@K`@Kn@Oj@Qv@Wv@[x@_@|@e@`Am@z@k@x@o@v@q@r@q@p@u@l@s@n@y@l@_Al@_ArZ_i@vImO`AeB~@{ApAwBfNyTr@iAp@mAl@oAj@qAf@qA`@mA\\kAZeARu@P{@R_ARiAPcAR_BN}ANaBHaBF_BDwA?{A?{AAu@Aw@C}@E}@aA}QIcBE{ACyA@{A@uAFwAHyALwAN}ARyAVuAXwA\\qA^qAd@uAf@qAh@mAl@kAl@eAn@aAxJkNjBkCjCoDtCuDdNaQ|AmBvD{E~LuObAsAnAcBdA_BhAaBrNsTrAuBzAyBdK_Or@eA~@{A|JeP~JkPl@aAl@eAn@qAj@sAb@mA`@yA^wAX_BXkBTqBbBeTLoANqARkAVoAXkAZeA^eAb@gAd@eAh@cAl@aAj@y@r@_Av@{@rBwBbCeCv@y@t@aAp@aAl@eAj@iAl@wAh@yAd@}A`@aBdFmUhDwO~@eEzFyWvAmG`AkE\\{Ab@wAb@sAf@sAj@oAn@oAr@mAx@oAx@eA`AgAbAcAzIcIhAcAlAmAx@u@|LaMnd@ce@bAkAx@gAz@oAn@kAv@_Bl@}An@qBb@cB\\iBRsAPuAJqAHkADsAR{IDeADcAFy@H_ALaAPcARcAVaAX_A`@eA^{@d@aAjCeFZo@Xm@Vm@Xw@Vw@p@_C\\cBVaBR{AL_Bd@gGj@mHL{ARsAXuAZoA`@kAd@qAd@aAb@y@j@_Af@q@j@s@^_@^_@l@e@n@e@n@a@n@]r@[p@Wt@Up@Or@Mx@KfMcBt@Kv@Kt@Ml@Kp@On@Sn@Sr@Wr@[n@]r@_@p@e@p@g@n@i@h@i@p@s@l@q@tO_R`AiAhAmA~@aAdAcAhAaAxHyGd@c@tGyFbA}@jAoAbAoA~@qAz@uAx@}Ar@}An@aBh@eBf@iB`@gBz@iEXqAnEwTXaBXkBNcBJiBr@gTH_BNeBTcBX{A\\}Ad@{Af@wAf@iAf@gAn@iAp@aAt@_Al@o@p@m@j@e@~@q@f@Yd@YdB{@|IuEdAk@bAq@`Au@~@}@|@aAx@iAp@cAr@mAl@oAj@qAd@sAd@}A^yAXaBVwAh@cDhAiHVyAZwA^sA`@sAd@mAh@mAj@mAp@gAVa@Ze@v@eAp@w@t@y@|@w@x@o@fAu@bG}Dl@a@l@e@j@k@h@m@b@k@v@eAt@iAl@iAn@uAh@wAdLc^b@oAf@mAh@gAn@iAr@gAv@eAzHkJx@kAl@aAXi@Tc@l@oAn@}ApAkDXq@n@eBh@oAl@sAzDiIvCoGr@sAp@uAx@uAv@sAlLgRp@mAl@qAj@sAb@qAb@_B^cBZeBRaBNgBHoBBcB@mBEcBIeBOiBuBeSKiAImAGqACy@?u@?oBBgBFeBLcBRgBTaB\\cB\\}AjA}EdBcHf@_C`@gCVgCNgCFgC?_CI}BQiC[wCsAaKwEg_@SmBMiBKwBIwBCkBAsBG{MAoG?iVKk`AAoI@aCFiCNgCReCZiC`@_Ch@eCl@_Cr@yBx@wBbO{]jJ{TvPea@hMmZ|AqDbJiT|AuDjEiKj@uAn@aBd@wA`@{A^yAZ_BX_BR}APcBJaBHeBBaB?eBE{d@?_B@_B@aBBaBDyAHgBF{AP_BR{AXwAtBqJZyAZ}AT{ATcBNeBJaBHgBDcB?aBAgBIsIKwKGqDCiBAsA?wA@uCHeX?{AA_BCcBEoBEwAGqBk@gOEcBC_BAeB@aG@}H", "ref": "I 280", - "distance": 59984.2, - "name": "Junipero Serra Freeway (I 280)" + "weight": 2538.7000000000003, + "mode": "driving" }, { "intersections": [ { - "out": 0, + "out": 1, + "in": 2, + "entry": [ + true, + true, + false + ], "location": [ -121.948756, - 37.316694 + 37.316695 ], "bearings": [ 90, 95, 271 - ], + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, true, false ], - "in": 2 + "location": [ + -121.945339, + 37.31665 + ], + "bearings": [ + 89, + 94, + 269 + ] }, { - "out": 0, + "out": 2, + "in": 1, + "entry": [ + false, + false, + true + ], "location": [ - -121.938882, - 37.317308 + -121.94005, + 37.32083 ], "bearings": [ - 90, - 255, - 270 - ], + 167, + 172, + 352 + ] + } + ], + "geometry": "klwbFvbigVHsB@q@@u@CoMEgH?k@Cm@Gq@Eo@Ko@Ki@Mi@Ok@Sg@Qe@Sa@S_@U[W]WYY[YW[U]U[Q]O[O]K_@K]IWCYEWAWAYAW?W@Y@]DYBcAJyFl@}@HgDTkB`@", + "maneuver": { + "bearing_after": 94, + "location": [ + -121.948756, + 37.316695 + ], + "type": "off ramp", + "bearing_before": 90, + "modifier": "slight right", + "instruction": "Take the ramp on the right towards I-880 North" + }, + "duration": 64.9, + "distance": 1423.5, + "destinations": "I-880 North, Oakland, SR-17 South, Santa Cruz", + "name": "", + "weight": 64.9, + "mode": "driving" + }, + { + "intersections": [ + { + "out": 0, + "in": 1, "entry": [ true, false, false ], - "in": 2 + "location": [ + -121.940614, + 37.323767 + ], + "bearings": [ + 0, + 165, + 180 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + false, + false + ], "location": [ - -121.9352, - 37.317297 + -121.940691, + 37.326231 ], "bearings": [ - 93, - 267, - 272 + 1, + 174, + 179 + ] + } + ], + "maneuver": { + "bearing_after": 357, + "location": [ + -121.940614, + 37.323767 + ], + "type": "merge", + "bearing_before": 344, + "modifier": "slight left", + "instruction": "Merge left onto Nimitz Freeway (I 880)" + }, + "duration": 66.7, + "distance": 1120.6, + "name": "Nimitz Freeway (I 880)", + "geometry": "qxxbFxoggVaEHiHDyCAmA@uG@eAAuAKgBW_AY_Aa@_A_@_B{@iBsA}BoC_BaC", + "ref": "I 880", + "weight": 66.7, + "mode": "driving" + }, + { + "intersections": [ + { + "out": 1, + "in": 2, + "entry": [ + true, + true, + false + ], + "location": [ + -121.937958, + 37.333164 + ], + "bearings": [ + 45, + 60, + 225 + ] + } + ], + "geometry": "gszbFf_ggVe@oA_@o@e@_AGQGUCMAM?K?K@MBK@MDMLUr@gA\\g@JS^g@", + "maneuver": { + "bearing_after": 57, + "location": [ + -121.937958, + 37.333164 + ], + "type": "off ramp", + "bearing_before": 46, + "modifier": "slight right", + "instruction": "Take the ramp on the right towards Bascom Avenue South" + }, + "duration": 38.2, + "distance": 287.8, + "destinations": "Bascom Avenue South", + "name": "", + "weight": 38.2, + "mode": "driving" + }, + { + "intersections": [ + { + "out": 0, + "in": 1, + "entry": [ + true, + false, + false + ], + "location": [ + -121.935301, + 37.333042 ], + "bearings": [ + 150, + 315, + 330 + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, false, false ], - "in": 2 + "location": [ + -121.934982, + 37.332683 + ], + "bearings": [ + 135, + 255, + 330 + ] }, { "out": 0, + "in": 1, + "entry": [ + true, + false, + true + ], "location": [ - -121.934228, - 37.31725 + -121.934948, + 37.332657 ], "bearings": [ - 90, - 105, - 270 + 150, + 315, + 345 + ] + } + ], + "geometry": "orzbFrnfgVXU^WLQBEhCmA", + "duration": 31.5, + "distance": 137, + "name": "North Bascom Avenue", + "weight": 32, + "mode": "driving", + "maneuver": { + "bearing_after": 144, + "location": [ + -121.935301, + 37.333042 + ], + "type": "turn", + "bearing_before": 133, + "modifier": "straight", + "instruction": "Go straight onto North Bascom Avenue" + } + }, + { + "intersections": [ + { + "out": 0, + "in": 3, + "lanes": [ + { + "valid": true, + "indications": [ + "left" + ] + }, + { + "valid": false, + "indications": [ + "none" + ] + }, + { + "valid": false, + "indications": [ + "none" + ] + } ], "entry": [ + true, true, true, false ], - "in": 2 + "location": [ + -121.934557, + 37.331972 + ], + "bearings": [ + 45, + 150, + 225, + 330 + ] + }, + { + "out": 0, + "in": 2, + "entry": [ + true, + true, + false, + true + ], + "location": [ + -121.932482, + 37.333556 + ], + "bearings": [ + 45, + 135, + 225, + 315 + ] }, { "out": 0, + "in": 2, + "entry": [ + true, + true, + false, + true, + true + ], "location": [ - -121.922833, - 37.316744 + -121.930764, + 37.334844 ], "bearings": [ - 89, - 94, - 269 + 60, + 135, + 240, + 315, + 330 + ] + }, + { + "out": 0, + "in": 1, + "entry": [ + true, + false, + true + ], + "location": [ + -121.928548, + 37.336421 + ], + "bearings": [ + 30, + 225, + 315 + ] + }, + { + "out": 0, + "in": 2, + "lanes": [ + { + "valid": false, + "indications": [ + "left" + ] + }, + { + "valid": true, + "indications": [ + "none" + ] + }, + { + "valid": true, + "indications": [ + "none" + ] + } + ], + "entry": [ + true, + true, + false, + true + ], + "location": [ + -121.927918, + 37.33718 + ], + "bearings": [ + 45, + 135, + 225, + 315 + ] + }, + { + "out": 0, + "in": 2, + "entry": [ + true, + true, + false, + true + ], + "location": [ + -121.926428, + 37.338195 + ], + "bearings": [ + 45, + 135, + 225, + 315 + ] + }, + { + "out": 0, + "in": 2, + "entry": [ + true, + true, + false, + true + ], + "location": [ + -121.924543, + 37.339615 + ], + "bearings": [ + 45, + 135, + 225, + 315 + ] + }, + { + "out": 1, + "in": 3, + "entry": [ + false, + true, + true, + false + ], + "location": [ + -121.923352, + 37.340538 + ], + "bearings": [ + 15, + 45, + 75, + 225 + ] + } + ], + "geometry": "ykzbF~ifgVw@gAeGwI_EkF_AkBYq@Qa@oE_H_AeA_Ai@[WIGa@a@OQIMk@_AuC{E{GyJoCyDg@s@]e@IM", + "duration": 130.60000000000002, + "distance": 1411.4, + "name": "West Hedding Street", + "weight": 130.60000000000002, + "mode": "driving", + "maneuver": { + "bearing_after": 45, + "location": [ + -121.934557, + 37.331972 + ], + "type": "turn", + "bearing_before": 154, + "modifier": "left", + "instruction": "Turn left onto West Hedding Street" + } + }, + { + "intersections": [ + { + "out": 1, + "in": 2, + "entry": [ + true, + true, + false, + false + ], + "location": [ + -121.923092, + 37.340736 + ], + "bearings": [ + 45, + 135, + 225, + 315 + ] + }, + { + "out": 0, + "in": 2, + "entry": [ + true, + false, + false + ], + "location": [ + -121.922831, + 37.340515 + ], + "bearings": [ + 135, + 285, + 315 + ] + }, + { + "out": 1, + "in": 3, + "lanes": [ + { + "valid": false, + "indications": [ + "left" + ] + }, + { + "valid": true, + "indications": [ + "none" + ] + } + ], + "entry": [ + true, + true, + true, + false + ], + "location": [ + -121.921939, + 37.339774 + ], + "bearings": [ + 45, + 135, + 225, + 315 + ] + }, + { + "out": 1, + "in": 3, + "lanes": [ + { + "valid": false, + "indications": [ + "left" + ] + }, + { + "valid": true, + "indications": [ + "none" + ] + }, + { + "valid": true, + "indications": [ + "none" + ] + } + ], + "entry": [ + true, + true, + true, + false + ], + "location": [ + -121.920796, + 37.338785 + ], + "bearings": [ + 45, + 135, + 225, + 315 + ] + }, + { + "out": 1, + "in": 3, + "lanes": [ + { + "valid": false, + "indications": [ + "left" + ] + }, + { + "valid": true, + "indications": [ + "none" + ] + }, + { + "valid": true, + "indications": [ + "none" + ] + } + ], + "entry": [ + true, + true, + true, + false + ], + "location": [ + -121.919337, + 37.337576 + ], + "bearings": [ + 75, + 135, + 240, + 315 + ] + }, + { + "out": 1, + "in": 3, + "entry": [ + true, + true, + true, + false + ], + "location": [ + -121.917961, + 37.336424 + ], + "bearings": [ + 45, + 135, + 225, + 315 + ] + }, + { + "out": 1, + "in": 2, + "entry": [ + true, + true, + false + ], + "location": [ + -121.917647, + 37.336166 + ], + "bearings": [ + 45, + 135, + 315 + ] + }, + { + "out": 1, + "in": 3, + "lanes": [ + { + "valid": false, + "indications": [ + "left" + ] + }, + { + "valid": true, + "indications": [ + "none" + ] + }, + { + "valid": true, + "indications": [ + "none" + ] + } + ], + "entry": [ + true, + true, + true, + false + ], + "location": [ + -121.916571, + 37.33528 + ], + "bearings": [ + 15, + 135, + 225, + 315 + ] + }, + { + "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], + "location": [ + -121.91595, + 37.334765 + ], + "bearings": [ + 135, + 225, + 315 + ] + }, + { + "out": 1, + "in": 2, + "entry": [ + true, + true, + false + ], + "location": [ + -121.915432, + 37.33433 + ], + "bearings": [ + 105, + 135, + 315 + ] + }, + { + "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], + "location": [ + -121.915242, + 37.33417 + ], + "bearings": [ + 135, + 225, + 315 + ] + }, + { + "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], + "location": [ + -121.914536, + 37.333575 + ], + "bearings": [ + 135, + 225, + 315 + ] + }, + { + "out": 1, + "in": 2, + "lanes": [ + { + "valid": false, + "indications": [ + "left" + ] + }, + { + "valid": true, + "indications": [ + "none" + ] + }, + { + "valid": true, + "indications": [ + "none" + ] + } + ], + "entry": [ + true, + true, + false + ], + "location": [ + -121.914078, + 37.333204 + ], + "bearings": [ + 45, + 135, + 315 + ] + }, + { + "out": 1, + "in": 3, + "entry": [ + false, + true, + true, + false + ], + "location": [ + -121.913798, + 37.332975 + ], + "bearings": [ + 45, + 135, + 225, + 315 + ] + }, + { + "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], + "location": [ + -121.913049, + 37.332322 + ], + "bearings": [ + 135, + 210, + 315 + ] + }, + { + "out": 1, + "in": 2, + "lanes": [ + { + "valid": false, + "indications": [ + "left" + ] + }, + { + "valid": true, + "indications": [ + "straight" + ] + }, + { + "valid": true, + "indications": [ + "straight" + ] + } + ], + "entry": [ + true, + true, + false + ], + "location": [ + -121.912934, + 37.332232 + ], + "bearings": [ + 105, + 135, + 315 + ] + }, + { + "out": 0, + "in": 2, + "entry": [ + true, + false, + false + ], + "location": [ + -121.91287, + 37.332182 + ], + "bearings": [ + 135, + 240, + 315 + ] + }, + { + "out": 1, + "in": 2, + "lanes": [ + { + "valid": true, + "indications": [ + "left" + ] + }, + { + "valid": true, + "indications": [ + "straight" + ] + }, + { + "valid": true, + "indications": [ + "straight" + ] + } + ], + "entry": [ + false, + true, + false + ], + "location": [ + -121.912634, + 37.331981 + ], + "bearings": [ + 0, + 135, + 315 + ] + }, + { + "out": 1, + "in": 5, + "entry": [ + false, + true, + true, + false, + true, + false, + true + ], + "location": [ + -121.911973, + 37.331486 + ], + "bearings": [ + 75, + 105, + 180, + 225, + 255, + 315, + 345 + ] + }, + { + "out": 1, + "in": 3, + "entry": [ + false, + true, + true, + false + ], + "location": [ + -121.909951, + 37.331535 + ], + "bearings": [ + 45, + 90, + 180, + 270 + ] + }, + { + "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], + "location": [ + -121.909174, + 37.331575 + ], + "bearings": [ + 90, + 180, + 270 + ] + }, + { + "out": 1, + "in": 2, + "entry": [ + true, + true, + false + ], + "location": [ + -121.908934, + 37.331586 + ], + "bearings": [ + 60, + 90, + 270 + ] + }, + { + "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], + "location": [ + -121.908404, + 37.331608 + ], + "bearings": [ + 90, + 180, + 270 + ] + }, + { + "out": 0, + "in": 2, + "entry": [ + true, + true, + false + ], + "location": [ + -121.907481, + 37.33165 + ], + "bearings": [ + 90, + 180, + 270 + ] + }, + { + "out": 1, + "in": 3, + "lanes": [ + { + "valid": false, + "indications": [ + "left" + ] + }, + { + "valid": true, + "indications": [ + "none" + ] + }, + { + "valid": true, + "indications": [ + "none" + ] + } ], "entry": [ + true, true, true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -121.90984, - 37.314837 + -121.906626, + 37.331685 ], "bearings": [ - 70, - 250, - 257 - ], + 0, + 90, + 180, + 270 + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, - false, + true, false ], - "in": 2 - }, - { - "out": 0, "location": [ - -121.9025, - 37.318419 + -121.905668, + 37.331734 ], "bearings": [ - 40, - 45, - 223 - ], + 90, + 180, + 270 + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, true, false ], - "in": 2 + "location": [ + -121.904726, + 37.331774 + ], + "bearings": [ + 90, + 180, + 270 + ] } ], - "geometry": "ilwbFvbigV?kAAmAAgBEcBEeBMaEcAg[O_FE_BCaBAcB?kE@eF?eB@cBBaBD_BFaBJcBLcBf@cHFaAHcBF}ADkBBcB?aB?g@AkGAqKC}KEcL@aABeAB}@FaAF{@JaALaAPcANy@R}@Ry@V{@fDaLT{@R}@PaAL_AJ_AJgAD}@DgA@_AAgAA_AEgAGcAKeAMaAM_AS_AS_AU}@[aAoBqFg@sA}AkEe@sAe@qAk@wAk@qAs@qAo@gAu@gAo@w@o@s@u@s@eAaAkDwCMIm@k@{@{@", + "geometry": "sb|bFhbdgVNQZa@d@k@`@g@^g@\\c@NQbCyCr@{@JMJMtBmC~AqBNU\\a@TY~AsBZ_@l@w@HKp@}@`BwBj@q@V]DIDEdB{BJKjA{A^e@Za@xAiBFIv@cAJMj@w@|AkBd@i@PWHKDGPSNShA}AVe@DY@W?YCaAAsAGiCA]AIG{CAo@CiBA[E{CCkAAkAAQG_EAYEqC?OCiACkAA[", + "duration": 244.40000000000003, + "distance": 2144.3, + "name": "The Alameda", + "weight": 242.40000000000003, "mode": "driving", - "duration": 173, "maneuver": { - "bearing_after": 88, - "type": "new name", - "modifier": "straight", - "bearing_before": 90, + "bearing_after": 136, "location": [ - -121.948756, - 37.316694 + -121.923092, + 37.340736 ], - "instruction": "Continue straight onto Sinclair Freeway (I 280)" - }, - "ref": "I 280", - "distance": 4587.6, - "name": "Sinclair Freeway (I 280)" + "type": "turn", + "bearing_before": 45, + "modifier": "right", + "instruction": "Turn right onto The Alameda" + } }, { "intersections": [ { + "out": 0, + "in": 2, "lanes": [ { "valid": false, "indications": [ - "straight" - ] - }, - { - "valid": false, - "indications": [ - "straight" - ] - }, - { - "valid": false, - "indications": [ - "straight" + "left" ] }, { "valid": true, "indications": [ - "straight", - "right" + "none" ] }, { "valid": true, "indications": [ - "right" + "none" ] } ], - "out": 1, - "location": [ - -121.900317, - 37.320743 - ], - "bearings": [ - 41, - 49, - 219 - ], "entry": [ true, true, - false + false, + true ], - "in": 2 - } - ], - "geometry": "sexbF~s_gV{AeC_@q@_@q@]q@Yo@Ys@Uo@Uo@Sq@Oq@Qs@Mq@Im@Ik@Gs@", - "maneuver": { - "bearing_after": 49, - "type": "off ramp", - "modifier": "slight right", - "bearing_before": 37, - "location": [ - -121.900317, - 37.320743 - ], - "instruction": "Take the ramp on the right towards SR-87: Guadalupe Parkway" - }, - "mode": "driving", - "duration": 16, - "distance": 426.1, - "name": "", - "destinations": "SR-87: Guadalupe Parkway" - }, - { - "intersections": [ - { - "out": 0, "location": [ - -121.896197, - 37.322628 + -121.903841, + 37.331817 ], "bearings": [ - 75, 90, - 255 - ], + 180, + 270, + 345 + ] + }, + { + "out": 0, + "in": 2, "entry": [ true, true, + false, false ], - "in": 2 - }, - { - "out": 3, "location": [ - -121.894423, - 37.327726 + -121.902186, + 37.331873 ], "bearings": [ - 140, - 144, - 148, - 331 - ], + 90, + 180, + 270, + 345 + ] + }, + { + "out": 1, + "in": 3, "entry": [ false, - false, - false, - true + true, + true, + false ], - "in": 1 - } - ], - "geometry": "mqxbFfz~fVGu@Ey@MoDKeCCa@E_@Ga@I_@K_@M]O[QYS[SUSUWQWOYOYK[I[EYC[A[?[B[DYHWHWLULWPyElEeAbAkAfAu@n@URSLSLa@T]N[La@PuGbCoAf@a@L", - "maneuver": { - "bearing_after": 80, - "type": "fork", - "modifier": "slight left", - "bearing_before": 78, - "location": [ - -121.896197, - 37.322628 - ], - "instruction": "Keep left at the fork towards SR-87 North: Guadalupe Parkway" - }, - "mode": "driving", - "duration": 52.2, - "distance": 1241.9, - "name": "", - "destinations": "SR-87 North: Guadalupe Parkway" - }, - { - "intersections": [ - { - "out": 2, "location": [ - -121.895944, - 37.330634 + -121.901245, + 37.331912 ], "bearings": [ - 162, - 340, - 352 - ], - "entry": [ - false, - true, - true - ], - "in": 0 + 0, + 90, + 180, + 270 + ] } ], - "geometry": "mczbFrx~fVeBP{Cd@aAPwB\\eAPYD", + "geometry": "{jzbF~i`gV?_@IiHAYEiC?WAWCmBAi@AY", + "duration": 49, + "distance": 319.3, + "name": "West Santa Clara Street", + "weight": 49, + "mode": "driving", "maneuver": { - "bearing_after": 351, - "type": "fork", - "modifier": "slight right", - "bearing_before": 341, + "bearing_after": 87, "location": [ - -121.895944, - 37.330634 + -121.903841, + 37.331817 ], - "instruction": "Keep right at the fork" - }, - "duration": 43.4, - "distance": 305.6, - "name": "", - "mode": "driving" + "type": "new name", + "bearing_before": 85, + "modifier": "straight", + "instruction": "Continue straight onto West Santa Clara Street" + } }, { "intersections": [ { + "out": 0, + "in": 3, "lanes": [ - { - "valid": true, - "indications": [ - "left" - ] - }, { "valid": true, "indications": [ @@ -2532,34 +3543,36 @@ { "valid": false, "indications": [ - "right" + "none" ] }, { "valid": false, "indications": [ - "right" + "none" ] } ], - "out": 2, - "location": [ - -121.896583, - 37.333333 - ], - "bearings": [ - 60, - 165, - 240 - ], "entry": [ + true, true, false, - true + false + ], + "location": [ + -121.900235, + 37.331957 ], - "in": 1 + "bearings": [ + 0, + 90, + 180, + 270 + ] }, { + "out": 0, + "in": 2, "lanes": [ { "valid": false, @@ -2570,57 +3583,24 @@ { "valid": true, "indications": [ - "none" + "straight" ] }, { - "valid": true, + "valid": false, "indications": [ - "none" + "right" ] } ], - "out": 2, - "location": [ - -121.8991, - 37.332187 - ], - "bearings": [ - 60, - 165, - 240 - ], "entry": [ - false, true, + false, + false, true ], - "in": 0 - } - ], - "geometry": "itzbFr|~fVD^t@rBXt@L^^|@|@hCXp@FRFPBRBRDlC?Z", - "maneuver": { - "bearing_after": 237, - "type": "turn", - "modifier": "left", - "bearing_before": 347, - "location": [ - -121.896583, - 37.333333 - ], - "instruction": "Turn left onto West Santa Clara Street" - }, - "duration": 51.1, - "distance": 359.9, - "name": "West Santa Clara Street", - "mode": "driving" - }, - { - "intersections": [ - { - "out": 0, "location": [ - -121.900243, + -121.900244, 37.332079 ], "bearings": [ @@ -2628,32 +3608,26 @@ 90, 180, 270 - ], - "entry": [ - true, - false, - true, - true - ], - "in": 1 + ] } ], - "geometry": "olzbFns_gVQ@e@BW@gDJ", + "geometry": "wkzbFns_gVW?Q@e@BW@gDJ", + "duration": 20.200000000000003, + "distance": 151.6, + "name": "South Autumn Street", + "weight": 20.200000000000003, + "mode": "driving", "maneuver": { "bearing_after": 355, - "type": "turn", - "modifier": "right", - "bearing_before": 267, "location": [ - -121.900243, - 37.332079 + -121.900235, + 37.331957 ], - "instruction": "Turn right onto North Autumn Street" - }, - "duration": 20.6, - "distance": 137.8, - "name": "North Autumn Street", - "mode": "driving" + "type": "turn", + "bearing_before": 85, + "modifier": "left", + "instruction": "Turn left onto South Autumn Street" + } }, { "intersections": [ @@ -2662,57 +3636,45 @@ "entry": [ true ], + "location": [ + -121.90034, + 37.333317 + ], "bearings": [ 177 - ], - "location": [ - -121.900339, - 37.333316 ] } ], "geometry": "gtzbFbt_gV", + "duration": 0, + "distance": 0, + "name": "North Autumn Street", + "weight": 0, + "mode": "driving", "maneuver": { "bearing_after": 0, - "type": "arrive", - "modifier": "right", - "bearing_before": 357, "location": [ - -121.900339, - 37.333316 + -121.90034, + 37.333317 ], + "type": "arrive", + "bearing_before": 357, + "modifier": "right", "instruction": "You have arrived at your destination, on the right" - }, - "duration": 0, - "distance": 0, - "name": "North Autumn Street", - "mode": "driving" + } } ], + "weight": 4510, + "distance": 88465.5, "summary": "Junipero Serra Freeway, Junipero Serra Freeway", - "duration": 3520.8, - "distance": 88549 + "duration": 4511.5 } ], - "geometry": "kqreFhodjVhh@nFhz@slAx|AkNnwAv^`eDikA`sEem@ldCfpBnaCcFbk@ndD|dAen@ppAnT`{Ga_Hp{GsrE`hA}lB`}@iyD`}AoFd{BycAhjAuqBrKukBzkC_yDznAqjEjvAq{Anc@y~BnvBo{At]glBfxDqwG{AmsItcBwtEpTqaNmx@kyBmz@bq@", - "duration": 3520.8, - "distance": 88549 - } - ], - "waypoints": [ - { - "name": "Eddy Street", - "location": [ - -122.416685, - 37.783424 - ] - }, - { - "name": "North Autumn Street", - "location": [ - -121.900339, - 37.333316 - ] + "weight_name": "routability", + "geometry": "mqreFhodjV|q@yCxo@a`Av}AsNnwAv^~dDikAbsEem@ldCfpBlaCcFdk@ndD|dAen@npAnTb{Ga_Hp{GsrE`hA}lBv{@cxDj~AuGd{BycAhjAuqBrKukBzkC_yDznAqjEjvAq{Anc@y~BnvBo{At]elBfxDswGgAswId`BodEtMcbCqEqpDixA{Jsx@cgBxx@odAmJugA", + "weight": 4510, + "distance": 88465.5, + "duration": 4511.5 } ], "code": "Ok" diff --git a/mapbox/libjava-services/src/test/java/com/mapbox/services/api/directions/v5/MapboxDirectionsTest.java b/mapbox/libjava-services/src/test/java/com/mapbox/services/api/directions/v5/MapboxDirectionsTest.java index e332742a2..fec30facb 100644 --- a/mapbox/libjava-services/src/test/java/com/mapbox/services/api/directions/v5/MapboxDirectionsTest.java +++ b/mapbox/libjava-services/src/test/java/com/mapbox/services/api/directions/v5/MapboxDirectionsTest.java @@ -35,7 +35,7 @@ import static org.hamcrest.Matchers.startsWith; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotEquals; +import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; public class MapboxDirectionsTest { @@ -353,10 +353,10 @@ public void testDirectionsRoute() throws ServicesException, IOException { Response response = client.executeCall(); DirectionsRoute route = response.body().getRoutes().get(0); - assertEquals(route.getDistance(), 78167.9, DELTA); - assertEquals(route.getDuration(), 3535.2, DELTA); - assertTrue(route.getGeometry().startsWith("mqreFhodjVjBjYjuAoK~HurAv}")); - assertEquals(route.getWeight(), 3633.6, DELTA); + assertEquals(route.getDistance(), 77254.7, DELTA); + assertEquals(route.getDuration(), 3282.8, DELTA); + assertTrue(route.getGeometry().startsWith("mqreFhodjV|q@yCxo@a`Av}AsNn")); + assertEquals(route.getWeight(), 6524.2, DELTA); assertEquals(route.getWeightName(), DirectionsCriteria.WEIGHT_NAME_ROUTABILITY); assertEquals(route.getLegs().size(), 1); } @@ -373,9 +373,9 @@ public void testGeometryPolyline6() throws ServicesException, IOException { Response response = client.executeCall(); DirectionsRoute route = response.body().getRoutes().get(0); - assertEquals(route.getDistance(), 78167.9, DELTA); - assertEquals(route.getDuration(), 3535.2, DELTA); - assertTrue(route.getGeometry().startsWith("awbagAzavnh")); + assertEquals(route.getDistance(), 77254.7, DELTA); + assertEquals(route.getDuration(), 3282.8, DELTA); + assertTrue(route.getGeometry().startsWith("awbagAzavnhFd|")); assertEquals(route.getLegs().size(), 1); } @@ -390,9 +390,10 @@ public void testDirectionsTrafficProfile() throws ServicesException, IOException .build(); Response response = client.executeCall(); DirectionsRoute route = response.body().getRoutes().get(0); - assertEquals(route.getDistance(), 88549, DELTA); - assertEquals(route.getDuration(), 3520.8, DELTA); - assertTrue(route.getGeometry().startsWith("kqreFhodjV")); + assertEquals(route.getDistance(), 88465.5, DELTA); + assertEquals(route.getDuration(), 4511.5, DELTA); + assertEquals(route.getWeight(), 4510, DELTA); + assertTrue(route.getGeometry().startsWith("mqreFhodjV|q@yCxo")); assertEquals(route.getLegs().size(), 1); } @@ -425,10 +426,10 @@ public void testRouteLeg() throws ServicesException, IOException { Response response = client.executeCall(); RouteLeg leg = response.body().getRoutes().get(0).getLegs().get(0); - assertEquals(leg.getDistance(), 78167.9, DELTA); - assertEquals(leg.getDuration(), 3535.2, DELTA); + assertEquals(leg.getDistance(), 77254.7, DELTA); + assertEquals(leg.getDuration(), 3282.8, DELTA); assertEquals(leg.getSummary(), "Bayshore Freeway, Bayshore Freeway"); - assertEquals(leg.getSteps().size(), 11); + assertEquals(leg.getSteps().size(), 15); } @Test @@ -443,14 +444,14 @@ public void testLegStep() throws ServicesException, IOException { Response response = client.executeCall(); LegStep step = response.body().getRoutes().get(0).getLegs().get(0).getSteps().get(0); - assertEquals(step.getDistance(), 376.1, DELTA); - assertEquals(step.getDuration(), 148.8, DELTA); - assertTrue(step.getGeometry().contains("mqreFhodjVTjDh@fIf@xHB")); + assertEquals(step.getDistance(), 69.7, DELTA); + assertEquals(step.getDuration(), 23.5, DELTA); + assertTrue(step.getGeometry().contains("mqreFhodjVQ}C")); assertEquals(step.getName(), "Eddy Street"); assertEquals(step.getMode(), "driving"); - assertEquals(step.getWeight(), 148.8, DELTA); - assertNotEquals(step.getManeuver(), null); - assertEquals(step.getIntersections().size(), 4); + assertEquals(step.getWeight(), 42.7, DELTA); + assertNotNull(step.getManeuver()); + assertEquals(step.getIntersections().size(), 1); } @Test @@ -465,13 +466,13 @@ public void testStepIntersection() throws ServicesException, IOException { Response response = client.executeCall(); StepIntersection intersection = response.body().getRoutes().get(0).getLegs() - .get(0).getSteps().get(0).getIntersections().get(1); - assertEquals(intersection.asPosition().getLongitude(), -122.417548, DELTA); - assertEquals(intersection.asPosition().getLatitude(), 37.783315, DELTA); + .get(0).getSteps().get(1).getIntersections().get(0); + assertEquals(intersection.asPosition().getLongitude(), -122.415903, DELTA); + assertEquals(intersection.asPosition().getLatitude(), 37.783524, DELTA); assertArrayEquals(intersection.getBearings(), new int[] {75, 165, 255, 345}); - assertArrayEquals(intersection.getEntry(), new boolean[] {false, false, true, true}); - assertEquals(intersection.getIn(), 0); - assertEquals(intersection.getOut(), 2); + assertArrayEquals(intersection.getEntry(), new boolean[] {true, true, false, false}); + assertEquals(intersection.getIn(), 2); + assertEquals(intersection.getOut(), 1); } @Test @@ -486,9 +487,9 @@ public void testIntersectionLanes() throws ServicesException, IOException { Response response = client.executeCall(); IntersectionLanes intersectionLanes = response.body().getRoutes().get(0).getLegs() - .get(0).getSteps().get(1).getIntersections().get(3).getLanes()[0]; - assertEquals(intersectionLanes.getValid(), false); - assertEquals(intersectionLanes.getIndications()[0], "left"); + .get(0).getSteps().get(3).getIntersections().get(0).getLanes()[3]; + assertEquals(intersectionLanes.getValid(), true); + assertEquals(intersectionLanes.getIndications()[0], "right"); } @@ -508,10 +509,10 @@ public void testStepManeuver() throws ServicesException, IOException { assertEquals(maneuver.asPosition().getLongitude(), -122.416686, DELTA); assertEquals(maneuver.asPosition().getLatitude(), 37.783425, DELTA); assertEquals(maneuver.getBearingBefore(), 0, DELTA); - assertEquals(maneuver.getBearingAfter(), 261, DELTA); + assertEquals(maneuver.getBearingAfter(), 81, DELTA); assertEquals(maneuver.getType(), "depart"); - assertEquals(maneuver.getModifier(), "left"); - assertEquals(maneuver.getInstruction(), "Head west on Eddy Street"); + assertEquals(maneuver.getModifier(), "right"); + assertEquals(maneuver.getInstruction(), "Head east on Eddy Street"); assertEquals(maneuver.getExit(), null); } @@ -628,4 +629,37 @@ public void originDestinationCoordinatesListCorrectOrder() throws ServicesExcept callUrl.contains("-122.4313,37.7789;-122.416667,37.783333;-121.9,37.333333;-121.8001,37.2275") ); } + + @Test + public void setLanguage_urlDoesContainLangaugeParam() throws IOException { + MapboxDirections client = new MapboxDirections.Builder() + .setAccessToken("pk.XXX") + .setCoordinates(positions) + .setProfile(DirectionsCriteria.PROFILE_DRIVING) + .setBaseUrl(mockUrl.toString()) + .setLanguage("sv") + .setAnnotation(DirectionsCriteria.ANNOTATION_DURATION) + .build(); + + String callUrl = client.executeCall().raw().request().url().toString(); + assertTrue( + callUrl.contains("language=sv") + ); + } + + @Test + public void setLanguage_doesReturnCorrectTurnInstructionLanguage() throws IOException { + MapboxDirections client = new MapboxDirections.Builder() + .setAccessToken("pk.XXX") + .setCoordinates(positions) + .setProfile(DirectionsCriteria.PROFILE_DRIVING) + .setBaseUrl(mockUrl.toString()) + .setLanguage("sv") + .setAnnotation(DirectionsCriteria.ANNOTATION_DURATION) + .build(); + + Response response = client.executeCall(); + assertTrue(response.body().getRoutes().get(0).getLegs().get(0) + .getSteps().get(0).getManeuver().getInstruction().contains("Kör åt öster på Eddy Street")); + } }