Last active
          February 26, 2019 13:39 
        
      - 
      
- 
        Save stoefln/b5b087133a41e92601717cc5390d7ab4 to your computer and use it in GitHub Desktop. 
    Graphhopper response converted to mapbox format. Origin of route: Lat/Lng: (41.406914, 2.156693) Destination: Lat/Lng: (41.403597, 2.175327)
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "geometry":"{_h~mAcrsbCs]v[{Tsg@bmAwmA{Og^cQs]~wDgtDw[{m@zsB_zCvt@wcAbt@seAkiA_cB_X{^os@chAwt@{fAju@kdAwy@_oAfm@s{@", | |
| "routeOptions":{ | |
| "baseUrl":"dumyUrllllll", | |
| "user":"dummyUserrrrr", | |
| "profile":"dummyProfile....", | |
| "coordinates":[ | |
| ], | |
| "geometries":"dummyGeometries", | |
| "voice_instructions":true, | |
| "banner_instructions":true, | |
| "access_token":"dummyAccessToken", | |
| "uuid":"dummyRequestUuid" | |
| }, | |
| "legs":[ | |
| { | |
| "steps":[ | |
| { | |
| "intersections":[ | |
| { | |
| "entry":[ | |
| ], | |
| "bearings":[ | |
| ], | |
| "location":[ | |
| 2.15685, | |
| 41.40699 | |
| ] | |
| } | |
| ], | |
| "driving_side":"right", | |
| "geometry":"{_h~mAcrsbCs]v[", | |
| "mode":"driving", | |
| "maneuver":{ | |
| "bearing_after":0, | |
| "bearing_before":0, | |
| "location":[ | |
| 2.15685, | |
| 41.40699 | |
| ], | |
| "modifier":"straight", | |
| "type":"depart", | |
| "instruction":"Continue onto Carrer de Vilafranca" | |
| }, | |
| "weight":65.8, | |
| "duration":16.9, | |
| "name":"Carrer de Vilafranca", | |
| "distance":65.8, | |
| "voiceInstructions":[ | |
| { | |
| "distanceAlongGeometry":65.8, | |
| "announcement":"Turn right onto Carrer de Martí, T:then Turn right onto Carrer de Massens", | |
| "ssmlAnnouncement":"<speak><amazon:effect name=\"drc\"><prosody rate=\"1.08\">Turn right onto Carrer de Martí, T:then Turn right onto Carrer de Massens</prosody></amazon:effect></speak>" | |
| } | |
| ], | |
| "bannerInstructions":[ | |
| { | |
| "distanceAlongGeometry":65.8, | |
| "primary":{ | |
| "text":"Carrer de Martí", | |
| "components":[ | |
| { | |
| "text":"Carrer de Martí", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"right" | |
| }, | |
| "secondary":null, | |
| "sub":{ | |
| "text":"Carrer de Massens", | |
| "components":[ | |
| { | |
| "text":"Carrer de Massens", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"right" | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "intersections":[ | |
| { | |
| "entry":[ | |
| ], | |
| "bearings":[ | |
| ], | |
| "location":[ | |
| 2.15639, | |
| 41.40748 | |
| ] | |
| } | |
| ], | |
| "driving_side":"right", | |
| "geometry":"o~h~mAkurbC{Tsg@", | |
| "mode":"driving", | |
| "maneuver":{ | |
| "bearing_after":0, | |
| "bearing_before":0, | |
| "location":[ | |
| 2.15639, | |
| 41.40748 | |
| ], | |
| "modifier":"right", | |
| "type":"turn", | |
| "instruction":"Turn right onto Carrer de Martí" | |
| }, | |
| "weight":66.8, | |
| "duration":15.0, | |
| "name":"Carrer de Martí", | |
| "distance":66.8, | |
| "voiceInstructions":[ | |
| { | |
| "distanceAlongGeometry":66.8, | |
| "announcement":"Turn right onto Carrer de Massens", | |
| "ssmlAnnouncement":"<speak><amazon:effect name=\"drc\"><prosody rate=\"1.08\">Turn right onto Carrer de Massens</prosody></amazon:effect></speak>" | |
| } | |
| ], | |
| "bannerInstructions":[ | |
| { | |
| "distanceAlongGeometry":66.8, | |
| "primary":{ | |
| "text":"Carrer de Massens", | |
| "components":[ | |
| { | |
| "text":"Carrer de Massens", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"right" | |
| }, | |
| "secondary":null, | |
| "sub":{ | |
| "text":"Carrer de les Tres Senyores", | |
| "components":[ | |
| { | |
| "text":"Carrer de les Tres Senyores", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"left" | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "intersections":[ | |
| { | |
| "entry":[ | |
| ], | |
| "bearings":[ | |
| ], | |
| "location":[ | |
| 2.15704, | |
| 41.40783 | |
| ] | |
| } | |
| ], | |
| "driving_side":"right", | |
| "geometry":"kti~mA_~sbCbmAwmA", | |
| "mode":"driving", | |
| "maneuver":{ | |
| "bearing_after":0, | |
| "bearing_before":0, | |
| "location":[ | |
| 2.15704, | |
| 41.40783 | |
| ], | |
| "modifier":"right", | |
| "type":"turn", | |
| "instruction":"Turn right onto Carrer de Massens" | |
| }, | |
| "weight":173.3, | |
| "duration":34.7, | |
| "name":"Carrer de Massens", | |
| "distance":173.3, | |
| "voiceInstructions":[ | |
| { | |
| "distanceAlongGeometry":80.0, | |
| "announcement":"Turn left onto Carrer de les Tres Senyores", | |
| "ssmlAnnouncement":"<speak><amazon:effect name=\"drc\"><prosody rate=\"1.08\">Turn left onto Carrer de les Tres Senyores</prosody></amazon:effect></speak>" | |
| } | |
| ], | |
| "bannerInstructions":[ | |
| { | |
| "distanceAlongGeometry":173.3, | |
| "primary":{ | |
| "text":"Carrer de les Tres Senyores", | |
| "components":[ | |
| { | |
| "text":"Carrer de les Tres Senyores", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"left" | |
| }, | |
| "secondary":null, | |
| "sub":{ | |
| "text":"Carrer del Torrent de les Flors", | |
| "components":[ | |
| { | |
| "text":"Carrer del Torrent de les Flors", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"right" | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "intersections":[ | |
| { | |
| "entry":[ | |
| ], | |
| "bearings":[ | |
| ], | |
| "location":[ | |
| 2.1583, | |
| 41.40658 | |
| ] | |
| } | |
| ], | |
| "driving_side":"right", | |
| "geometry":"gfg~mAwlvbC_b@{|@", | |
| "mode":"driving", | |
| "maneuver":{ | |
| "bearing_after":0, | |
| "bearing_before":0, | |
| "location":[ | |
| 2.1583, | |
| 41.40658 | |
| ], | |
| "modifier":"left", | |
| "type":"turn", | |
| "instruction":"Turn left onto Carrer de les Tres Senyores" | |
| }, | |
| "weight":103.5, | |
| "duration":20.7, | |
| "name":"Carrer de les Tres Senyores", | |
| "distance":103.5, | |
| "voiceInstructions":[ | |
| { | |
| "distanceAlongGeometry":80.0, | |
| "announcement":"Turn right onto Carrer del Torrent de les Flors", | |
| "ssmlAnnouncement":"<speak><amazon:effect name=\"drc\"><prosody rate=\"1.08\">Turn right onto Carrer del Torrent de les Flors</prosody></amazon:effect></speak>" | |
| } | |
| ], | |
| "bannerInstructions":[ | |
| { | |
| "distanceAlongGeometry":103.5, | |
| "primary":{ | |
| "text":"Carrer del Torrent de les Flors", | |
| "components":[ | |
| { | |
| "text":"Carrer del Torrent de les Flors", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"right" | |
| }, | |
| "secondary":null, | |
| "sub":{ | |
| "text":"Turn left", | |
| "components":[ | |
| { | |
| "text":"Turn left", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"left" | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "intersections":[ | |
| { | |
| "entry":[ | |
| ], | |
| "bearings":[ | |
| ], | |
| "location":[ | |
| 2.15929, | |
| 41.40714 | |
| ] | |
| } | |
| ], | |
| "driving_side":"right", | |
| "geometry":"gih~mAsjxbC~wDgtD", | |
| "mode":"driving", | |
| "maneuver":{ | |
| "bearing_after":0, | |
| "bearing_before":0, | |
| "location":[ | |
| 2.15929, | |
| 41.40714 | |
| ], | |
| "modifier":"right", | |
| "type":"turn", | |
| "instruction":"Turn right onto Carrer del Torrent de les Flors" | |
| }, | |
| "weight":408.4, | |
| "duration":81.7, | |
| "name":"Carrer del Torrent de les Flors", | |
| "distance":408.4, | |
| "voiceInstructions":[ | |
| { | |
| "distanceAlongGeometry":400.0, | |
| "announcement":"T:in_m 400 Turn left, T:then Turn right", | |
| "ssmlAnnouncement":"<speak><amazon:effect name=\"drc\"><prosody rate=\"1.08\">T:in_m 400 Turn left, T:then Turn right</prosody></amazon:effect></speak>" | |
| }, | |
| { | |
| "distanceAlongGeometry":80.0, | |
| "announcement":"Turn left, T:then Turn right", | |
| "ssmlAnnouncement":"<speak><amazon:effect name=\"drc\"><prosody rate=\"1.08\">Turn left, T:then Turn right</prosody></amazon:effect></speak>" | |
| } | |
| ], | |
| "bannerInstructions":[ | |
| { | |
| "distanceAlongGeometry":408.4, | |
| "primary":{ | |
| "text":"Turn left", | |
| "components":[ | |
| { | |
| "text":"Turn left", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"left" | |
| }, | |
| "secondary":null, | |
| "sub":{ | |
| "text":"Turn right", | |
| "components":[ | |
| { | |
| "text":"Turn right", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"right" | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "intersections":[ | |
| { | |
| "entry":[ | |
| ], | |
| "bearings":[ | |
| ], | |
| "location":[ | |
| 2.16219, | |
| 41.40418 | |
| ] | |
| } | |
| ], | |
| "driving_side":"right", | |
| "geometry":"gpb~mA{_~bCw[{m@", | |
| "mode":"driving", | |
| "maneuver":{ | |
| "bearing_after":0, | |
| "bearing_before":0, | |
| "location":[ | |
| 2.16219, | |
| 41.40418 | |
| ], | |
| "modifier":"left", | |
| "type":"turn", | |
| "instruction":"Turn left" | |
| }, | |
| "weight":80.9, | |
| "duration":19.3, | |
| "name":"Turn left", | |
| "distance":80.9, | |
| "voiceInstructions":[ | |
| { | |
| "distanceAlongGeometry":80.0, | |
| "announcement":"Turn right", | |
| "ssmlAnnouncement":"<speak><amazon:effect name=\"drc\"><prosody rate=\"1.08\">Turn right</prosody></amazon:effect></speak>" | |
| } | |
| ], | |
| "bannerInstructions":[ | |
| { | |
| "distanceAlongGeometry":80.9, | |
| "primary":{ | |
| "text":"Turn right", | |
| "components":[ | |
| { | |
| "text":"Turn right", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"right" | |
| }, | |
| "secondary":null, | |
| "sub":{ | |
| "text":"Keep left", | |
| "components":[ | |
| { | |
| "text":"Keep left", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"slight left" | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "intersections":[ | |
| { | |
| "entry":[ | |
| ], | |
| "bearings":[ | |
| ], | |
| "location":[ | |
| 2.16294, | |
| 41.40464 | |
| ] | |
| } | |
| ], | |
| "driving_side":"right", | |
| "geometry":"_mc~mAwn_cCriDw~E", | |
| "mode":"driving", | |
| "maneuver":{ | |
| "bearing_after":0, | |
| "bearing_before":0, | |
| "location":[ | |
| 2.16294, | |
| 41.40464 | |
| ], | |
| "modifier":"right", | |
| "type":"turn", | |
| "instruction":"Turn right" | |
| }, | |
| "weight":425.8, | |
| "duration":85.2, | |
| "name":"Turn right", | |
| "distance":425.8, | |
| "voiceInstructions":[ | |
| { | |
| "distanceAlongGeometry":400.0, | |
| "announcement":"T:in_m 400 Keep left", | |
| "ssmlAnnouncement":"<speak><amazon:effect name=\"drc\"><prosody rate=\"1.08\">T:in_m 400 Keep left</prosody></amazon:effect></speak>" | |
| }, | |
| { | |
| "distanceAlongGeometry":80.0, | |
| "announcement":"Keep left", | |
| "ssmlAnnouncement":"<speak><amazon:effect name=\"drc\"><prosody rate=\"1.08\">Keep left</prosody></amazon:effect></speak>" | |
| } | |
| ], | |
| "bannerInstructions":[ | |
| { | |
| "distanceAlongGeometry":425.8, | |
| "primary":{ | |
| "text":"Keep left", | |
| "components":[ | |
| { | |
| "text":"Keep left", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"slight left" | |
| }, | |
| "secondary":null, | |
| "sub":{ | |
| "text":"Carrer del Rosselló", | |
| "components":[ | |
| { | |
| "text":"Carrer del Rosselló", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"left" | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "intersections":[ | |
| { | |
| "entry":[ | |
| ], | |
| "bearings":[ | |
| ], | |
| "location":[ | |
| 2.16652, | |
| 41.40191 | |
| ] | |
| } | |
| ], | |
| "driving_side":"right", | |
| "geometry":"kb~}mAonfcCbt@seA", | |
| "mode":"driving", | |
| "maneuver":{ | |
| "bearing_after":0, | |
| "bearing_before":0, | |
| "location":[ | |
| 2.16652, | |
| 41.40191 | |
| ], | |
| "modifier":"slight left", | |
| "type":"turn", | |
| "instruction":"Keep left" | |
| }, | |
| "weight":133.0, | |
| "duration":26.6, | |
| "name":"Keep left", | |
| "distance":133.0, | |
| "voiceInstructions":[ | |
| { | |
| "distanceAlongGeometry":80.0, | |
| "announcement":"Turn left onto Carrer del Rosselló", | |
| "ssmlAnnouncement":"<speak><amazon:effect name=\"drc\"><prosody rate=\"1.08\">Turn left onto Carrer del Rosselló</prosody></amazon:effect></speak>" | |
| } | |
| ], | |
| "bannerInstructions":[ | |
| { | |
| "distanceAlongGeometry":133.0, | |
| "primary":{ | |
| "text":"Carrer del Rosselló", | |
| "components":[ | |
| { | |
| "text":"Carrer del Rosselló", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"left" | |
| }, | |
| "secondary":null, | |
| "sub":{ | |
| "text":"Carrer de Sardenya", | |
| "components":[ | |
| { | |
| "text":"Carrer de Sardenya", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"right" | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "intersections":[ | |
| { | |
| "entry":[ | |
| ], | |
| "bearings":[ | |
| ], | |
| "location":[ | |
| 2.16765, | |
| 41.40106 | |
| ] | |
| } | |
| ], | |
| "driving_side":"right", | |
| "geometry":"gm|}mAcuhcCslE{sG", | |
| "mode":"driving", | |
| "maneuver":{ | |
| "bearing_after":0, | |
| "bearing_before":0, | |
| "location":[ | |
| 2.16765, | |
| 41.40106 | |
| ], | |
| "modifier":"left", | |
| "type":"turn", | |
| "instruction":"Turn left onto Carrer del Rosselló" | |
| }, | |
| "weight":520.4, | |
| "duration":113.1, | |
| "name":"Carrer del Rosselló", | |
| "distance":520.4, | |
| "voiceInstructions":[ | |
| { | |
| "distanceAlongGeometry":400.0, | |
| "announcement":"T:in_m 400 Turn right onto Carrer de Sardenya", | |
| "ssmlAnnouncement":"<speak><amazon:effect name=\"drc\"><prosody rate=\"1.08\">T:in_m 400 Turn right onto Carrer de Sardenya</prosody></amazon:effect></speak>" | |
| }, | |
| { | |
| "distanceAlongGeometry":80.0, | |
| "announcement":"Turn right onto Carrer de Sardenya", | |
| "ssmlAnnouncement":"<speak><amazon:effect name=\"drc\"><prosody rate=\"1.08\">Turn right onto Carrer de Sardenya</prosody></amazon:effect></speak>" | |
| } | |
| ], | |
| "bannerInstructions":[ | |
| { | |
| "distanceAlongGeometry":520.4, | |
| "primary":{ | |
| "text":"Carrer de Sardenya", | |
| "components":[ | |
| { | |
| "text":"Carrer de Sardenya", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"right" | |
| }, | |
| "secondary":null, | |
| "sub":{ | |
| "text":"Carrer de Provença", | |
| "components":[ | |
| { | |
| "text":"Carrer de Provença", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"left" | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "intersections":[ | |
| { | |
| "entry":[ | |
| ], | |
| "bearings":[ | |
| ], | |
| "location":[ | |
| 2.17208, | |
| 41.40435 | |
| ] | |
| } | |
| ], | |
| "driving_side":"right", | |
| "geometry":"{zb~mA_jqcCju@kdA", | |
| "mode":"driving", | |
| "maneuver":{ | |
| "bearing_after":0, | |
| "bearing_before":0, | |
| "location":[ | |
| 2.17208, | |
| 41.40435 | |
| ], | |
| "modifier":"right", | |
| "type":"turn", | |
| "instruction":"Turn right onto Carrer de Sardenya" | |
| }, | |
| "weight":134.2, | |
| "duration":26.8, | |
| "name":"Carrer de Sardenya", | |
| "distance":134.2, | |
| "voiceInstructions":[ | |
| { | |
| "distanceAlongGeometry":80.0, | |
| "announcement":"Turn left onto Carrer de Provença", | |
| "ssmlAnnouncement":"<speak><amazon:effect name=\"drc\"><prosody rate=\"1.08\">Turn left onto Carrer de Provença</prosody></amazon:effect></speak>" | |
| } | |
| ], | |
| "bannerInstructions":[ | |
| { | |
| "distanceAlongGeometry":134.2, | |
| "primary":{ | |
| "text":"Carrer de Provença", | |
| "components":[ | |
| { | |
| "text":"Carrer de Provença", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"left" | |
| }, | |
| "secondary":null, | |
| "sub":{ | |
| "text":"Carrer de la Marina", | |
| "components":[ | |
| { | |
| "text":"Carrer de la Marina", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"right" | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "intersections":[ | |
| { | |
| "entry":[ | |
| ], | |
| "bearings":[ | |
| ], | |
| "location":[ | |
| 2.17319, | |
| 41.40348 | |
| ] | |
| } | |
| ], | |
| "driving_side":"right", | |
| "geometry":"oda~mAkoscC??", | |
| "mode":"driving", | |
| "maneuver":{ | |
| "bearing_after":0, | |
| "bearing_before":0, | |
| "location":[ | |
| 2.17319, | |
| 41.40348 | |
| ], | |
| "modifier":"left", | |
| "type":"turn", | |
| "instruction":"Turn left onto Carrer de Provença" | |
| }, | |
| "weight":149.5, | |
| "duration":35.7, | |
| "name":"Carrer de Provença", | |
| "distance":149.5, | |
| "voiceInstructions":[ | |
| { | |
| "distanceAlongGeometry":25.0, | |
| "announcement":"Turn right onto Carrer de la Marina", | |
| "ssmlAnnouncement":"<speak><amazon:effect name=\"drc\"><prosody rate=\"1.08\">Turn right onto Carrer de la Marina</prosody></amazon:effect></speak>" | |
| } | |
| ], | |
| "bannerInstructions":[ | |
| { | |
| "distanceAlongGeometry":149.5, | |
| "primary":{ | |
| "text":"Carrer de la Marina", | |
| "components":[ | |
| { | |
| "text":"Carrer de la Marina", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"right" | |
| }, | |
| "secondary":null | |
| } | |
| ] | |
| }, | |
| { | |
| "intersections":[ | |
| { | |
| "entry":[ | |
| ], | |
| "bearings":[ | |
| ], | |
| "location":[ | |
| 2.17447, | |
| 41.40442 | |
| ] | |
| } | |
| ], | |
| "driving_side":"right", | |
| "geometry":"g_c~mAk_vcC??", | |
| "mode":"driving", | |
| "maneuver":{ | |
| "bearing_after":0, | |
| "bearing_before":0, | |
| "location":[ | |
| 2.17447, | |
| 41.40442 | |
| ], | |
| "modifier":"right", | |
| "type":"turn", | |
| "instruction":"Turn right onto Carrer de la Marina" | |
| }, | |
| "weight":116.2, | |
| "duration":69.7, | |
| "name":"Carrer de la Marina", | |
| "distance":116.2, | |
| "voiceInstructions":[ | |
| ], | |
| "bannerInstructions":[ | |
| ] | |
| } | |
| ], | |
| "summary":"GraphHopper Route 0", | |
| "weight":545.5, | |
| "duration":545.5, | |
| "distance":2377.9 | |
| } | |
| ], | |
| "weight_name":"routability", | |
| "weight":416.6, | |
| "duration":545.5, | |
| "distance":2377.9, | |
| "voiceLocale":"en" | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment