openapi: 3.0.0
info:
  title: Routing API
  description: The Routing API enables route calculation between two or more waypoints via HTTP GET requests. It supports various transportation modes, including cars, delivery trucks, cargo vans, bicycles, motor scooters, and walking. The API returns detailed route data, including step-by-step directions and turn-by-turn navigation, making it ideal for applications that require real-time route planning for logistics, deliveries, or personal navigation.
  version: 1.0.0
  contact:
    name: Geoapify
    url: https://geoapify.com
    email: info@geoapify.com
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT

servers:
  - url: https://api.geoapify.com/v1
    description: Primary Geoapify API endpoint

tags:
  - name: Routing API
    description: Provides route calculations for various transportation modes, including automobiles, trucks, bicycles, and walking.

paths:
  /routing:
    get:
      tags:
        - Routing API
      summary: Calculate a route between waypoints
      description: Calculates the optimal route between two or more waypoints for various transportation modes, including cars, trucks, bicycles, and walking. The API allows customization through parameters such as road type avoidance (e.g., tolls, highways) and specific route preferences (e.g., shortest or fastest). The response includes detailed directions and turn-by-turn navigation for seamless travel planning.
      operationId: calculateRoute
      parameters:
        - name: apiKey
          in: query
          required: true
          description: Your Geoapify API key to authenticate the request. You can sign up and obtain an API key for free at [https://myprojects.geoapify.com/](https://myprojects.geoapify.com/). The Free plan includes up to 3,000 requests per day.
          schema:
            type: string
            example: "YOUR_API_KEY"
        - name: waypoints
          in: query
          required: true
          description: |
            A list of coordinates representing the waypoints for the route. Each coordinate is specified as a latitude, longitude pair. 
            
            Multiple waypoints should be separated by a vertical bar (`|`). At least two waypoints (a start and an endpoint) are required, but additional waypoints can be added to customize the route. 
            
            Example format: 
            "50.679023,4.569876|50.661705,4.578667"
          schema:
            type: string
            example: "50.679023,4.569876|50.661705,4.578667"
        - name: mode
          in: query
          required: true
          description: |
            Specifies how the route will be optimized based on the selected transportation type.
            
            Available options include:
            - `drive`: Standard car or automobile.
            - `light_truck`: Light-duty truck.
            - `medium_truck`: Medium-duty truck.
            - `truck`: General truck.
            - `heavy_truck`: Heavy-duty truck.
            - `truck_dangerous_goods`: Truck carrying dangerous goods.
            - `long_truck`: Long or articulated truck.
            - `bus`: Public or private bus.
            - `scooter`: Motorized scooter.
            - `motorcycle`: Motorbike.
            - `bicycle`: Standard bicycle.
            - `mountain_bike`: Mountain bike.
            - `road_bike`: Road bicycle.
            - `walk`: Walking on foot.
            - `hike`: Hiking on trails or difficult terrain.
            - `transit`: Public transit routes.
            - `approximated_transit`: Estimated public transit routes (without real-time data).

            Choose the appropriate mode for more accurate route calculations.
          schema:
            type: string
            enum: [ drive, light_truck, medium_truck, truck, heavy_truck, truck_dangerous_goods, long_truck, bus, scooter, motorcycle, bicycle, mountain_bike, road_bike, walk, hike, transit, approximated_transit ]
            example: "drive"
        - name: intermediate_waypoint_mode
          in: query
          required: false
          description: |
            Controls how intermediate waypoints are handled when the request contains 3 or more waypoints.

            - `stopover`: Default behavior. Intermediate waypoints are full stops that split the route into legs.
            - `through_stop`: Intermediate waypoints still split the route into legs, but keep movement continuity through the waypoint and avoid an immediate u-turn there.
            - `pass_through`: Intermediate waypoints act as shaping or via points and do not split the route into additional legs.

            If omitted, the behavior is equivalent to `stopover`.
          schema:
            type: string
            enum: [ stopover, through_stop, pass_through ]
            example: "through_stop"
        - name: type
          in: query
          required: false
          description: |
            Specifies the type of route optimization to apply. This parameter determines how the route will be optimized based on user preferences:

            - `balanced`: Provides a balanced route, optimizing for both travel time and distance.
            - `short`: Prioritizes the shortest possible route in terms of distance, potentially ignoring other factors like travel time.
            - `less_maneuvers`: Reduces the number of turns or complex maneuvers, providing a simpler route, which can be useful for larger vehicles or ease of navigation.
          schema:
            $ref: '../common/shared-components.yaml#/components/schemas/RouteTypeEnum'
        - name: units
          in: query
          required: false
          description: |
            Specifies the units of measurement for distance in the response. Choose between:

            - `metric`: Uses kilometers and meters.
            - `imperial`: Uses miles and feet.

            If not specified, the default is `metric`. Select the appropriate units based on the region or user preferences.
          schema:
            $ref: '../common/shared-components.yaml#/components/schemas/UnitsEnum'
        - name: lang
          in: query
          required: false
          description: Result language in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format (e.g., 'en' for English).
          schema:
            type: string
            example: "en"
        - name: avoid
          in: query
          required: false
          description: |
            Specifies the types of roads or locations to avoid during route calculation. You can customize this option by adding one or more types, separated by a vertical bar (`|`), and even assign importance to some avoid types on a scale from 0 to 1.

            Available options include:

            - **tolls**: Avoid roads with tolls. You can specify importance as `tolls:importance`, where `importance` is a value between 0 and 1 (with 1 being the most important). This option works with modes like `drive`, `truck`, `light_truck`, `medium_truck`, `truck_dangerous_goods`, `heavy_truck`, `long_truck`, and `bus`.
              - Example: `avoid=tolls` or `avoid=tolls:0.8`
            
            - **ferries**: Avoid routes that include ferries. You can specify importance as `ferries:importance` (similar to tolls). 
              - Example: `avoid=ferries` or `avoid=ferries:0.9`
            
            - **highways**: Avoid highways. You can also specify importance as `highways:importance`. This option works with driving-related modes.
              - Example: `avoid=highways` or `avoid=highways:0.7`
            
            - **location**: Avoid specific geographic locations. You can provide a latitude and longitude pair in the format `location:lat,lon` or `location_lonlat:lon,lat` to avoid certain areas (e.g., closed roads or barriers).
              - Example: `avoid=location:35.234045,-80.836392` or `avoid=location_lonlat:-80.836392,35.234045`

            Note: The routing algorithm will take your avoids into account but may still include them if there are no alternative routes. Using the `avoid` parameter may increase calculation time and add extra cost to the API call.
          schema:
            type: string
            example: "tolls:1|ferries"
        - name: details
          in: query
          required: false
          description: |
            Specifies additional details to include in the response. You can request multiple types of information, separated by commas. Available options include:

            - `instruction_details`: Provides more granular step-by-step navigation instructions.
            - `route_details`: Includes detailed information about the route, such as distances and durations for each segment.
            - `elevation`: Adds elevation data along the route, showing the changes in altitude.

            You can combine these options as needed to get more comprehensive routing information.
          schema:
            type: string
            example: "instruction_details,route_details"
        - name: traffic
          in: query
          required: false
          description: |
            Specifies the traffic model to use during route calculation. The available options are:

            - `free_flow`: The default option. Calculates the route optimistically, assuming no traffic delays or congestion.
            - `approximated`: Adjusts the route by accounting for potential traffic, decreasing speed on roads that are likely to be congested.

            This parameter is only applicable to motorized vehicle modes, such as `drive`, `truck`, and other similar modes.
          schema:
            $ref: '../common/shared-components.yaml#/components/schemas/TrafficEnum'
        - name: max_speed
          in: query
          required: false
          description: The maximum allowable speed for the route, specified in kilometers per hour (KPH).
          schema:
            type: integer
            example: 80
        - name: format
          in: query
          required: false
          description: The desired output format for the response, options include 'geojson', 'json', or 'xml'.
          schema:
            type: string
            enum: [ geojson, json, xml ]
            example: "json"
      responses:
        '200':
          description: Successful response with routing details.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/RoutingJsonResponse'
                  - $ref: '#/components/schemas/RoutingGeoJsonResponse'
              examples:
                format=json:
                  value: |
                    {
                      "results": [
                        {
                          "mode": "drive",
                          "waypoints": [
                            {
                              "location": [
                                4.569876,
                                50.679023
                              ],
                              "original_index": 0
                            },
                            {
                              "location": [
                                4.578667,
                                50.661705
                              ],
                              "original_index": 1
                            }
                          ],
                          "units": "imperial",
                          "avoid": [
                            {
                              "type": "tolls",
                              "importance": 1
                            },
                            {
                              "type": "ferries"
                            }
                          ],
                          "details": [
                            "instruction_details",
                            "route_details"
                          ],
                          "traffic": "approximated",
                          "distance": 1.884,
                          "distance_units": "miles",
                          "time": 390.501,
                          "max_speed": 20,
                          "legs": [
                            {
                              "distance": 1.884,
                              "time": 390.501,
                              "steps": [
                                {
                                  "speed": 35,
                                  "speed_limit": 90,
                                  "truck_limit": 90,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "residential",
                                  "name": "Avenue Jacques Georgin",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "both",
                                  "elevation": 62,
                                  "from_index": 0,
                                  "to_index": 1,
                                  "distance": 0.03,
                                  "time": 5.510294117647058,
                                  "instruction": {
                                    "text": "Drive southeast on Avenue Jacques Georgin.",
                                    "type": "StartAtRight",
                                    "transition_instruction": "Drive southeast. Then Turn left onto Fond de Bondry.",
                                    "pre_transition_instruction": "Drive southeast on Avenue Jacques Georgin. Then Turn left onto Fond de Bondry.",
                                    "post_transition_instruction": "Continue for 200 feet.",
                                    "streets": [
                                      "Avenue Jacques Georgin"
                                    ],
                                    "contains_next_instruction": true
                                  }
                                },
                                {
                                  "speed": 35,
                                  "speed_limit": 90,
                                  "truck_limit": 90,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "residential",
                                  "name": "Fond de Bondry",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "both",
                                  "elevation": 62,
                                  "from_index": 1,
                                  "to_index": 7,
                                  "distance": 0.11,
                                  "time": 30.60141592920354,
                                  "instruction": {
                                    "text": "Turn left onto Fond de Bondry.",
                                    "type": "Left",
                                    "transition_instruction": "Turn left.",
                                    "pre_transition_instruction": "Turn left onto Fond de Bondry.",
                                    "post_transition_instruction": "Continue for 600 feet.",
                                    "streets": [
                                      "Fond de Bondry"
                                    ]
                                  }
                                },
                                {
                                  "speed": 40,
                                  "speed_limit": 90,
                                  "truck_limit": 90,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "unclassified",
                                  "name": "Fond de Bondry",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "forward",
                                  "elevation": 62,
                                  "from_index": 7,
                                  "to_index": 10,
                                  "distance": 0.05,
                                  "time": 12.225925925925928,
                                  "instruction": {
                                    "text": "Turn right to stay on Fond de Bondry.",
                                    "type": "Right",
                                    "transition_instruction": "Turn right. Then Turn right onto Avenue Albert 1er.",
                                    "pre_transition_instruction": "Turn right to stay on Fond de Bondry. Then Turn right onto Avenue Albert 1er.",
                                    "post_transition_instruction": "Continue for 300 feet.",
                                    "streets": [
                                      "Fond de Bondry"
                                    ],
                                    "contains_next_instruction": true
                                  }
                                },
                                {
                                  "speed": 50,
                                  "speed_limit": 50,
                                  "truck_limit": 50,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "secondary",
                                  "name": "Avenue Albert 1er, N239",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "both",
                                  "elevation": 61,
                                  "from_index": 10,
                                  "to_index": 21,
                                  "distance": 0.23,
                                  "time": 44.78207062600321,
                                  "instruction": {
                                    "text": "Turn right onto Avenue Albert 1er/N239. Continue on N239.",
                                    "type": "Right",
                                    "transition_instruction": "Turn right.",
                                    "pre_transition_instruction": "Turn right onto Avenue Albert 1er, N239.",
                                    "post_transition_instruction": "Continue on N239 for a half mile.",
                                    "streets": [
                                      "N239",
                                      "Avenue Albert 1er"
                                    ]
                                  }
                                },
                                {
                                  "speed": 50,
                                  "speed_limit": 50,
                                  "truck_limit": 50,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "secondary",
                                  "name": "Avenue Albert 1er, N239",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "both",
                                  "elevation": 68,
                                  "from_index": 21,
                                  "to_index": 30,
                                  "distance": 0.26,
                                  "time": 50.623210272873195
                                },
                                {
                                  "speed": 50,
                                  "speed_limit": 50,
                                  "truck_limit": 50,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "secondary",
                                  "name": "Avenue des Combattants, N239",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "both",
                                  "elevation": 64,
                                  "from_index": 30,
                                  "to_index": 33,
                                  "distance": 0.03,
                                  "time": 5.841139646869983
                                },
                                {
                                  "speed": 50,
                                  "speed_limit": 50,
                                  "truck_limit": 50,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "secondary",
                                  "name": "Avenue des Combattants, N239",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "both",
                                  "elevation": 64,
                                  "from_index": 33,
                                  "to_index": 34,
                                  "distance": 0,
                                  "time": 0
                                },
                                {
                                  "speed": 50,
                                  "speed_limit": 50,
                                  "truck_limit": 50,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "secondary",
                                  "name": "Avenue des Combattants, N239",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "both",
                                  "elevation": 64,
                                  "from_index": 34,
                                  "to_index": 39,
                                  "distance": 0.02,
                                  "time": 3.894093097913323
                                },
                                {
                                  "speed": 50,
                                  "speed_limit": 50,
                                  "truck_limit": 50,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "secondary",
                                  "name": "Avenue des Combattants, N239",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "both",
                                  "elevation": 64,
                                  "from_index": 39,
                                  "to_index": 40,
                                  "distance": 0.01,
                                  "time": 1.9470465489566615
                                },
                                {
                                  "speed": 50,
                                  "speed_limit": 50,
                                  "truck_limit": 50,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "secondary",
                                  "name": "Avenue des Combattants, N239",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "both",
                                  "elevation": 64,
                                  "from_index": 40,
                                  "to_index": 42,
                                  "distance": 0.02,
                                  "time": 3.894093097913323
                                },
                                {
                                  "speed": 50,
                                  "speed_limit": 50,
                                  "truck_limit": 50,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "secondary",
                                  "name": "Avenue des Combattants, N239",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "both",
                                  "elevation": 64,
                                  "from_index": 42,
                                  "to_index": 47,
                                  "distance": 0.02,
                                  "time": 3.894093097913323
                                },
                                {
                                  "speed": 50,
                                  "speed_limit": 50,
                                  "truck_limit": 50,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "secondary",
                                  "name": "Avenue des Combattants, N239",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "forward",
                                  "elevation": 64,
                                  "from_index": 47,
                                  "to_index": 51,
                                  "distance": 0.03,
                                  "time": 5.841139646869983
                                },
                                {
                                  "speed": 50,
                                  "speed_limit": 50,
                                  "truck_limit": 50,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "secondary",
                                  "name": "Rond-Point de la Libération des Camps",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": true,
                                  "rightside": true,
                                  "traversability": "forward",
                                  "elevation": 64,
                                  "from_index": 51,
                                  "to_index": 55,
                                  "distance": 0.01,
                                  "time": 3.4221428571428576,
                                  "instruction": {
                                    "text": "Enter Rond-Point de la Libération des Camps and take the 1st exit onto Avenue Paul Delvaux.",
                                    "type": "Roundabout",
                                    "transition_instruction": "Enter the roundabout and take the 1st exit.",
                                    "pre_transition_instruction": "Enter Rond-Point de la Libération des Camps and take the 1st exit onto Avenue Paul Delvaux.",
                                    "streets": [
                                      "Rond-Point de la Libération des Camps"
                                    ],
                                    "roundabout_exit": 1
                                  }
                                },
                                {
                                  "speed": 50,
                                  "speed_limit": 50,
                                  "truck_limit": 50,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "secondary",
                                  "name": "Rond-Point de la Libération des Camps",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": true,
                                  "rightside": true,
                                  "traversability": "forward",
                                  "elevation": 62,
                                  "from_index": 55,
                                  "to_index": 57,
                                  "distance": 0,
                                  "time": 0
                                },
                                {
                                  "speed": 50,
                                  "speed_limit": 90,
                                  "truck_limit": 90,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "tertiary",
                                  "name": "Avenue Paul Delvaux",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "forward",
                                  "elevation": 60,
                                  "from_index": 57,
                                  "to_index": 60,
                                  "distance": 0.01,
                                  "time": 1.835981735159817,
                                  "instruction": {
                                    "text": "Exit the roundabout onto Avenue Paul Delvaux.",
                                    "type": "Roundabout",
                                    "transition_instruction": "Exit the roundabout.",
                                    "pre_transition_instruction": "Exit the roundabout onto Avenue Paul Delvaux.",
                                    "post_transition_instruction": "Continue for a quarter mile.",
                                    "streets": [
                                      "Avenue Paul Delvaux"
                                    ]
                                  }
                                },
                                {
                                  "speed": 50,
                                  "speed_limit": 50,
                                  "truck_limit": 50,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "tertiary",
                                  "name": "Avenue Paul Delvaux",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "both",
                                  "elevation": 58,
                                  "from_index": 60,
                                  "to_index": 67,
                                  "distance": 0.06,
                                  "time": 11.015890410958903
                                },
                                {
                                  "speed": 50,
                                  "speed_limit": 50,
                                  "truck_limit": 50,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "tertiary",
                                  "name": "Avenue Paul Delvaux",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": true,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "both",
                                  "elevation": 56,
                                  "from_index": 67,
                                  "to_index": 69,
                                  "distance": 0.02,
                                  "time": 3.671963470319634
                                },
                                {
                                  "speed": 50,
                                  "speed_limit": 50,
                                  "truck_limit": 50,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "tertiary",
                                  "name": "Avenue Paul Delvaux",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "forward",
                                  "elevation": 55,
                                  "from_index": 69,
                                  "to_index": 80,
                                  "distance": 0.13,
                                  "time": 23.867762557077622
                                },
                                {
                                  "speed": 50,
                                  "speed_limit": 50,
                                  "truck_limit": 50,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "secondary",
                                  "name": "Rue des Deux Ponts",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": true,
                                  "rightside": true,
                                  "traversability": "forward",
                                  "elevation": 56,
                                  "from_index": 80,
                                  "to_index": 83,
                                  "distance": 0.01,
                                  "time": 2.41,
                                  "instruction": {
                                    "text": "Enter the roundabout and take the 2nd exit onto Rue des Deux Ponts.",
                                    "type": "Roundabout",
                                    "transition_instruction": "Enter the roundabout and take the 2nd exit.",
                                    "pre_transition_instruction": "Enter the roundabout and take the 2nd exit onto Rue des Deux Ponts.",
                                    "roundabout_exit": 2
                                  }
                                },
                                {
                                  "speed": 50,
                                  "speed_limit": 50,
                                  "truck_limit": 50,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "secondary",
                                  "name": "Rue des Deux Ponts",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "forward",
                                  "elevation": 56,
                                  "from_index": 83,
                                  "to_index": 84,
                                  "distance": 0.01,
                                  "time": 1.8767708333333333,
                                  "instruction": {
                                    "text": "Exit the roundabout onto Rue des Deux Ponts.",
                                    "type": "Roundabout",
                                    "transition_instruction": "Exit the roundabout. Then, in 500 feet, Turn left onto Montagne du Stimont.",
                                    "pre_transition_instruction": "Exit the roundabout onto Rue des Deux Ponts. Then, in 500 feet, Turn left onto Montagne du Stimont.",
                                    "post_transition_instruction": "Continue for 500 feet.",
                                    "streets": [
                                      "Rue des Deux Ponts"
                                    ],
                                    "contains_next_instruction": true
                                  }
                                },
                                {
                                  "speed": 50,
                                  "speed_limit": 50,
                                  "truck_limit": 50,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "secondary",
                                  "name": "Rue des Deux Ponts, N232",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "both",
                                  "elevation": 60,
                                  "from_index": 84,
                                  "to_index": 89,
                                  "distance": 0.09,
                                  "time": 16.8909375
                                },
                                {
                                  "speed": 35,
                                  "speed_limit": 90,
                                  "truck_limit": 90,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "residential",
                                  "name": "Montagne du Stimont",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "both",
                                  "elevation": 60,
                                  "from_index": 89,
                                  "to_index": 95,
                                  "distance": 0.06,
                                  "time": 13.792125000000002,
                                  "instruction": {
                                    "text": "Turn left onto Montagne du Stimont.",
                                    "type": "Left",
                                    "transition_instruction": "Turn left.",
                                    "pre_transition_instruction": "Turn left onto Montagne du Stimont.",
                                    "post_transition_instruction": "Continue for 900 feet.",
                                    "streets": [
                                      "Montagne du Stimont"
                                    ]
                                  }
                                },
                                {
                                  "speed": 35,
                                  "speed_limit": 90,
                                  "truck_limit": 90,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "residential",
                                  "name": "Montagne du Stimont",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "both",
                                  "elevation": 69,
                                  "from_index": 95,
                                  "to_index": 109,
                                  "distance": 0.1,
                                  "time": 22.986875
                                },
                                {
                                  "speed": 35,
                                  "speed_limit": 90,
                                  "truck_limit": 90,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "residential",
                                  "name": "Rue de Renivaux",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "both",
                                  "elevation": 71,
                                  "from_index": 109,
                                  "to_index": 126,
                                  "distance": 0.27,
                                  "time": 49.371,
                                  "instruction": {
                                    "text": "Bear right onto Rue de Renivaux.",
                                    "type": "SlightRight",
                                    "transition_instruction": "Bear right.",
                                    "pre_transition_instruction": "Bear right onto Rue de Renivaux.",
                                    "post_transition_instruction": "Continue for a quarter mile.",
                                    "streets": [
                                      "Rue de Renivaux"
                                    ]
                                  }
                                },
                                {
                                  "speed": 35,
                                  "speed_limit": 90,
                                  "truck_limit": 90,
                                  "surface": "paved_smooth",
                                  "lane_count": 1,
                                  "road_class": "residential",
                                  "name": "Avenue des Bouleaux",
                                  "toll": false,
                                  "tunnel": false,
                                  "bridge": false,
                                  "roundabout": false,
                                  "rightside": true,
                                  "traversability": "both",
                                  "elevation": 104,
                                  "from_index": 126,
                                  "to_index": 158,
                                  "distance": 0.29,
                                  "time": 68.16812499999999,
                                  "instruction": {
                                    "text": "Make a sharp left onto Avenue des Bouleaux.",
                                    "type": "SharpLeft",
                                    "transition_instruction": "Make a sharp left.",
                                    "pre_transition_instruction": "Make a sharp left onto Avenue des Bouleaux.",
                                    "post_transition_instruction": "Continue for a quarter mile.",
                                    "streets": [
                                      "Avenue des Bouleaux"
                                    ]
                                  }
                                },
                                {
                                  "from_index": 158,
                                  "to_index": 158,
                                  "distance": 0,
                                  "time": 0,
                                  "instruction": {
                                    "text": "Your destination is on the right.",
                                    "type": "DestinationReachedRight",
                                    "transition_instruction": "Your destination will be on the right.",
                                    "pre_transition_instruction": "Your destination is on the right."
                                  }
                                }
                              ],
                              "country_code": [
                                "be"
                              ]
                            }
                          ],
                          "country_code": [
                            "be"
                          ],
                          "geometry": [
                            [
                              {
                                "lon": 4.570128,
                                "lat": 50.679194
                              },
                              {
                                "lon": 4.570706,
                                "lat": 50.678852
                              },
                              {
                                "lon": 4.571422,
                                "lat": 50.679306
                              },
                              {
                                "lon": 4.571714,
                                "lat": 50.679485
                              },
                              {
                                "lon": 4.571851,
                                "lat": 50.679643
                              },
                              {
                                "lon": 4.571848,
                                "lat": 50.679718
                              },
                              {
                                "lon": 4.571843,
                                "lat": 50.679833
                              },
                              {
                                "lon": 4.571687,
                                "lat": 50.680199
                              },
                              {
                                "lon": 4.571974,
                                "lat": 50.68026
                              },
                              {
                                "lon": 4.572331,
                                "lat": 50.680334
                              },
                              {
                                "lon": 4.572864,
                                "lat": 50.680439
                              },
                              {
                                "lon": 4.572877,
                                "lat": 50.680298
                              },
                              {
                                "lon": 4.572904,
                                "lat": 50.679988
                              },
                              {
                                "lon": 4.572919,
                                "lat": 50.679703
                              },
                              {
                                "lon": 4.572904,
                                "lat": 50.679509
                              },
                              {
                                "lon": 4.572904,
                                "lat": 50.679306
                              },
                              {
                                "lon": 4.572789,
                                "lat": 50.678618
                              },
                              {
                                "lon": 4.572672,
                                "lat": 50.678082
                              },
                              {
                                "lon": 4.572656,
                                "lat": 50.677904
                              },
                              {
                                "lon": 4.572576,
                                "lat": 50.677555
                              },
                              {
                                "lon": 4.572527,
                                "lat": 50.677345
                              },
                              {
                                "lon": 4.572504,
                                "lat": 50.677168
                              },
                              {
                                "lon": 4.572431,
                                "lat": 50.676973
                              },
                              {
                                "lon": 4.572244,
                                "lat": 50.676485
                              },
                              {
                                "lon": 4.571878,
                                "lat": 50.675756
                              },
                              {
                                "lon": 4.571829,
                                "lat": 50.675656
                              },
                              {
                                "lon": 4.571528,
                                "lat": 50.675145
                              },
                              {
                                "lon": 4.571335,
                                "lat": 50.674739
                              },
                              {
                                "lon": 4.571313,
                                "lat": 50.674693
                              },
                              {
                                "lon": 4.570879,
                                "lat": 50.673689
                              },
                              {
                                "lon": 4.570807,
                                "lat": 50.673522
                              },
                              {
                                "lon": 4.570639,
                                "lat": 50.673127
                              },
                              {
                                "lon": 4.570627,
                                "lat": 50.673098
                              },
                              {
                                "lon": 4.570604,
                                "lat": 50.673042
                              },
                              {
                                "lon": 4.570582,
                                "lat": 50.672988
                              },
                              {
                                "lon": 4.570569,
                                "lat": 50.672958
                              },
                              {
                                "lon": 4.570554,
                                "lat": 50.672924
                              },
                              {
                                "lon": 4.57052,
                                "lat": 50.67284
                              },
                              {
                                "lon": 4.570503,
                                "lat": 50.672802
                              },
                              {
                                "lon": 4.570481,
                                "lat": 50.672748
                              },
                              {
                                "lon": 4.57043,
                                "lat": 50.672645
                              },
                              {
                                "lon": 4.570373,
                                "lat": 50.672505
                              },
                              {
                                "lon": 4.570338,
                                "lat": 50.672424
                              },
                              {
                                "lon": 4.570302,
                                "lat": 50.672346
                              },
                              {
                                "lon": 4.570258,
                                "lat": 50.672249
                              },
                              {
                                "lon": 4.570246,
                                "lat": 50.672223
                              },
                              {
                                "lon": 4.570226,
                                "lat": 50.672155
                              },
                              {
                                "lon": 4.570206,
                                "lat": 50.672112
                              },
                              {
                                "lon": 4.570169,
                                "lat": 50.672006
                              },
                              {
                                "lon": 4.570163,
                                "lat": 50.671895
                              },
                              {
                                "lon": 4.570178,
                                "lat": 50.67169
                              },
                              {
                                "lon": 4.570187,
                                "lat": 50.671625
                              },
                              {
                                "lon": 4.570177,
                                "lat": 50.671577
                              },
                              {
                                "lon": 4.570188,
                                "lat": 50.671538
                              },
                              {
                                "lon": 4.570207,
                                "lat": 50.671512
                              },
                              {
                                "lon": 4.570251,
                                "lat": 50.671484
                              },
                              {
                                "lon": 4.570281,
                                "lat": 50.671476
                              },
                              {
                                "lon": 4.570339,
                                "lat": 50.671463
                              },
                              {
                                "lon": 4.570421,
                                "lat": 50.671412
                              },
                              {
                                "lon": 4.570507,
                                "lat": 50.671356
                              },
                              {
                                "lon": 4.570558,
                                "lat": 50.671333
                              },
                              {
                                "lon": 4.570586,
                                "lat": 50.671266
                              },
                              {
                                "lon": 4.570606,
                                "lat": 50.671199
                              },
                              {
                                "lon": 4.570635,
                                "lat": 50.671099
                              },
                              {
                                "lon": 4.570648,
                                "lat": 50.671013
                              },
                              {
                                "lon": 4.570671,
                                "lat": 50.670862
                              },
                              {
                                "lon": 4.570708,
                                "lat": 50.670681
                              },
                              {
                                "lon": 4.570815,
                                "lat": 50.670486
                              },
                              {
                                "lon": 4.570943,
                                "lat": 50.670398
                              },
                              {
                                "lon": 4.571071,
                                "lat": 50.670306
                              },
                              {
                                "lon": 4.571247,
                                "lat": 50.669974
                              },
                              {
                                "lon": 4.571373,
                                "lat": 50.669794
                              },
                              {
                                "lon": 4.571648,
                                "lat": 50.669254
                              },
                              {
                                "lon": 4.57171,
                                "lat": 50.669096
                              },
                              {
                                "lon": 4.571724,
                                "lat": 50.669016
                              },
                              {
                                "lon": 4.571725,
                                "lat": 50.668897
                              },
                              {
                                "lon": 4.571739,
                                "lat": 50.66874
                              },
                              {
                                "lon": 4.571789,
                                "lat": 50.668681
                              },
                              {
                                "lon": 4.57185,
                                "lat": 50.668636
                              },
                              {
                                "lon": 4.57187,
                                "lat": 50.668576
                              },
                              {
                                "lon": 4.571894,
                                "lat": 50.668513
                              },
                              {
                                "lon": 4.571886,
                                "lat": 50.668488
                              },
                              {
                                "lon": 4.571888,
                                "lat": 50.668457
                              },
                              {
                                "lon": 4.571908,
                                "lat": 50.668427
                              },
                              {
                                "lon": 4.572011,
                                "lat": 50.668288
                              },
                              {
                                "lon": 4.571962,
                                "lat": 50.66817
                              },
                              {
                                "lon": 4.571834,
                                "lat": 50.66802
                              },
                              {
                                "lon": 4.571572,
                                "lat": 50.667343
                              },
                              {
                                "lon": 4.571572,
                                "lat": 50.667217
                              },
                              {
                                "lon": 4.571594,
                                "lat": 50.667081
                              },
                              {
                                "lon": 4.571674,
                                "lat": 50.667074
                              },
                              {
                                "lon": 4.571904,
                                "lat": 50.667039
                              },
                              {
                                "lon": 4.572131,
                                "lat": 50.666976
                              },
                              {
                                "lon": 4.572521,
                                "lat": 50.666806
                              },
                              {
                                "lon": 4.572711,
                                "lat": 50.666709
                              },
                              {
                                "lon": 4.572735,
                                "lat": 50.666699
                              },
                              {
                                "lon": 4.572756,
                                "lat": 50.666691
                              },
                              {
                                "lon": 4.57283,
                                "lat": 50.666651
                              },
                              {
                                "lon": 4.57301,
                                "lat": 50.666555
                              },
                              {
                                "lon": 4.57312,
                                "lat": 50.666457
                              },
                              {
                                "lon": 4.573172,
                                "lat": 50.666377
                              },
                              {
                                "lon": 4.573184,
                                "lat": 50.666297
                              },
                              {
                                "lon": 4.573126,
                                "lat": 50.666113
                              },
                              {
                                "lon": 4.573072,
                                "lat": 50.665975
                              },
                              {
                                "lon": 4.573013,
                                "lat": 50.66584
                              },
                              {
                                "lon": 4.573016,
                                "lat": 50.665674
                              },
                              {
                                "lon": 4.57306,
                                "lat": 50.665571
                              },
                              {
                                "lon": 4.573085,
                                "lat": 50.665513
                              },
                              {
                                "lon": 4.573142,
                                "lat": 50.665431
                              },
                              {
                                "lon": 4.573231,
                                "lat": 50.665374
                              },
                              {
                                "lon": 4.573184,
                                "lat": 50.665306
                              },
                              {
                                "lon": 4.57322,
                                "lat": 50.66519
                              },
                              {
                                "lon": 4.573293,
                                "lat": 50.665016
                              },
                              {
                                "lon": 4.573395,
                                "lat": 50.664745
                              },
                              {
                                "lon": 4.57352,
                                "lat": 50.664479
                              },
                              {
                                "lon": 4.573604,
                                "lat": 50.664312
                              },
                              {
                                "lon": 4.573698,
                                "lat": 50.664145
                              },
                              {
                                "lon": 4.573988,
                                "lat": 50.663759
                              },
                              {
                                "lon": 4.574049,
                                "lat": 50.663616
                              },
                              {
                                "lon": 4.574127,
                                "lat": 50.663388
                              },
                              {
                                "lon": 4.57423,
                                "lat": 50.663113
                              },
                              {
                                "lon": 4.574415,
                                "lat": 50.662597
                              },
                              {
                                "lon": 4.574528,
                                "lat": 50.662192
                              },
                              {
                                "lon": 4.574476,
                                "lat": 50.661944
                              },
                              {
                                "lon": 4.574399,
                                "lat": 50.661692
                              },
                              {
                                "lon": 4.574426,
                                "lat": 50.661624
                              },
                              {
                                "lon": 4.574442,
                                "lat": 50.661595
                              },
                              {
                                "lon": 4.574512,
                                "lat": 50.661714
                              },
                              {
                                "lon": 4.574606,
                                "lat": 50.661827
                              },
                              {
                                "lon": 4.574803,
                                "lat": 50.662049
                              },
                              {
                                "lon": 4.575002,
                                "lat": 50.662217
                              },
                              {
                                "lon": 4.575236,
                                "lat": 50.662384
                              },
                              {
                                "lon": 4.575434,
                                "lat": 50.662482
                              },
                              {
                                "lon": 4.575642,
                                "lat": 50.662581
                              },
                              {
                                "lon": 4.575783,
                                "lat": 50.66264
                              },
                              {
                                "lon": 4.575942,
                                "lat": 50.662666
                              },
                              {
                                "lon": 4.576077,
                                "lat": 50.662664
                              },
                              {
                                "lon": 4.576228,
                                "lat": 50.662622
                              },
                              {
                                "lon": 4.576306,
                                "lat": 50.662571
                              },
                              {
                                "lon": 4.576366,
                                "lat": 50.662511
                              },
                              {
                                "lon": 4.576441,
                                "lat": 50.662344
                              },
                              {
                                "lon": 4.576576,
                                "lat": 50.662058
                              },
                              {
                                "lon": 4.576634,
                                "lat": 50.661974
                              },
                              {
                                "lon": 4.576754,
                                "lat": 50.661898
                              },
                              {
                                "lon": 4.576923,
                                "lat": 50.661887
                              },
                              {
                                "lon": 4.577067,
                                "lat": 50.661942
                              },
                              {
                                "lon": 4.577202,
                                "lat": 50.662079
                              },
                              {
                                "lon": 4.577339,
                                "lat": 50.662217
                              },
                              {
                                "lon": 4.577405,
                                "lat": 50.662271
                              },
                              {
                                "lon": 4.577482,
                                "lat": 50.662312
                              },
                              {
                                "lon": 4.577571,
                                "lat": 50.662338
                              },
                              {
                                "lon": 4.577661,
                                "lat": 50.662353
                              },
                              {
                                "lon": 4.577762,
                                "lat": 50.662357
                              },
                              {
                                "lon": 4.577862,
                                "lat": 50.662351
                              },
                              {
                                "lon": 4.578009,
                                "lat": 50.662309
                              },
                              {
                                "lon": 4.578137,
                                "lat": 50.662253
                              },
                              {
                                "lon": 4.578384,
                                "lat": 50.66211
                              },
                              {
                                "lon": 4.578641,
                                "lat": 50.661972
                              },
                              {
                                "lon": 4.578837,
                                "lat": 50.661904
                              }
                            ]
                          ]
                        }
                      ],
                      "properties": {
                        "mode": "drive",
                        "waypoints": [
                          {
                            "lat": 50.67902320667227,
                            "lon": 4.569876996843732
                          },
                          {
                            "lat": 50.66170571489684,
                            "lon": 4.578667041603012
                          }
                        ],
                        "units": "imperial",
                        "avoid": [
                          {
                            "type": "tolls",
                            "importance": 1
                          },
                          {
                            "type": "ferries"
                          }
                        ],
                        "details": [
                          "instruction_details",
                          "route_details"
                        ],
                        "traffic": "approximated"
                      }
                    }
                format=geojson:
                  value: |
                    {
                      "features": [
                        {
                          "type": "Feature",
                          "properties": {
                            "mode": "drive",
                            "waypoints": [
                              {
                                "location": [
                                  4.569876,
                                  50.679023
                                ],
                                "original_index": 0
                              },
                              {
                                "location": [
                                  4.578667,
                                  50.661705
                                ],
                                "original_index": 1
                              }
                            ],
                            "units": "imperial",
                            "avoid": [
                              {
                                "type": "tolls",
                                "importance": 1
                              },
                              {
                                "type": "ferries"
                              }
                            ],
                            "details": [
                              "instruction_details",
                              "route_details"
                            ],
                            "traffic": "approximated",
                            "distance": 1.884,
                            "distance_units": "miles",
                            "time": 390.501,
                            "max_speed": 20,
                            "legs": [
                              {
                                "distance": 1.884,
                                "time": 390.501,
                                "steps": [
                                  {
                                    "speed": 35,
                                    "speed_limit": 90,
                                    "truck_limit": 90,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "residential",
                                    "name": "Avenue Jacques Georgin",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "both",
                                    "elevation": 62,
                                    "from_index": 0,
                                    "to_index": 1,
                                    "distance": 0.03,
                                    "time": 5.510294117647058,
                                    "instruction": {
                                      "text": "Drive southeast on Avenue Jacques Georgin.",
                                      "type": "StartAtRight",
                                      "transition_instruction": "Drive southeast. Then Turn left onto Fond de Bondry.",
                                      "pre_transition_instruction": "Drive southeast on Avenue Jacques Georgin. Then Turn left onto Fond de Bondry.",
                                      "post_transition_instruction": "Continue for 200 feet.",
                                      "streets": [
                                        "Avenue Jacques Georgin"
                                      ],
                                      "contains_next_instruction": true
                                    }
                                  },
                                  {
                                    "speed": 35,
                                    "speed_limit": 90,
                                    "truck_limit": 90,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "residential",
                                    "name": "Fond de Bondry",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "both",
                                    "elevation": 62,
                                    "from_index": 1,
                                    "to_index": 7,
                                    "distance": 0.11,
                                    "time": 30.60141592920354,
                                    "instruction": {
                                      "text": "Turn left onto Fond de Bondry.",
                                      "type": "Left",
                                      "transition_instruction": "Turn left.",
                                      "pre_transition_instruction": "Turn left onto Fond de Bondry.",
                                      "post_transition_instruction": "Continue for 600 feet.",
                                      "streets": [
                                        "Fond de Bondry"
                                      ]
                                    }
                                  },
                                  {
                                    "speed": 40,
                                    "speed_limit": 90,
                                    "truck_limit": 90,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "unclassified",
                                    "name": "Fond de Bondry",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "forward",
                                    "elevation": 62,
                                    "from_index": 7,
                                    "to_index": 10,
                                    "distance": 0.05,
                                    "time": 12.225925925925928,
                                    "instruction": {
                                      "text": "Turn right to stay on Fond de Bondry.",
                                      "type": "Right",
                                      "transition_instruction": "Turn right. Then Turn right onto Avenue Albert 1er.",
                                      "pre_transition_instruction": "Turn right to stay on Fond de Bondry. Then Turn right onto Avenue Albert 1er.",
                                      "post_transition_instruction": "Continue for 300 feet.",
                                      "streets": [
                                        "Fond de Bondry"
                                      ],
                                      "contains_next_instruction": true
                                    }
                                  },
                                  {
                                    "speed": 50,
                                    "speed_limit": 50,
                                    "truck_limit": 50,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "secondary",
                                    "name": "Avenue Albert 1er, N239",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "both",
                                    "elevation": 61,
                                    "from_index": 10,
                                    "to_index": 21,
                                    "distance": 0.23,
                                    "time": 44.78207062600321,
                                    "instruction": {
                                      "text": "Turn right onto Avenue Albert 1er/N239. Continue on N239.",
                                      "type": "Right",
                                      "transition_instruction": "Turn right.",
                                      "pre_transition_instruction": "Turn right onto Avenue Albert 1er, N239.",
                                      "post_transition_instruction": "Continue on N239 for a half mile.",
                                      "streets": [
                                        "N239",
                                        "Avenue Albert 1er"
                                      ]
                                    }
                                  },
                                  {
                                    "speed": 50,
                                    "speed_limit": 50,
                                    "truck_limit": 50,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "secondary",
                                    "name": "Avenue Albert 1er, N239",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "both",
                                    "elevation": 68,
                                    "from_index": 21,
                                    "to_index": 30,
                                    "distance": 0.26,
                                    "time": 50.623210272873195
                                  },
                                  {
                                    "speed": 50,
                                    "speed_limit": 50,
                                    "truck_limit": 50,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "secondary",
                                    "name": "Avenue des Combattants, N239",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "both",
                                    "elevation": 64,
                                    "from_index": 30,
                                    "to_index": 33,
                                    "distance": 0.03,
                                    "time": 5.841139646869983
                                  },
                                  {
                                    "speed": 50,
                                    "speed_limit": 50,
                                    "truck_limit": 50,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "secondary",
                                    "name": "Avenue des Combattants, N239",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "both",
                                    "elevation": 64,
                                    "from_index": 33,
                                    "to_index": 34,
                                    "distance": 0,
                                    "time": 0
                                  },
                                  {
                                    "speed": 50,
                                    "speed_limit": 50,
                                    "truck_limit": 50,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "secondary",
                                    "name": "Avenue des Combattants, N239",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "both",
                                    "elevation": 64,
                                    "from_index": 34,
                                    "to_index": 39,
                                    "distance": 0.02,
                                    "time": 3.894093097913323
                                  },
                                  {
                                    "speed": 50,
                                    "speed_limit": 50,
                                    "truck_limit": 50,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "secondary",
                                    "name": "Avenue des Combattants, N239",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "both",
                                    "elevation": 64,
                                    "from_index": 39,
                                    "to_index": 40,
                                    "distance": 0.01,
                                    "time": 1.9470465489566615
                                  },
                                  {
                                    "speed": 50,
                                    "speed_limit": 50,
                                    "truck_limit": 50,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "secondary",
                                    "name": "Avenue des Combattants, N239",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "both",
                                    "elevation": 64,
                                    "from_index": 40,
                                    "to_index": 42,
                                    "distance": 0.02,
                                    "time": 3.894093097913323
                                  },
                                  {
                                    "speed": 50,
                                    "speed_limit": 50,
                                    "truck_limit": 50,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "secondary",
                                    "name": "Avenue des Combattants, N239",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "both",
                                    "elevation": 64,
                                    "from_index": 42,
                                    "to_index": 47,
                                    "distance": 0.02,
                                    "time": 3.894093097913323
                                  },
                                  {
                                    "speed": 50,
                                    "speed_limit": 50,
                                    "truck_limit": 50,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "secondary",
                                    "name": "Avenue des Combattants, N239",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "forward",
                                    "elevation": 64,
                                    "from_index": 47,
                                    "to_index": 51,
                                    "distance": 0.03,
                                    "time": 5.841139646869983
                                  },
                                  {
                                    "speed": 50,
                                    "speed_limit": 50,
                                    "truck_limit": 50,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "secondary",
                                    "name": "Rond-Point de la Libération des Camps",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": true,
                                    "rightside": true,
                                    "traversability": "forward",
                                    "elevation": 64,
                                    "from_index": 51,
                                    "to_index": 55,
                                    "distance": 0.01,
                                    "time": 3.4221428571428576,
                                    "instruction": {
                                      "text": "Enter Rond-Point de la Libération des Camps and take the 1st exit onto Avenue Paul Delvaux.",
                                      "type": "Roundabout",
                                      "transition_instruction": "Enter the roundabout and take the 1st exit.",
                                      "pre_transition_instruction": "Enter Rond-Point de la Libération des Camps and take the 1st exit onto Avenue Paul Delvaux.",
                                      "streets": [
                                        "Rond-Point de la Libération des Camps"
                                      ],
                                      "roundabout_exit": 1
                                    }
                                  },
                                  {
                                    "speed": 50,
                                    "speed_limit": 50,
                                    "truck_limit": 50,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "secondary",
                                    "name": "Rond-Point de la Libération des Camps",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": true,
                                    "rightside": true,
                                    "traversability": "forward",
                                    "elevation": 62,
                                    "from_index": 55,
                                    "to_index": 57,
                                    "distance": 0,
                                    "time": 0
                                  },
                                  {
                                    "speed": 50,
                                    "speed_limit": 90,
                                    "truck_limit": 90,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "tertiary",
                                    "name": "Avenue Paul Delvaux",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "forward",
                                    "elevation": 60,
                                    "from_index": 57,
                                    "to_index": 60,
                                    "distance": 0.01,
                                    "time": 1.835981735159817,
                                    "instruction": {
                                      "text": "Exit the roundabout onto Avenue Paul Delvaux.",
                                      "type": "Roundabout",
                                      "transition_instruction": "Exit the roundabout.",
                                      "pre_transition_instruction": "Exit the roundabout onto Avenue Paul Delvaux.",
                                      "post_transition_instruction": "Continue for a quarter mile.",
                                      "streets": [
                                        "Avenue Paul Delvaux"
                                      ]
                                    }
                                  },
                                  {
                                    "speed": 50,
                                    "speed_limit": 50,
                                    "truck_limit": 50,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "tertiary",
                                    "name": "Avenue Paul Delvaux",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "both",
                                    "elevation": 58,
                                    "from_index": 60,
                                    "to_index": 67,
                                    "distance": 0.06,
                                    "time": 11.015890410958903
                                  },
                                  {
                                    "speed": 50,
                                    "speed_limit": 50,
                                    "truck_limit": 50,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "tertiary",
                                    "name": "Avenue Paul Delvaux",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": true,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "both",
                                    "elevation": 56,
                                    "from_index": 67,
                                    "to_index": 69,
                                    "distance": 0.02,
                                    "time": 3.671963470319634
                                  },
                                  {
                                    "speed": 50,
                                    "speed_limit": 50,
                                    "truck_limit": 50,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "tertiary",
                                    "name": "Avenue Paul Delvaux",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "forward",
                                    "elevation": 55,
                                    "from_index": 69,
                                    "to_index": 80,
                                    "distance": 0.13,
                                    "time": 23.867762557077622
                                  },
                                  {
                                    "speed": 50,
                                    "speed_limit": 50,
                                    "truck_limit": 50,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "secondary",
                                    "name": "Rue des Deux Ponts",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": true,
                                    "rightside": true,
                                    "traversability": "forward",
                                    "elevation": 56,
                                    "from_index": 80,
                                    "to_index": 83,
                                    "distance": 0.01,
                                    "time": 2.41,
                                    "instruction": {
                                      "text": "Enter the roundabout and take the 2nd exit onto Rue des Deux Ponts.",
                                      "type": "Roundabout",
                                      "transition_instruction": "Enter the roundabout and take the 2nd exit.",
                                      "pre_transition_instruction": "Enter the roundabout and take the 2nd exit onto Rue des Deux Ponts.",
                                      "roundabout_exit": 2
                                    }
                                  },
                                  {
                                    "speed": 50,
                                    "speed_limit": 50,
                                    "truck_limit": 50,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "secondary",
                                    "name": "Rue des Deux Ponts",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "forward",
                                    "elevation": 56,
                                    "from_index": 83,
                                    "to_index": 84,
                                    "distance": 0.01,
                                    "time": 1.8767708333333333,
                                    "instruction": {
                                      "text": "Exit the roundabout onto Rue des Deux Ponts.",
                                      "type": "Roundabout",
                                      "transition_instruction": "Exit the roundabout. Then, in 500 feet, Turn left onto Montagne du Stimont.",
                                      "pre_transition_instruction": "Exit the roundabout onto Rue des Deux Ponts. Then, in 500 feet, Turn left onto Montagne du Stimont.",
                                      "post_transition_instruction": "Continue for 500 feet.",
                                      "streets": [
                                        "Rue des Deux Ponts"
                                      ],
                                      "contains_next_instruction": true
                                    }
                                  },
                                  {
                                    "speed": 50,
                                    "speed_limit": 50,
                                    "truck_limit": 50,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "secondary",
                                    "name": "Rue des Deux Ponts, N232",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "both",
                                    "elevation": 60,
                                    "from_index": 84,
                                    "to_index": 89,
                                    "distance": 0.09,
                                    "time": 16.8909375
                                  },
                                  {
                                    "speed": 35,
                                    "speed_limit": 90,
                                    "truck_limit": 90,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "residential",
                                    "name": "Montagne du Stimont",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "both",
                                    "elevation": 60,
                                    "from_index": 89,
                                    "to_index": 95,
                                    "distance": 0.06,
                                    "time": 13.792125000000002,
                                    "instruction": {
                                      "text": "Turn left onto Montagne du Stimont.",
                                      "type": "Left",
                                      "transition_instruction": "Turn left.",
                                      "pre_transition_instruction": "Turn left onto Montagne du Stimont.",
                                      "post_transition_instruction": "Continue for 900 feet.",
                                      "streets": [
                                        "Montagne du Stimont"
                                      ]
                                    }
                                  },
                                  {
                                    "speed": 35,
                                    "speed_limit": 90,
                                    "truck_limit": 90,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "residential",
                                    "name": "Montagne du Stimont",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "both",
                                    "elevation": 69,
                                    "from_index": 95,
                                    "to_index": 109,
                                    "distance": 0.1,
                                    "time": 22.986875
                                  },
                                  {
                                    "speed": 35,
                                    "speed_limit": 90,
                                    "truck_limit": 90,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "residential",
                                    "name": "Rue de Renivaux",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "both",
                                    "elevation": 71,
                                    "from_index": 109,
                                    "to_index": 126,
                                    "distance": 0.27,
                                    "time": 49.371,
                                    "instruction": {
                                      "text": "Bear right onto Rue de Renivaux.",
                                      "type": "SlightRight",
                                      "transition_instruction": "Bear right.",
                                      "pre_transition_instruction": "Bear right onto Rue de Renivaux.",
                                      "post_transition_instruction": "Continue for a quarter mile.",
                                      "streets": [
                                        "Rue de Renivaux"
                                      ]
                                    }
                                  },
                                  {
                                    "speed": 35,
                                    "speed_limit": 90,
                                    "truck_limit": 90,
                                    "surface": "paved_smooth",
                                    "lane_count": 1,
                                    "road_class": "residential",
                                    "name": "Avenue des Bouleaux",
                                    "toll": false,
                                    "tunnel": false,
                                    "bridge": false,
                                    "roundabout": false,
                                    "rightside": true,
                                    "traversability": "both",
                                    "elevation": 104,
                                    "from_index": 126,
                                    "to_index": 158,
                                    "distance": 0.29,
                                    "time": 68.16812499999999,
                                    "instruction": {
                                      "text": "Make a sharp left onto Avenue des Bouleaux.",
                                      "type": "SharpLeft",
                                      "transition_instruction": "Make a sharp left.",
                                      "pre_transition_instruction": "Make a sharp left onto Avenue des Bouleaux.",
                                      "post_transition_instruction": "Continue for a quarter mile.",
                                      "streets": [
                                        "Avenue des Bouleaux"
                                      ]
                                    }
                                  },
                                  {
                                    "from_index": 158,
                                    "to_index": 158,
                                    "distance": 0,
                                    "time": 0,
                                    "instruction": {
                                      "text": "Your destination is on the right.",
                                      "type": "DestinationReachedRight",
                                      "transition_instruction": "Your destination will be on the right.",
                                      "pre_transition_instruction": "Your destination is on the right."
                                    }
                                  }
                                ],
                                "country_code": [
                                  "be"
                                ]
                              }
                            ],
                            "country_code": [
                              "be"
                            ]
                          },
                          "geometry": {
                            "type": "MultiLineString",
                            "coordinates": [
                              [
                                [
                                  4.570128,
                                  50.679194
                                ],
                                [
                                  4.570706,
                                  50.678852
                                ],
                                [
                                  4.571422,
                                  50.679306
                                ],
                                [
                                  4.571714,
                                  50.679485
                                ],
                                [
                                  4.571851,
                                  50.679643
                                ],
                                [
                                  4.571848,
                                  50.679718
                                ],
                                [
                                  4.571843,
                                  50.679833
                                ],
                                [
                                  4.571687,
                                  50.680199
                                ],
                                [
                                  4.571974,
                                  50.68026
                                ],
                                [
                                  4.572331,
                                  50.680334
                                ],
                                [
                                  4.572864,
                                  50.680439
                                ],
                                [
                                  4.572877,
                                  50.680298
                                ],
                                [
                                  4.572904,
                                  50.679988
                                ],
                                [
                                  4.572919,
                                  50.679703
                                ],
                                [
                                  4.572904,
                                  50.679509
                                ],
                                [
                                  4.572904,
                                  50.679306
                                ],
                                [
                                  4.572789,
                                  50.678618
                                ],
                                [
                                  4.572672,
                                  50.678082
                                ],
                                [
                                  4.572656,
                                  50.677904
                                ],
                                [
                                  4.572576,
                                  50.677555
                                ],
                                [
                                  4.572527,
                                  50.677345
                                ],
                                [
                                  4.572504,
                                  50.677168
                                ],
                                [
                                  4.572431,
                                  50.676973
                                ],
                                [
                                  4.572244,
                                  50.676485
                                ],
                                [
                                  4.571878,
                                  50.675756
                                ],
                                [
                                  4.571829,
                                  50.675656
                                ],
                                [
                                  4.571528,
                                  50.675145
                                ],
                                [
                                  4.571335,
                                  50.674739
                                ],
                                [
                                  4.571313,
                                  50.674693
                                ],
                                [
                                  4.570879,
                                  50.673689
                                ],
                                [
                                  4.570807,
                                  50.673522
                                ],
                                [
                                  4.570639,
                                  50.673127
                                ],
                                [
                                  4.570627,
                                  50.673098
                                ],
                                [
                                  4.570604,
                                  50.673042
                                ],
                                [
                                  4.570582,
                                  50.672988
                                ],
                                [
                                  4.570569,
                                  50.672958
                                ],
                                [
                                  4.570554,
                                  50.672924
                                ],
                                [
                                  4.57052,
                                  50.67284
                                ],
                                [
                                  4.570503,
                                  50.672802
                                ],
                                [
                                  4.570481,
                                  50.672748
                                ],
                                [
                                  4.57043,
                                  50.672645
                                ],
                                [
                                  4.570373,
                                  50.672505
                                ],
                                [
                                  4.570338,
                                  50.672424
                                ],
                                [
                                  4.570302,
                                  50.672346
                                ],
                                [
                                  4.570258,
                                  50.672249
                                ],
                                [
                                  4.570246,
                                  50.672223
                                ],
                                [
                                  4.570226,
                                  50.672155
                                ],
                                [
                                  4.570206,
                                  50.672112
                                ],
                                [
                                  4.570169,
                                  50.672006
                                ],
                                [
                                  4.570163,
                                  50.671895
                                ],
                                [
                                  4.570178,
                                  50.67169
                                ],
                                [
                                  4.570187,
                                  50.671625
                                ],
                                [
                                  4.570177,
                                  50.671577
                                ],
                                [
                                  4.570188,
                                  50.671538
                                ],
                                [
                                  4.570207,
                                  50.671512
                                ],
                                [
                                  4.570251,
                                  50.671484
                                ],
                                [
                                  4.570281,
                                  50.671476
                                ],
                                [
                                  4.570339,
                                  50.671463
                                ],
                                [
                                  4.570421,
                                  50.671412
                                ],
                                [
                                  4.570507,
                                  50.671356
                                ],
                                [
                                  4.570558,
                                  50.671333
                                ],
                                [
                                  4.570586,
                                  50.671266
                                ],
                                [
                                  4.570606,
                                  50.671199
                                ],
                                [
                                  4.570635,
                                  50.671099
                                ],
                                [
                                  4.570648,
                                  50.671013
                                ],
                                [
                                  4.570671,
                                  50.670862
                                ],
                                [
                                  4.570708,
                                  50.670681
                                ],
                                [
                                  4.570815,
                                  50.670486
                                ],
                                [
                                  4.570943,
                                  50.670398
                                ],
                                [
                                  4.571071,
                                  50.670306
                                ],
                                [
                                  4.571247,
                                  50.669974
                                ],
                                [
                                  4.571373,
                                  50.669794
                                ],
                                [
                                  4.571648,
                                  50.669254
                                ],
                                [
                                  4.57171,
                                  50.669096
                                ],
                                [
                                  4.571724,
                                  50.669016
                                ],
                                [
                                  4.571725,
                                  50.668897
                                ],
                                [
                                  4.571739,
                                  50.66874
                                ],
                                [
                                  4.571789,
                                  50.668681
                                ],
                                [
                                  4.57185,
                                  50.668636
                                ],
                                [
                                  4.57187,
                                  50.668576
                                ],
                                [
                                  4.571894,
                                  50.668513
                                ],
                                [
                                  4.571886,
                                  50.668488
                                ],
                                [
                                  4.571888,
                                  50.668457
                                ],
                                [
                                  4.571908,
                                  50.668427
                                ],
                                [
                                  4.572011,
                                  50.668288
                                ],
                                [
                                  4.571962,
                                  50.66817
                                ],
                                [
                                  4.571834,
                                  50.66802
                                ],
                                [
                                  4.571572,
                                  50.667343
                                ],
                                [
                                  4.571572,
                                  50.667217
                                ],
                                [
                                  4.571594,
                                  50.667081
                                ],
                                [
                                  4.571674,
                                  50.667074
                                ],
                                [
                                  4.571904,
                                  50.667039
                                ],
                                [
                                  4.572131,
                                  50.666976
                                ],
                                [
                                  4.572521,
                                  50.666806
                                ],
                                [
                                  4.572711,
                                  50.666709
                                ],
                                [
                                  4.572735,
                                  50.666699
                                ],
                                [
                                  4.572756,
                                  50.666691
                                ],
                                [
                                  4.57283,
                                  50.666651
                                ],
                                [
                                  4.57301,
                                  50.666555
                                ],
                                [
                                  4.57312,
                                  50.666457
                                ],
                                [
                                  4.573172,
                                  50.666377
                                ],
                                [
                                  4.573184,
                                  50.666297
                                ],
                                [
                                  4.573126,
                                  50.666113
                                ],
                                [
                                  4.573072,
                                  50.665975
                                ],
                                [
                                  4.573013,
                                  50.66584
                                ],
                                [
                                  4.573016,
                                  50.665674
                                ],
                                [
                                  4.57306,
                                  50.665571
                                ],
                                [
                                  4.573085,
                                  50.665513
                                ],
                                [
                                  4.573142,
                                  50.665431
                                ],
                                [
                                  4.573231,
                                  50.665374
                                ],
                                [
                                  4.573184,
                                  50.665306
                                ],
                                [
                                  4.57322,
                                  50.66519
                                ],
                                [
                                  4.573293,
                                  50.665016
                                ],
                                [
                                  4.573395,
                                  50.664745
                                ],
                                [
                                  4.57352,
                                  50.664479
                                ],
                                [
                                  4.573604,
                                  50.664312
                                ],
                                [
                                  4.573698,
                                  50.664145
                                ],
                                [
                                  4.573988,
                                  50.663759
                                ],
                                [
                                  4.574049,
                                  50.663616
                                ],
                                [
                                  4.574127,
                                  50.663388
                                ],
                                [
                                  4.57423,
                                  50.663113
                                ],
                                [
                                  4.574415,
                                  50.662597
                                ],
                                [
                                  4.574528,
                                  50.662192
                                ],
                                [
                                  4.574476,
                                  50.661944
                                ],
                                [
                                  4.574399,
                                  50.661692
                                ],
                                [
                                  4.574426,
                                  50.661624
                                ],
                                [
                                  4.574442,
                                  50.661595
                                ],
                                [
                                  4.574512,
                                  50.661714
                                ],
                                [
                                  4.574606,
                                  50.661827
                                ],
                                [
                                  4.574803,
                                  50.662049
                                ],
                                [
                                  4.575002,
                                  50.662217
                                ],
                                [
                                  4.575236,
                                  50.662384
                                ],
                                [
                                  4.575434,
                                  50.662482
                                ],
                                [
                                  4.575642,
                                  50.662581
                                ],
                                [
                                  4.575783,
                                  50.66264
                                ],
                                [
                                  4.575942,
                                  50.662666
                                ],
                                [
                                  4.576077,
                                  50.662664
                                ],
                                [
                                  4.576228,
                                  50.662622
                                ],
                                [
                                  4.576306,
                                  50.662571
                                ],
                                [
                                  4.576366,
                                  50.662511
                                ],
                                [
                                  4.576441,
                                  50.662344
                                ],
                                [
                                  4.576576,
                                  50.662058
                                ],
                                [
                                  4.576634,
                                  50.661974
                                ],
                                [
                                  4.576754,
                                  50.661898
                                ],
                                [
                                  4.576923,
                                  50.661887
                                ],
                                [
                                  4.577067,
                                  50.661942
                                ],
                                [
                                  4.577202,
                                  50.662079
                                ],
                                [
                                  4.577339,
                                  50.662217
                                ],
                                [
                                  4.577405,
                                  50.662271
                                ],
                                [
                                  4.577482,
                                  50.662312
                                ],
                                [
                                  4.577571,
                                  50.662338
                                ],
                                [
                                  4.577661,
                                  50.662353
                                ],
                                [
                                  4.577762,
                                  50.662357
                                ],
                                [
                                  4.577862,
                                  50.662351
                                ],
                                [
                                  4.578009,
                                  50.662309
                                ],
                                [
                                  4.578137,
                                  50.662253
                                ],
                                [
                                  4.578384,
                                  50.66211
                                ],
                                [
                                  4.578641,
                                  50.661972
                                ],
                                [
                                  4.578837,
                                  50.661904
                                ]
                              ]
                            ]
                          }
                        }
                      ],
                      "properties": {
                        "mode": "drive",
                        "waypoints": [
                          {
                            "lat": 50.67902320667227,
                            "lon": 4.569876996843732
                          },
                          {
                            "lat": 50.66170571489684,
                            "lon": 4.578667041603012
                          }
                        ],
                        "units": "imperial",
                        "avoid": [
                          {
                            "type": "tolls",
                            "importance": 1
                          },
                          {
                            "type": "ferries"
                          }
                        ],
                        "details": [
                          "instruction_details",
                          "route_details"
                        ],
                        "traffic": "approximated"
                      },
                      "type": "FeatureCollection"
                    }
            application/xml:
              schema:
                $ref: '#/components/schemas/RoutingXmlResponse'
              examples:
                format=xml:
                  value: |
                    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
                      <root>
                        <results>
                          <mode>drive</mode>
                          <waypoints>
                            <location>4.569876</location>
                            <location>50.679023</location>
                            <original_index>0</original_index>
                          </waypoints>
                          <waypoints>
                            <location>4.578667</location>
                            <location>50.661705</location>
                            <original_index>1</original_index>
                          </waypoints>
                          <units>imperial</units>
                          <avoid>
                            <type>tolls</type>
                            <importance>1</importance>
                          </avoid>
                          <avoid>
                            <type>ferries</type>
                          </avoid>
                          <details>instruction_details</details>
                          <details>route_details</details>
                          <traffic>approximated</traffic>
                          <distance>1.884</distance>
                          <distance_units>miles</distance_units>
                          <time>312.384</time>
                          <max_speed>80</max_speed>
                          <legs>
                            <distance>1.884</distance>
                            <time>312.384</time>
                            <steps>
                              <speed>35</speed>
                              <speed_limit>90</speed_limit>
                              <truck_limit>90</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>residential</road_class>
                              <name>Avenue Jacques Georgin</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>both</traversability>
                              <elevation>62</elevation>
                              <from_index>0</from_index>
                              <to_index>1</to_index>
                              <distance>0.03</distance>
                              <time>5.040882352941176</time>
                              <instruction>
                                <text>Drive southeast on Avenue Jacques Georgin.</text>
                                <type>StartAtRight</type>
                                <transition_instruction>Drive southeast. Then Turn left onto Fond de Bondry.</transition_instruction>
                                <pre_transition_instruction>Drive southeast on Avenue Jacques Georgin. Then Turn left onto Fond de Bondry.</pre_transition_instruction>
                                <post_transition_instruction>Continue for 200 feet.</post_transition_instruction>
                                <streets>Avenue Jacques Georgin</streets>
                                <contains_next_instruction>true</contains_next_instruction>
                              </instruction>
                            </steps>
                            <steps>
                              <speed>35</speed>
                              <speed_limit>90</speed_limit>
                              <truck_limit>90</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>residential</road_class>
                              <name>Fond de Bondry</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>both</traversability>
                              <elevation>62</elevation>
                              <from_index>1</from_index>
                              <to_index>7</to_index>
                              <distance>0.11</distance>
                              <time>28.883274336283183</time>
                              <instruction>
                                <text>Turn left onto Fond de Bondry.</text>
                                <type>Left</type>
                                <transition_instruction>Turn left.</transition_instruction>
                                <pre_transition_instruction>Turn left onto Fond de Bondry.</pre_transition_instruction>
                                <post_transition_instruction>Continue for 600 feet.</post_transition_instruction>
                                <streets>Fond de Bondry</streets>
                              </instruction>
                            </steps>
                            <steps>
                              <speed>40</speed>
                              <speed_limit>90</speed_limit>
                              <truck_limit>90</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>unclassified</road_class>
                              <name>Fond de Bondry</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>forward</traversability>
                              <elevation>62</elevation>
                              <from_index>7</from_index>
                              <to_index>10</to_index>
                              <distance>0.05</distance>
                              <time>10.41388888888889</time>
                              <instruction>
                                <text>Turn right to stay on Fond de Bondry.</text>
                                <type>Right</type>
                                <transition_instruction>Turn right. Then Turn right onto Avenue Albert 1er.</transition_instruction>
                                <pre_transition_instruction>Turn right to stay on Fond de Bondry. Then Turn right onto Avenue Albert 1er.</pre_transition_instruction>
                                <post_transition_instruction>Continue for 300 feet.</post_transition_instruction>
                                <streets>Fond de Bondry</streets>
                                <contains_next_instruction>true</contains_next_instruction>
                              </instruction>
                            </steps>
                            <steps>
                              <speed>50</speed>
                              <speed_limit>50</speed_limit>
                              <truck_limit>50</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>secondary</road_class>
                              <name>Avenue Albert 1er, N239</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>both</traversability>
                              <elevation>61</elevation>
                              <from_index>10</from_index>
                              <to_index>21</to_index>
                              <distance>0.23</distance>
                              <time>29.770417335473518</time>
                              <instruction>
                                <text>Turn right onto Avenue Albert 1er/N239. Continue on N239.</text>
                                <type>Right</type>
                                <transition_instruction>Turn right.</transition_instruction>
                                <pre_transition_instruction>Turn right onto Avenue Albert 1er, N239.</pre_transition_instruction>
                                <post_transition_instruction>Continue on N239 for a half mile.</post_transition_instruction>
                                <streets>N239</streets>
                                <streets>Avenue Albert 1er</streets>
                              </instruction>
                            </steps>
                            <steps>
                              <speed>50</speed>
                              <speed_limit>50</speed_limit>
                              <truck_limit>50</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>secondary</road_class>
                              <name>Avenue Albert 1er, N239</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>both</traversability>
                              <elevation>68</elevation>
                              <from_index>21</from_index>
                              <to_index>30</to_index>
                              <distance>0.26</distance>
                              <time>33.65351524879615</time>
                            </steps>
                            <steps>
                              <speed>50</speed>
                              <speed_limit>50</speed_limit>
                              <truck_limit>50</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>secondary</road_class>
                              <name>Avenue des Combattants, N239</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>both</traversability>
                              <elevation>64</elevation>
                              <from_index>30</from_index>
                              <to_index>33</to_index>
                              <distance>0.03</distance>
                              <time>3.883097913322632</time>
                            </steps>
                            <steps>
                              <speed>50</speed>
                              <speed_limit>50</speed_limit>
                              <truck_limit>50</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>secondary</road_class>
                              <name>Avenue des Combattants, N239</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>both</traversability>
                              <elevation>64</elevation>
                              <from_index>33</from_index>
                              <to_index>34</to_index>
                              <distance>0</distance>
                              <time>0</time>
                            </steps>
                            <steps>
                              <speed>50</speed>
                              <speed_limit>50</speed_limit>
                              <truck_limit>50</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>secondary</road_class>
                              <name>Avenue des Combattants, N239</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>both</traversability>
                              <elevation>64</elevation>
                              <from_index>34</from_index>
                              <to_index>39</to_index>
                              <distance>0.02</distance>
                              <time>2.5887319422150883</time>
                            </steps>
                            <steps>
                              <speed>50</speed>
                              <speed_limit>50</speed_limit>
                              <truck_limit>50</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>secondary</road_class>
                              <name>Avenue des Combattants, N239</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>both</traversability>
                              <elevation>64</elevation>
                              <from_index>39</from_index>
                              <to_index>40</to_index>
                              <distance>0.01</distance>
                              <time>1.2943659711075441</time>
                            </steps>
                            <steps>
                              <speed>50</speed>
                              <speed_limit>50</speed_limit>
                              <truck_limit>50</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>secondary</road_class>
                              <name>Avenue des Combattants, N239</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>both</traversability>
                              <elevation>64</elevation>
                              <from_index>40</from_index>
                              <to_index>42</to_index>
                              <distance>0.02</distance>
                              <time>2.5887319422150883</time>
                            </steps>
                            <steps>
                              <speed>50</speed>
                              <speed_limit>50</speed_limit>
                              <truck_limit>50</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>secondary</road_class>
                              <name>Avenue des Combattants, N239</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>both</traversability>
                              <elevation>64</elevation>
                              <from_index>42</from_index>
                              <to_index>47</to_index>
                              <distance>0.02</distance>
                              <time>2.5887319422150883</time>
                            </steps>
                            <steps>
                              <speed>50</speed>
                              <speed_limit>50</speed_limit>
                              <truck_limit>50</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>secondary</road_class>
                              <name>Avenue des Combattants, N239</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>forward</traversability>
                              <elevation>64</elevation>
                              <from_index>47</from_index>
                              <to_index>51</to_index>
                              <distance>0.03</distance>
                              <time>3.883097913322632</time>
                            </steps>
                            <steps>
                              <speed>50</speed>
                              <speed_limit>50</speed_limit>
                              <truck_limit>50</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>secondary</road_class>
                              <name>Rond-Point de la Libération des Camps</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>true</roundabout>
                              <rightside>true</rightside>
                              <traversability>forward</traversability>
                              <elevation>64</elevation>
                              <from_index>51</from_index>
                              <to_index>55</to_index>
                              <distance>0.01</distance>
                              <time>2.7278571428571428</time>
                              <instruction>
                                <text>Enter Rond-Point de la Libération des Camps and take the 1st exit onto Avenue Paul Delvaux.</text>
                                <type>Roundabout</type>
                                <transition_instruction>Enter the roundabout and take the 1st exit.</transition_instruction>
                                <pre_transition_instruction>Enter Rond-Point de la Libération des Camps and take the 1st exit onto Avenue Paul Delvaux.</pre_transition_instruction>
                                <streets>Rond-Point de la Libération des Camps</streets>
                                <roundabout_exit>1</roundabout_exit>
                              </instruction>
                            </steps>
                            <steps>
                              <speed>50</speed>
                              <speed_limit>50</speed_limit>
                              <truck_limit>50</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>secondary</road_class>
                              <name>Rond-Point de la Libération des Camps</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>true</roundabout>
                              <rightside>true</rightside>
                              <traversability>forward</traversability>
                              <elevation>62</elevation>
                              <from_index>55</from_index>
                              <to_index>57</to_index>
                              <distance>0</distance>
                              <time>0</time>
                            </steps>
                            <steps>
                              <speed>50</speed>
                              <speed_limit>90</speed_limit>
                              <truck_limit>90</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>tertiary</road_class>
                              <name>Avenue Paul Delvaux</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>forward</traversability>
                              <elevation>60</elevation>
                              <from_index>57</from_index>
                              <to_index>60</to_index>
                              <distance>0.01</distance>
                              <time>1.1813242009132419</time>
                              <instruction>
                                <text>Exit the roundabout onto Avenue Paul Delvaux.</text>
                                <type>Roundabout</type>
                                <transition_instruction>Exit the roundabout.</transition_instruction>
                                <pre_transition_instruction>Exit the roundabout onto Avenue Paul Delvaux.</pre_transition_instruction>
                                <post_transition_instruction>Continue for a quarter mile.</post_transition_instruction>
                                <streets>Avenue Paul Delvaux</streets>
                              </instruction>
                            </steps>
                            <steps>
                              <speed>50</speed>
                              <speed_limit>50</speed_limit>
                              <truck_limit>50</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>tertiary</road_class>
                              <name>Avenue Paul Delvaux</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>both</traversability>
                              <elevation>58</elevation>
                              <from_index>60</from_index>
                              <to_index>67</to_index>
                              <distance>0.06</distance>
                              <time>7.087945205479452</time>
                            </steps>
                            <steps>
                              <speed>50</speed>
                              <speed_limit>50</speed_limit>
                              <truck_limit>50</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>tertiary</road_class>
                              <name>Avenue Paul Delvaux</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>true</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>both</traversability>
                              <elevation>56</elevation>
                              <from_index>67</from_index>
                              <to_index>69</to_index>
                              <distance>0.02</distance>
                              <time>2.3626484018264837</time>
                            </steps>
                            <steps>
                              <speed>50</speed>
                              <speed_limit>50</speed_limit>
                              <truck_limit>50</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>tertiary</road_class>
                              <name>Avenue Paul Delvaux</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>forward</traversability>
                              <elevation>55</elevation>
                              <from_index>69</from_index>
                              <to_index>80</to_index>
                              <distance>0.13</distance>
                              <time>15.357214611872145</time>
                            </steps>
                            <steps>
                              <speed>50</speed>
                              <speed_limit>50</speed_limit>
                              <truck_limit>50</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>secondary</road_class>
                              <name>Rue des Deux Ponts</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>true</roundabout>
                              <rightside>true</rightside>
                              <traversability>forward</traversability>
                              <elevation>56</elevation>
                              <from_index>80</from_index>
                              <to_index>83</to_index>
                              <distance>0.01</distance>
                              <time>1.7349999999999999</time>
                              <instruction>
                                <text>Enter the roundabout and take the 2nd exit onto Rue des Deux Ponts.</text>
                                <type>Roundabout</type>
                                <transition_instruction>Enter the roundabout and take the 2nd exit.</transition_instruction>
                                <pre_transition_instruction>Enter the roundabout and take the 2nd exit onto Rue des Deux Ponts.</pre_transition_instruction>
                                <roundabout_exit>2</roundabout_exit>
                              </instruction>
                            </steps>
                            <steps>
                              <speed>50</speed>
                              <speed_limit>50</speed_limit>
                              <truck_limit>50</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>secondary</road_class>
                              <name>Rue des Deux Ponts</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>forward</traversability>
                              <elevation>56</elevation>
                              <from_index>83</from_index>
                              <to_index>84</to_index>
                              <distance>0.01</distance>
                              <time>1.2186458333333334</time>
                              <instruction>
                                <text>Exit the roundabout onto Rue des Deux Ponts.</text>
                                <type>Roundabout</type>
                                <transition_instruction>Exit the roundabout. Then, in 500 feet, Turn left onto Montagne du Stimont.</transition_instruction>
                                <pre_transition_instruction>Exit the roundabout onto Rue des Deux Ponts. Then, in 500 feet, Turn left onto Montagne du Stimont.</pre_transition_instruction>
                                <post_transition_instruction>Continue for 500 feet.</post_transition_instruction>
                                <streets>Rue des Deux Ponts</streets>
                                <contains_next_instruction>true</contains_next_instruction>
                              </instruction>
                            </steps>
                            <steps>
                              <speed>50</speed>
                              <speed_limit>50</speed_limit>
                              <truck_limit>50</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>secondary</road_class>
                              <name>Rue des Deux Ponts, N232</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>both</traversability>
                              <elevation>60</elevation>
                              <from_index>84</from_index>
                              <to_index>89</to_index>
                              <distance>0.09</distance>
                              <time>10.967812499999999</time>
                            </steps>
                            <steps>
                              <speed>35</speed>
                              <speed_limit>90</speed_limit>
                              <truck_limit>90</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>residential</road_class>
                              <name>Montagne du Stimont</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>both</traversability>
                              <elevation>60</elevation>
                              <from_index>89</from_index>
                              <to_index>95</to_index>
                              <distance>0.06</distance>
                              <time>12.855374999999999</time>
                              <instruction>
                                <text>Turn left onto Montagne du Stimont.</text>
                                <type>Left</type>
                                <transition_instruction>Turn left.</transition_instruction>
                                <pre_transition_instruction>Turn left onto Montagne du Stimont.</pre_transition_instruction>
                                <post_transition_instruction>Continue for 900 feet.</post_transition_instruction>
                                <streets>Montagne du Stimont</streets>
                              </instruction>
                            </steps>
                            <steps>
                              <speed>35</speed>
                              <speed_limit>90</speed_limit>
                              <truck_limit>90</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>residential</road_class>
                              <name>Montagne du Stimont</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>both</traversability>
                              <elevation>69</elevation>
                              <from_index>95</from_index>
                              <to_index>109</to_index>
                              <distance>0.1</distance>
                              <time>21.425625</time>
                            </steps>
                            <steps>
                              <speed>35</speed>
                              <speed_limit>90</speed_limit>
                              <truck_limit>90</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>residential</road_class>
                              <name>Rue de Renivaux</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>both</traversability>
                              <elevation>71</elevation>
                              <from_index>109</from_index>
                              <to_index>126</to_index>
                              <distance>0.27</distance>
                              <time>45.167</time>
                              <instruction>
                                <text>Bear right onto Rue de Renivaux.</text>
                                <type>SlightRight</type>
                                <transition_instruction>Bear right.</transition_instruction>
                                <pre_transition_instruction>Bear right onto Rue de Renivaux.</pre_transition_instruction>
                                <post_transition_instruction>Continue for a quarter mile.</post_transition_instruction>
                                <streets>Rue de Renivaux</streets>
                              </instruction>
                            </steps>
                            <steps>
                              <speed>35</speed>
                              <speed_limit>90</speed_limit>
                              <truck_limit>90</truck_limit>
                              <surface>paved_smooth</surface>
                              <lane_count>1</lane_count>
                              <road_class>residential</road_class>
                              <name>Avenue des Bouleaux</name>
                              <toll>false</toll>
                              <tunnel>false</tunnel>
                              <bridge>false</bridge>
                              <roundabout>false</roundabout>
                              <rightside>true</rightside>
                              <traversability>both</traversability>
                              <elevation>104</elevation>
                              <from_index>126</from_index>
                              <to_index>158</to_index>
                              <distance>0.29</distance>
                              <time>63.67010416666667</time>
                              <instruction>
                                <text>Make a sharp left onto Avenue des Bouleaux.</text>
                                <type>SharpLeft</type>
                                <transition_instruction>Make a sharp left.</transition_instruction>
                                <pre_transition_instruction>Make a sharp left onto Avenue des Bouleaux.</pre_transition_instruction>
                                <post_transition_instruction>Continue for a quarter mile.</post_transition_instruction>
                                <streets>Avenue des Bouleaux</streets>
                              </instruction>
                            </steps>
                            <steps>
                              <from_index>158</from_index>
                              <to_index>158</to_index>
                              <distance>0</distance>
                              <time>0</time>
                              <instruction>
                                <text>Your destination is on the right.</text>
                                <type>DestinationReachedRight</type>
                                <transition_instruction>Your destination will be on the right.</transition_instruction>
                                <pre_transition_instruction>Your destination is on the right.</pre_transition_instruction>
                              </instruction>
                            </steps>
                            <country_code>be</country_code>
                          </legs>
                          <country_code>be</country_code>
                          <geometry>
                            <lon>4.570128</lon>
                            <lat>50.679194</lat>
                            <lon>4.570706</lon>
                            <lat>50.678852</lat>
                            <lon>4.571422</lon>
                            <lat>50.679306</lat>
                            <lon>4.571714</lon>
                            <lat>50.679485</lat>
                            <lon>4.571851</lon>
                            <lat>50.679643</lat>
                            <lon>4.571848</lon>
                            <lat>50.679718</lat>
                            <lon>4.571843</lon>
                            <lat>50.679833</lat>
                            <lon>4.571687</lon>
                            <lat>50.680199</lat>
                            <lon>4.571974</lon>
                            <lat>50.68026</lat>
                            <lon>4.572331</lon>
                            <lat>50.680334</lat>
                            <lon>4.572864</lon>
                            <lat>50.680439</lat>
                            <lon>4.572877</lon>
                            <lat>50.680298</lat>
                            <lon>4.572904</lon>
                            <lat>50.679988</lat>
                            <lon>4.572919</lon>
                            <lat>50.679703</lat>
                            <lon>4.572904</lon>
                            <lat>50.679509</lat>
                            <lon>4.572904</lon>
                            <lat>50.679306</lat>
                            <lon>4.572789</lon>
                            <lat>50.678618</lat>
                            <lon>4.572672</lon>
                            <lat>50.678082</lat>
                            <lon>4.572656</lon>
                            <lat>50.677904</lat>
                            <lon>4.572576</lon>
                            <lat>50.677555</lat>
                            <lon>4.572527</lon>
                            <lat>50.677345</lat>
                            <lon>4.572504</lon>
                            <lat>50.677168</lat>
                            <lon>4.572431</lon>
                            <lat>50.676973</lat>
                            <lon>4.572244</lon>
                            <lat>50.676485</lat>
                            <lon>4.571878</lon>
                            <lat>50.675756</lat>
                            <lon>4.571829</lon>
                            <lat>50.675656</lat>
                            <lon>4.571528</lon>
                            <lat>50.675145</lat>
                            <lon>4.571335</lon>
                            <lat>50.674739</lat>
                            <lon>4.571313</lon>
                            <lat>50.674693</lat>
                            <lon>4.570879</lon>
                            <lat>50.673689</lat>
                            <lon>4.570807</lon>
                            <lat>50.673522</lat>
                            <lon>4.570639</lon>
                            <lat>50.673127</lat>
                            <lon>4.570627</lon>
                            <lat>50.673098</lat>
                            <lon>4.570604</lon>
                            <lat>50.673042</lat>
                            <lon>4.570582</lon>
                            <lat>50.672988</lat>
                            <lon>4.570569</lon>
                            <lat>50.672958</lat>
                            <lon>4.570554</lon>
                            <lat>50.672924</lat>
                            <lon>4.57052</lon>
                            <lat>50.67284</lat>
                            <lon>4.570503</lon>
                            <lat>50.672802</lat>
                            <lon>4.570481</lon>
                            <lat>50.672748</lat>
                            <lon>4.57043</lon>
                            <lat>50.672645</lat>
                            <lon>4.570373</lon>
                            <lat>50.672505</lat>
                            <lon>4.570338</lon>
                            <lat>50.672424</lat>
                            <lon>4.570302</lon>
                            <lat>50.672346</lat>
                            <lon>4.570258</lon>
                            <lat>50.672249</lat>
                            <lon>4.570246</lon>
                            <lat>50.672223</lat>
                            <lon>4.570226</lon>
                            <lat>50.672155</lat>
                            <lon>4.570206</lon>
                            <lat>50.672112</lat>
                            <lon>4.570169</lon>
                            <lat>50.672006</lat>
                            <lon>4.570163</lon>
                            <lat>50.671895</lat>
                            <lon>4.570178</lon>
                            <lat>50.67169</lat>
                            <lon>4.570187</lon>
                            <lat>50.671625</lat>
                            <lon>4.570177</lon>
                            <lat>50.671577</lat>
                            <lon>4.570188</lon>
                            <lat>50.671538</lat>
                            <lon>4.570207</lon>
                            <lat>50.671512</lat>
                            <lon>4.570251</lon>
                            <lat>50.671484</lat>
                            <lon>4.570281</lon>
                            <lat>50.671476</lat>
                            <lon>4.570339</lon>
                            <lat>50.671463</lat>
                            <lon>4.570421</lon>
                            <lat>50.671412</lat>
                            <lon>4.570507</lon>
                            <lat>50.671356</lat>
                            <lon>4.570558</lon>
                            <lat>50.671333</lat>
                            <lon>4.570586</lon>
                            <lat>50.671266</lat>
                            <lon>4.570606</lon>
                            <lat>50.671199</lat>
                            <lon>4.570635</lon>
                            <lat>50.671099</lat>
                            <lon>4.570648</lon>
                            <lat>50.671013</lat>
                            <lon>4.570671</lon>
                            <lat>50.670862</lat>
                            <lon>4.570708</lon>
                            <lat>50.670681</lat>
                            <lon>4.570815</lon>
                            <lat>50.670486</lat>
                            <lon>4.570943</lon>
                            <lat>50.670398</lat>
                            <lon>4.571071</lon>
                            <lat>50.670306</lat>
                            <lon>4.571247</lon>
                            <lat>50.669974</lat>
                            <lon>4.571373</lon>
                            <lat>50.669794</lat>
                            <lon>4.571648</lon>
                            <lat>50.669254</lat>
                            <lon>4.57171</lon>
                            <lat>50.669096</lat>
                            <lon>4.571724</lon>
                            <lat>50.669016</lat>
                            <lon>4.571725</lon>
                            <lat>50.668897</lat>
                            <lon>4.571739</lon>
                            <lat>50.66874</lat>
                            <lon>4.571789</lon>
                            <lat>50.668681</lat>
                            <lon>4.57185</lon>
                            <lat>50.668636</lat>
                            <lon>4.57187</lon>
                            <lat>50.668576</lat>
                            <lon>4.571894</lon>
                            <lat>50.668513</lat>
                            <lon>4.571886</lon>
                            <lat>50.668488</lat>
                            <lon>4.571888</lon>
                            <lat>50.668457</lat>
                            <lon>4.571908</lon>
                            <lat>50.668427</lat>
                            <lon>4.572011</lon>
                            <lat>50.668288</lat>
                            <lon>4.571962</lon>
                            <lat>50.66817</lat>
                            <lon>4.571834</lon>
                            <lat>50.66802</lat>
                            <lon>4.571572</lon>
                            <lat>50.667343</lat>
                            <lon>4.571572</lon>
                            <lat>50.667217</lat>
                            <lon>4.571594</lon>
                            <lat>50.667081</lat>
                            <lon>4.571674</lon>
                            <lat>50.667074</lat>
                            <lon>4.571904</lon>
                            <lat>50.667039</lat>
                            <lon>4.572131</lon>
                            <lat>50.666976</lat>
                            <lon>4.572521</lon>
                            <lat>50.666806</lat>
                            <lon>4.572711</lon>
                            <lat>50.666709</lat>
                            <lon>4.572735</lon>
                            <lat>50.666699</lat>
                            <lon>4.572756</lon>
                            <lat>50.666691</lat>
                            <lon>4.57283</lon>
                            <lat>50.666651</lat>
                            <lon>4.57301</lon>
                            <lat>50.666555</lat>
                            <lon>4.57312</lon>
                            <lat>50.666457</lat>
                            <lon>4.573172</lon>
                            <lat>50.666377</lat>
                            <lon>4.573184</lon>
                            <lat>50.666297</lat>
                            <lon>4.573126</lon>
                            <lat>50.666113</lat>
                            <lon>4.573072</lon>
                            <lat>50.665975</lat>
                            <lon>4.573013</lon>
                            <lat>50.66584</lat>
                            <lon>4.573016</lon>
                            <lat>50.665674</lat>
                            <lon>4.57306</lon>
                            <lat>50.665571</lat>
                            <lon>4.573085</lon>
                            <lat>50.665513</lat>
                            <lon>4.573142</lon>
                            <lat>50.665431</lat>
                            <lon>4.573231</lon>
                            <lat>50.665374</lat>
                            <lon>4.573184</lon>
                            <lat>50.665306</lat>
                            <lon>4.57322</lon>
                            <lat>50.66519</lat>
                            <lon>4.573293</lon>
                            <lat>50.665016</lat>
                            <lon>4.573395</lon>
                            <lat>50.664745</lat>
                            <lon>4.57352</lon>
                            <lat>50.664479</lat>
                            <lon>4.573604</lon>
                            <lat>50.664312</lat>
                            <lon>4.573698</lon>
                            <lat>50.664145</lat>
                            <lon>4.573988</lon>
                            <lat>50.663759</lat>
                            <lon>4.574049</lon>
                            <lat>50.663616</lat>
                            <lon>4.574127</lon>
                            <lat>50.663388</lat>
                            <lon>4.57423</lon>
                            <lat>50.663113</lat>
                            <lon>4.574415</lon>
                            <lat>50.662597</lat>
                            <lon>4.574528</lon>
                            <lat>50.662192</lat>
                            <lon>4.574476</lon>
                            <lat>50.661944</lat>
                            <lon>4.574399</lon>
                            <lat>50.661692</lat>
                            <lon>4.574426</lon>
                            <lat>50.661624</lat>
                            <lon>4.574442</lon>
                            <lat>50.661595</lat>
                            <lon>4.574512</lon>
                            <lat>50.661714</lat>
                            <lon>4.574606</lon>
                            <lat>50.661827</lat>
                            <lon>4.574803</lon>
                            <lat>50.662049</lat>
                            <lon>4.575002</lon>
                            <lat>50.662217</lat>
                            <lon>4.575236</lon>
                            <lat>50.662384</lat>
                            <lon>4.575434</lon>
                            <lat>50.662482</lat>
                            <lon>4.575642</lon>
                            <lat>50.662581</lat>
                            <lon>4.575783</lon>
                            <lat>50.66264</lat>
                            <lon>4.575942</lon>
                            <lat>50.662666</lat>
                            <lon>4.576077</lon>
                            <lat>50.662664</lat>
                            <lon>4.576228</lon>
                            <lat>50.662622</lat>
                            <lon>4.576306</lon>
                            <lat>50.662571</lat>
                            <lon>4.576366</lon>
                            <lat>50.662511</lat>
                            <lon>4.576441</lon>
                            <lat>50.662344</lat>
                            <lon>4.576576</lon>
                            <lat>50.662058</lat>
                            <lon>4.576634</lon>
                            <lat>50.661974</lat>
                            <lon>4.576754</lon>
                            <lat>50.661898</lat>
                            <lon>4.576923</lon>
                            <lat>50.661887</lat>
                            <lon>4.577067</lon>
                            <lat>50.661942</lat>
                            <lon>4.577202</lon>
                            <lat>50.662079</lat>
                            <lon>4.577339</lon>
                            <lat>50.662217</lat>
                            <lon>4.577405</lon>
                            <lat>50.662271</lat>
                            <lon>4.577482</lon>
                            <lat>50.662312</lat>
                            <lon>4.577571</lon>
                            <lat>50.662338</lat>
                            <lon>4.577661</lon>
                            <lat>50.662353</lat>
                            <lon>4.577762</lon>
                            <lat>50.662357</lat>
                            <lon>4.577862</lon>
                            <lat>50.662351</lat>
                            <lon>4.578009</lon>
                            <lat>50.662309</lat>
                            <lon>4.578137</lon>
                            <lat>50.662253</lat>
                            <lon>4.578384</lon>
                            <lat>50.66211</lat>
                            <lon>4.578641</lon>
                            <lat>50.661972</lat>
                            <lon>4.578838</lon>
                            <lat>50.661904</lat>
                          </geometry>
                        </results>
                        <properties>
                          <mode>drive</mode>
                          <waypoints>
                            <lat>50.679023</lat>
                            <lon>4.569876</lon>
                          </waypoints>
                          <waypoints>
                            <lat>50.661705</lat>
                            <lon>4.578667</lon>
                          </waypoints>
                          <units>imperial</units>
                          <avoid>
                            <type>tolls</type>
                            <importance>1</importance>
                          </avoid>
                          <avoid>
                            <type>ferries</type>
                          </avoid>
                          <details>instruction_details</details>
                          <details>route_details</details>
                          <traffic>approximated</traffic>
                        </properties>
                      </root>
        '400':
          description: Bad Request. The input provided is invalid or improperly formatted. Please verify and correct your request parameters.
        '401':
          description: Unauthorized. The API key is missing, incorrect, or invalid. Please provide a valid API key to authenticate the request.
        '429':
          description: Request limit exceeded. Too many requests have been sent in a short period, surpassing the allowed rate limits.
        '500':
          description: Internal Server Error. The server encountered an unexpected condition that prevented it from fulfilling the request. Please try again later or [contact support](mailto:info@geoapify.com) if the issue persists.

components:
  schemas:
    # JSON Format Response Schema
    RoutingJsonResponse:
      type: object
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/RoutingResult'
        properties:
          $ref: '#/components/schemas/RoutingProperties'
    
    # GeoJSON Format Response Schema
    RoutingGeoJsonResponse:
      allOf:
        - $ref: '../common/shared-components.yaml#/components/schemas/GeoJsonFeatureCollection'
        - type: object
          properties:
            features:
              type: array
              items:
                $ref: '#/components/schemas/RoutingGeoJsonFeature'
            properties:
              $ref: '#/components/schemas/RoutingProperties'
    
    # Individual routing result object
    RoutingResult:
      type: object
      properties:
        mode:
          type: string
          description: Transportation mode used for routing
        intermediate_waypoint_mode:
          type: string
          enum: [ stopover, through_stop, pass_through ]
          description: Echoed when the request explicitly sets intermediate waypoint handling behavior
        waypoints:
          type: array
          items:
            $ref: '#/components/schemas/RoutingWaypoint'
        units:
          $ref: '../common/shared-components.yaml#/components/schemas/UnitsEnum'
        avoid:
          type: array
          items:
            $ref: '#/components/schemas/RoutingAvoid'
          description: List of avoided road types or locations
        details:
          type: array
          items:
            type: string
          description: Additional details requested
        traffic:
          $ref: '../common/shared-components.yaml#/components/schemas/TrafficEnum'
        distance:
          type: number
          description: Total route distance
        distance_units:
          type: string
          description: Distance units (Miles or Meters)
        time:
          type: number
          description: Estimated travel time in seconds
        max_speed:
          type: number
          description: Maximum speed setting for the route
        toll:
          type: boolean
          description: True if the route has tolls
        ferry:
          type: boolean
          description: True if the route uses a ferry
        legs:
          type: array
          items:
            $ref: '#/components/schemas/RoutingLeg'
          description: Array of route legs between waypoints or route split points. With intermediate_waypoint_mode=pass_through, intermediate waypoints do not create additional legs.
        geometry:
          type: array
          items:
            type: array
            items:
              type: array
              items:
                type: number
              minItems: 2
              maxItems: 2
          description: Route geometry as MultiLineString coordinates
    
    # GeoJSON Feature for routing
    RoutingGeoJsonFeature:
      allOf:
        - $ref: '../common/shared-components.yaml#/components/schemas/GeoJsonFeature'
        - type: object
          properties:
            properties:
              $ref: '#/components/schemas/RoutingResult'
            geometry:
              type: object
              properties:
                type:
                  type: string
                  enum: [MultiLineString]
            coordinates:
              type: array
              items:
                type: array
                items:
                  type: array
                  items:
                    type: number
                  minItems: 2
                  maxItems: 2
    
    # Routing waypoint
    RoutingWaypoint:
      type: object
      properties:
        location:
          $ref: '../common/shared-components.yaml#/components/schemas/CoordinateArray'
        original_index:
          type: integer
          description: Original index of the waypoint
    
    # Route leg between two waypoints
    RoutingLeg:
      type: object
      properties:
        distance:
          type: number
          description: Distance of the route leg
        time:
          type: number
          description: Estimated travel time in seconds
        steps:
          type: array
          items:
            $ref: '#/components/schemas/RoutingStep'
          description: Array of steps in this leg
        elevation:
          type: array
          items:
            type: number
          description: Array of heights in meters (when elevation details requested)
        elevation_range:
          type: array
          items:
            type: array
            items:
              type: number
            minItems: 2
            maxItems: 2
          description: Array of [distance, height] values in meters
        country_code:
          type: array
          items:
            type: string
          description: List of country codes crossed by the route leg
    
    # Individual route step
    RoutingStep:
      type: object
      properties:
        distance:
          type: number
          description: Distance of the route segment
        time:
          type: number
          description: Estimated travel time in seconds
        from_index:
          type: integer
          description: Index where geometry starts in the leg geometry
        to_index:
          type: integer
          description: Index where geometry ends in the leg geometry
        toll:
          type: boolean
          description: True if the step has toll
        ferry:
          type: boolean
          description: True if includes a ferry
        tunnel:
          type: boolean
          description: True if is a tunnel
        bridge:
          type: boolean
          description: True if is a bridge
        roundabout:
          type: boolean
          description: True if is a roundabout
        speed:
          type: number
          description: Estimated speed
        speed_limit:
          type: number
          description: Speed limit
        truck_limit:
          type: number
          description: Speed limit for trucks
        surface:
          type: string
          enum: [paved_smooth, paved, paved_rough, compacted, dirt, gravel, path, impassable]
          description: Road surface type
        lane_count:
          type: integer
          description: Number of lanes
        road_class:
          type: string
          enum: [motorway, trunk, primary, secondary, tertiary, unclassified, residential, service_other]
          description: Road class
        name:
          type: string
          description: Road name
        rightside:
          type: boolean
          description: True for driving on the right side
        traversability:
          type: string
          enum: [forward, backward, both]
          description: Traversability direction
        elevation:
          type: number
          description: Average elevation along the step
        max_elevation:
          type: number
          description: Maximal elevation along the step
        min_elevation:
          type: number
          description: Minimal elevation along the step
        elevation_gain:
          type: number
          description: Elevation difference between first and last point
        instruction:
          $ref: '#/components/schemas/RoutingInstruction'
    
    # Step instruction for turn-by-turn navigation
    RoutingInstruction:
      type: object
      properties:
        text:
          type: string
          description: Navigation instruction text
        type:
          type: string
          enum: [None, StartAt, StartAtRight, StartAtLeft, DestinationReached, DestinationReachedRight, DestinationReachedLeft, Straight, SlightRight, Right, SharpRight, TurnAroundRight, TurnAroundLeft, SharpLeft, Left, SlightLeft, ExitRight, ExitLeft, StayRight, StayLeft, Merge, Roundabout, FerryEnter, FerryExit, Transit, TransitTransfer, TransitRemainOn, TransitConnectionStart, TransitConnectionTransfer, TransitConnectionDestination, PostTransitConnectionDestination, MergeRight, MergeLeft]
          description: Type of maneuver
        transition_instruction:
          type: string
          description: Transition instruction
        pre_transition_instruction:
          type: string
          description: Instruction before transition
        post_transition_instruction:
          type: string
          description: Instruction after transition
        streets:
          type: array
          items:
            type: string
          description: List of street names for the maneuver
        exitNumber:
          type: array
          items:
            type: string
          description: List of exit numbers
        exitRoadName:
          type: array
          items:
            type: string
          description: List of exit road names
        exitTowards:
          type: array
          items:
            type: string
          description: List of exit directions
        contains_next_instruction:
          type: boolean
          description: True when transition instruction contains part of next instruction
        roundabout_exit:
          type: integer
          description: Roundabout exit number
    
    # Avoid configuration object
    RoutingAvoid:
      type: object
      properties:
        type:
          type: string
          description: Type of road or location to avoid
        importance:
          type: number
          description: Importance level from 0 to 1 (optional)
    
    # Request properties
    RoutingProperties:
      type: object
      properties:
        mode:
          type: string
          description: Transportation mode
        intermediate_waypoint_mode:
          type: string
          enum: [ stopover, through_stop, pass_through ]
          description: Echoed when `intermediate_waypoint_mode` is explicitly provided in the request
        waypoints:
          type: array
          items:
            type: array
            items:
              type: number
          description: Original waypoints coordinates
        units:
          type: string
          description: Distance units
        avoid:
          type: array
          items:
            type: string
          description: Avoided road types or locations
        details:
          type: array
          items:
            type: string
          description: Additional details requested
        traffic:
          type: string
          description: Traffic model used
    
    # XML Format Response Schema
    RoutingXmlResponse:
      type: object
      xml:
        name: root
      properties:
        results:
          type: array
          xml:
            wrapped: false
          items:
            type: object
            xml:
              name: results
            properties:
              mode:
                type: string
              waypoints:
                type: array
                xml:
                  wrapped: false
                items:
                  type: object
                  xml:
                    name: waypoints
                  properties:
                    location:
                      type: array
                      xml:
                        wrapped: false
                      items:
                        type: number
                        xml:
                          name: location
                    original_index:
                      type: integer
              units:
                type: string
              avoid:
                type: array
                xml:
                  wrapped: false
                items:
                  type: string
                  xml:
                    name: avoid
              details:
                type: array
                xml:
                  wrapped: false
                items:
                  type: string
                  xml:
                    name: details
              traffic:
                type: string
              distance:
                type: number
              distance_units:
                type: string
              time:
                type: integer
              toll:
                type: boolean
              ferry:
                type: boolean
              legs:
                type: array
                xml:
                  wrapped: false
                items:
                  type: object
                  xml:
                    name: legs
                  properties:
                    distance:
                      type: number
                    time:
                      type: integer
                    steps:
                      type: array
                      xml:
                        wrapped: false
                      items:
                        type: object
                        xml:
                          name: steps
                        properties:
                          distance:
                            type: number
                          time:
                            type: integer
                          from_index:
                            type: integer
                          to_index:
                            type: integer
                          toll:
                            type: boolean
                          ferry:
                            type: boolean
                          instruction:
                            type: object
                            xml:
                              name: instruction
                            properties:
                              text:
                                type: string
                              type:
                                type: string
              geometry:
                type: array
                xml:
                  wrapped: false
                items:
                  type: array
                  xml:
                    name: geometry
                  items:
                    type: array
                    xml:
                      name: coordinate
                    items:
                      type: number
        properties:
          type: object
          xml:
            name: properties
          properties:
            mode:
              type: string
            waypoints:
              type: array
              xml:
                wrapped: false
              items:
                type: array
                xml:
                  name: waypoints
                items:
                  type: number
            units:
              type: string
            avoid:
              type: array
              xml:
                wrapped: false
              items:
                type: string
                xml:
                  name: avoid
            details:
              type: array
              xml:
                wrapped: false
              items:
                type: string
                xml:
                  name: details
            traffic:
              type: string
