Time Map

Given origin coordinates, find shapes of zones reachable within corresponding travel time. Find unions/intersections between different searches

Use Cases

Single origin with departure_time

You are in your job and want to watch a sports game in a pub after work. Given that you have 30 minutes between your shift end and when match starts you need to find a suitable sports pub using public transport.

Multi origin with departure_time

John, Tom and Bob want to meet for a chat in a pub. They all live in different places but want to meet in 30 minutes by using public transport.

You can use this method to obtain all zones in which they could meet.

Single origin with arrival_time

You get a new job in London and are searching for a place to rent. You want to arrive to work at 9 AM in 15 minutes either by walking or by public transport.

Using this method you can set your new job as the destination and receive a time map of potential places for your new home.

Multi origin with arrival_time

You and your partner both get a new job in London. However this time you have two different destinations. One of you (A) has to be at work at 8:30 AM and can spare 30 minutes of driving, whilst another one (B) must be at work at 7 AM and wants to walk for 10 minutes max.

Using this method you can find time maps for persons A and B and intersection between them where your new home could be.

Request Body Json Attributes

  • departure_searches
    array[object]
    Searches based on departure time. Leave departure location at no earlier than given time. You can define a maximum of 10 searches
    • id
      string
      Used to identify this specific search in the results array. MUST be unique among all searches.
    • coords
      object
      The coordinates of the location we should start the search from
      • lat
        float
        Latitude
      • lng
        float
        Longitude
    • transportation
      object
      Transportation mode and related parameters. The default parameters are sensible and it is usually enough to only specify the type
      • type
        string
        cycling, driving, driving+train, public_transport, walking, coach, bus, train, ferry, driving+ferry or cycling+ferry
      • pt_change_delay
        integer | optional
        Time (in seconds) needed to board public transportation vehicle. Default is 0. Cannot be higher than travel_time. Used in public_transport, coach, bus, train and driving+train transportation modes
      • walking_time
        integer | optional
        Maximum time (in seconds) of walking from source to a station/stop and from station/stop to destination. Default value is 900. Cannot be higher than travel_time. Used in public_transport, coach, bus, train and driving+train transportation modes
      • driving_time_to_station
        integer | optional
        Maximum time (in seconds) of driving from source to train station. Default value is 1800. Cannot be higher than travel_time. Used in driving+train transportation mode
      • parking_time
        integer | optional
        Time (in seconds) required to park a car. Default is 300. Cannot be higher than travel_time. Used in driving+train transportation mode
      • boarding_time
        integer | optional
        Time (in seconds) required to board a ferry. Default is 0. Cannot be higher than travel_time. Used in public_transport, ferry, driving+ferry and cycling+ferry transportation modes. For public_transport mode, pt_change_delay is used instead
    • travel_time
      integer
      Travel time in seconds. Maximum value is 14400 (4 hours)
    • departure_time
      date in extended ISO-8601 format
      Leave departure location at no earlier than given time. Example - 2017-10-18T08:00:00Z
    • range
      object | optional
      Range search parameters. By default range search is disabled. When range search is enabled a combined shape of all possible journeys for a specified range is returned.
      Note: range search only works with public_transport, coach, bus, train and driving+train transportation modes. For other modes range search parameters are ignored
      • enabled
        boolean
        Enable range search?
      • width
        integer
        Search range width in seconds. width along with departure_time specify departure interval. For example, if you set departure_time to 9am and width to 1 hour, we will return a combined shape of all possible journeys that have departure time between 9am and 10am.
        Range width is limited to 12 hours
    • properties
      array[string] | optional
      Properties to be returned about the shapes. Possible values: is_only_walking
  • arrival_searches
    array[object]
    Searches based on arrival time. Arrive at destination location at no later than given time. You can define a maximum of 10 searches
    • id
      string
      Used to identify this specific search in the results array. MUST be unique among all searches.
    • coords
      object
      The coordinates of the location we should arrive to
      • lat
        float
        Latitude
      • lng
        float
        Longitude
    • transportation
      object
      Transportation mode and related parameters. The default parameters are sensible and it is usually enough to only specify the type
      • type
        string
        cycling, driving, driving+train, public_transport, walking, coach, bus, train, ferry, driving+ferry or cycling+ferry
      • pt_change_delay
        integer | optional
        Time (in seconds) needed to board public transportation vehicle. Default is 0. Cannot be higher than travel_time. Used in public_transport, coach, bus, train and driving+train transportation modes
      • walking_time
        integer | optional
        Maximum time (in seconds) of walking from source to a station/stop and from station/stop to destination. Default value is 900. Cannot be higher than travel_time. Used in public_transport, coach, bus, train and driving+train transportation modes
      • driving_time_to_station
        integer | optional
        Maximum time (in seconds) of driving from source to train station. Default value is 1800. Cannot be higher than travel_time. Used in driving+train transportation mode
      • parking_time
        integer | optional
        Time (in seconds) required to park a car. Default is 300. Cannot be higher than travel_time. Used in driving+train transportation mode
      • boarding_time
        integer | optional
        Time (in seconds) required to board a ferry. Default is 0. Cannot be higher than travel_time. Used in public_transport, ferry, driving+ferry and cycling+ferry transportation modes. For public_transport mode, pt_change_delay is used instead
    • travel_time
      integer
      Travel time in seconds. Maximum value is 14400 (4 hours)
    • arrival_time
      date in extended ISO-8601 format
      Arrive at destination location at no later than given time. Example - 2017-10-18T08:00:00Z
    • range
      object | optional
      Range search parameters. By default range search is disabled. When range search is enabled a combined shape of all possible journeys for a specified range is returned.
      Note: range search only works with public_transport, coach, bus, train and driving+train transportation modes. For other modes range search parameters are ignored
      • enabled
        boolean
        Enable range search?
      • width
        integer
        Search range width in seconds. width along with arrival_time specify arrival interval. For example, if you set arrival_time to 9am and width to 1 hour, we will return a combined shape of all possible journeys that have arrival time between 8am and 9am.
        Range width is limited to 12 hours
    • properties
      array[string] | optional
      Properties to be returned about the shapes. Possible values: is_only_walking
  • unions
    array[object]
    Allows you to define unions of shapes that are results of previously defined searches. You can define a maximum of 10 unions
    • id
      string
      Used to identify this specific search in the results array. MUST be unique among all searches.
    • search_ids
      array[string]
      A list of search ids which results will formulate this union
  • intersections
    array[object]
    Allows you to define intersections of shapes that are results of previously defined searches. You can define a maximum of 10 intersections
    • id
      string
      Used to identify this specific search in the results array. MUST be unique among all searches.
    • search_ids
      array[string]
      A list of search ids which results will formulate this intersection

Response Body Json Attributes

We support multiple response formats for time-map, the format can be set using the Accept header. Supported formats:

  • application/json - This is the default if no format was specified.
  • application/vnd.wkt+json
  • application/vnd.wkt-no-holes+json
  • application/vnd.bounding-boxes+json - This format does not include holes

When output_format is application/json

When output_format is application/vnd.wkt+json or application/vnd.wkt-no-holes+json

  • results
    array[object]
    The results array which is sorted lexicographically by the id attribute
    • search_id
      string
    • shape
      string
      A string containing the shape in Well-known text (WKT)
    • properties
      object
      Properties array. Only the properties included in the request are returned.
      • is_only_walking
        boolean | optional
        Indicates if the returned shape contains only walking instead of a requested mode like bus, public_transport etc.

When output_format is application/vnd.bounding-boxes+json

  • results
    array[object]
    The results array which is sorted lexicographically by the id attribute
    • search_id
      string
    • bounding_boxes
      array[object]
      • envelope
        object
        • min_lat
          float
          Latitude of lower left point of the box
        • max_lat
          float
          Latitude of upper right point of the box
        • min_lng
          float
          Longitude of lower left point of the box
        • max_lng
          float
          Longitude of upper right point of the box
      • boxes
        array[object]
        • min_lat
          float
          Latitude of lower left point of the box
        • max_lat
          float
          Latitude of upper right point of the box
        • min_lng
          float
          Longitude of lower left point of the box
        • max_lng
          float
          Longitude of upper right point of the box
    • properties
      object
      Properties array. Only the properties included in the request are returned.
      • is_only_walking
        boolean | optional
        Indicates if the returned shape contains only walking instead of a requested mode like bus, public_transport etc.

Example Request

POST /v4/time-map HTTP/1.1
Host: api.traveltimeapp.com
Content-Type: application/json
Accept: application/json
X-Application-Id: ...
X-Api-Key: ...

{
  "departure_searches": [
    {
      "id": "public transport from Trafalgar Square",
      "coords": {
        "lat": 51.507609,
        "lng": -0.128315
      },
      "transportation": {
        "type": "public_transport"
      },
      "departure_time": "",
      "travel_time": 900
    }
  ],
  "arrival_searches": [
    {
      "id": "public transport to Trafalgar Square",
      "coords": {
        "lat": 51.507609,
        "lng": -0.128315
      },
      "transportation": {
        "type": "public_transport"
      },
      "arrival_time": "",
      "travel_time": 900,
      "range": {
        "enabled": true,
        "width": 3600
      }
    }
  ]
}

Response Body

{
  "results": [
    {
      "search_id": "public transport from Trafalgar Square",
      "shapes": [
        {
          "shell": [
            {
              "lat": 51.516246,
              "lng": -0.14439687999999948
            },
            {
              "lat": 51.51714528,
              "lng": -0.14349759999999945
            },
            {
              "lat": 51.51804456,
              "lng": -0.14349759999999945
            },
            {
              "lat": 51.5184942,
              "lng": -0.14304795999999942
            },
            {
              "lat": 51.51714528,
              "lng": -0.1416990399999994
            },
            {
              "lat": 51.516246,
              "lng": -0.1416990399999994
            },
            {
              "lat": 51.51489708,
              "lng": -0.14035011999999936
            },
            {
              "lat": 51.515796359999996,
              "lng": -0.13945083999999933
            },
            {
              "lat": 51.515796359999996,
              "lng": -0.1385515599999993
            },
            {
              "lat": 51.51534672,
              "lng": -0.13810191999999927
            },
            {
              "lat": 51.51444744,
              "lng": -0.13810191999999927
            },
            {
              "lat": 51.5139978,
              "lng": -0.13765227999999927
            },
            {
              "lat": 51.51669564,
              "lng": -0.13495443999999918
            },
            {
              "lat": 51.51669564,
              "lng": -0.13315587999999912
            },
            {
              "lat": 51.51714528,
              "lng": -0.13270623999999911
            },
            {
              "lat": 51.51804456,
              "lng": -0.13360551999999914
            },
            {
              "lat": 51.51984312,
              "lng": -0.13360551999999914
            },
            {
              "lat": 51.52029276,
              "lng": -0.13315587999999912
            },
            {
              "lat": 51.52029276,
              "lng": -0.13225659999999909
            },
            {
              "lat": 51.51984312,
              "lng": -0.13180695999999908
            },
            {
              "lat": 51.51894384,
              "lng": -0.13180695999999908
            },
            {
              "lat": 51.5184942,
              "lng": -0.13135731999999906
            },
            {
              "lat": 51.5184942,
              "lng": -0.12776019999999894
            },
            {
              "lat": 51.515796359999996,
              "lng": -0.12506235999999887
            },
            {
              "lat": 51.515796359999996,
              "lng": -0.12146523999999875
            },
            {
              "lat": 51.516246,
              "lng": -0.12101559999999874
            },
            {
              "lat": 51.51714528,
              "lng": -0.12101559999999874
            },
            {
              "lat": 51.51759492,
              "lng": -0.12056595999999872
            },
            {
              "lat": 51.51759492,
              "lng": -0.11876739999999866
            },
            {
              "lat": 51.51669564,
              "lng": -0.11786811999999863
            },
            {
              "lat": 51.51669564,
              "lng": -0.11427099999999853
            },
            {
              "lat": 51.515796359999996,
              "lng": -0.1133717199999985
            },
            {
              "lat": 51.515796359999996,
              "lng": -0.10977459999999839
            },
            {
              "lat": 51.51759492,
              "lng": -0.10797603999999833
            },
            {
              "lat": 51.51354816,
              "lng": -0.10392927999999821
            },
            {
              "lat": 51.51309852,
              "lng": -0.10437891999999821
            },
            {
              "lat": 51.51309852,
              "lng": -0.10617747999999827
            },
            {
              "lat": 51.51219924,
              "lng": -0.1070767599999983
            },
            {
              "lat": 51.51219924,
              "lng": -0.10977459999999839
            },
            {
              "lat": 51.5117496,
              "lng": -0.11022423999999839
            },
            {
              "lat": 51.510850319999996,
              "lng": -0.11022423999999839
            },
            {
              "lat": 51.5095014,
              "lng": -0.11157315999999845
            },
            {
              "lat": 51.5095014,
              "lng": -0.11427099999999853
            },
            {
              "lat": 51.50905176,
              "lng": -0.11472063999999854
            },
            {
              "lat": 51.50860212,
              "lng": -0.11427099999999853
            },
            {
              "lat": 51.50860212,
              "lng": -0.1133717199999985
            },
            {
              "lat": 51.50815248,
              "lng": -0.11292207999999848
            },
            {
              "lat": 51.50455536,
              "lng": -0.11292207999999848
            },
            {
              "lat": 51.50365608,
              "lng": -0.11202279999999845
            },
            {
              "lat": 51.50320644,
              "lng": -0.11247243999999847
            },
            {
              "lat": 51.50410572,
              "lng": -0.1133717199999985
            },
            {
              "lat": 51.50410572,
              "lng": -0.11786811999999863
            },
            {
              "lat": 51.50365608,
              "lng": -0.11831775999999866
            },
            {
              "lat": 51.50320644,
              "lng": -0.11786811999999863
            },
            {
              "lat": 51.50320644,
              "lng": -0.1169688399999986
            },
            {
              "lat": 51.5027568,
              "lng": -0.1165191999999986
            },
            {
              "lat": 51.50185752,
              "lng": -0.1165191999999986
            },
            {
              "lat": 51.50140788,
              "lng": -0.11606955999999857
            },
            {
              "lat": 51.50140788,
              "lng": -0.11517027999999856
            },
            {
              "lat": 51.50230716,
              "lng": -0.11427099999999853
            },
            {
              "lat": 51.50230716,
              "lng": -0.11247243999999847
            },
            {
              "lat": 51.500958239999996,
              "lng": -0.11112351999999842
            },
            {
              "lat": 51.500508599999996,
              "lng": -0.11157315999999845
            },
            {
              "lat": 51.500508599999996,
              "lng": -0.1133717199999985
            },
            {
              "lat": 51.49960932,
              "lng": -0.11427099999999853
            },
            {
              "lat": 51.49960932,
              "lng": -0.11606955999999857
            },
            {
              "lat": 51.49781076,
              "lng": -0.11786811999999863
            },
            {
              "lat": 51.49871004,
              "lng": -0.11876739999999866
            },
            {
              "lat": 51.49871004,
              "lng": -0.12146523999999875
            },
            {
              "lat": 51.4982604,
              "lng": -0.12191487999999877
            },
            {
              "lat": 51.49646184,
              "lng": -0.12191487999999877
            },
            {
              "lat": 51.495562559999996,
              "lng": -0.12281415999999878
            },
            {
              "lat": 51.49466328,
              "lng": -0.12281415999999878
            },
            {
              "lat": 51.49331436,
              "lng": -0.12416307999999884
            },
            {
              "lat": 51.49331436,
              "lng": -0.12596163999999888
            },
            {
              "lat": 51.49421364,
              "lng": -0.12686091999999893
            },
            {
              "lat": 51.49421364,
              "lng": -0.128659479999999
            },
            {
              "lat": 51.49331436,
              "lng": -0.129558759999999
            },
            {
              "lat": 51.493764,
              "lng": -0.13000839999999902
            },
            {
              "lat": 51.495562559999996,
              "lng": -0.13000839999999902
            },
            {
              "lat": 51.49691148,
              "lng": -0.13135731999999906
            },
            {
              "lat": 51.49691148,
              "lng": -0.13225659999999909
            },
            {
              "lat": 51.49736112,
              "lng": -0.13270623999999911
            },
            {
              "lat": 51.49915968,
              "lng": -0.13270623999999911
            },
            {
              "lat": 51.500508599999996,
              "lng": -0.13405515999999915
            },
            {
              "lat": 51.500508599999996,
              "lng": -0.13765227999999927
            },
            {
              "lat": 51.50140788,
              "lng": -0.1385515599999993
            },
            {
              "lat": 51.50140788,
              "lng": -0.13945083999999933
            },
            {
              "lat": 51.50635392,
              "lng": -0.14439687999999948
            },
            {
              "lat": 51.5072532,
              "lng": -0.14349759999999945
            },
            {
              "lat": 51.50995104,
              "lng": -0.14349759999999945
            },
            {
              "lat": 51.510850319999996,
              "lng": -0.14439687999999948
            },
            {
              "lat": 51.51264888,
              "lng": -0.14439687999999948
            },
            {
              "lat": 51.51354816,
              "lng": -0.1452961599999995
            },
            {
              "lat": 51.51534672,
              "lng": -0.1452961599999995
            },
            {
              "lat": 51.516246,
              "lng": -0.14439687999999948
            }
          ],
          "holes": []
        },
        {
          "shell": [
            {
              "lat": 51.50230716,
              "lng": -0.10977459999999839
            },
            {
              "lat": 51.50365608,
              "lng": -0.11112351999999842
            },
            {
              "lat": 51.505005,
              "lng": -0.10977459999999839
            },
            {
              "lat": 51.50455536,
              "lng": -0.10932495999999836
            },
            {
              "lat": 51.5027568,
              "lng": -0.10932495999999836
            },
            {
              "lat": 51.50230716,
              "lng": -0.10977459999999839
            }
          ],
          "holes": []
        }
      ]
    },
    {
      "search_id": "public transport to Trafalgar Square",
      "shapes": [
        {
          "shell": [
            {
              "lat": 51.50187468,
              "lng": -0.16315777999999906
            },
            {
              "lat": 51.50232432000001,
              "lng": -0.16360741999999906
            },
            {
              "lat": 51.502773960000006,
              "lng": -0.16315777999999906
            },
            {
              "lat": 51.50052576,
              "lng": -0.16090957999999894
            },
            {
              "lat": 51.50007612,
              "lng": -0.16135921999999897
            },
            {
              "lat": 51.50187468,
              "lng": -0.16315777999999906
            }
          ],
          "holes": []
        },
        {
          "shell": [
            {
              "lat": 51.50187468,
              "lng": -0.15596353999999868
            },
            {
              "lat": 51.50232432000001,
              "lng": -0.1564131799999987
            },
            {
              "lat": 51.504122880000004,
              "lng": -0.1564131799999987
            },
            {
              "lat": 51.50457252,
              "lng": -0.15596353999999868
            },
            {
              "lat": 51.50457252,
              "lng": -0.15506425999999865
            },
            {
              "lat": 51.5054718,
              "lng": -0.1541649799999986
            },
            {
              "lat": 51.5054718,
              "lng": -0.1523664199999985
            },
            {
              "lat": 51.50457252,
              "lng": -0.15146713999999845
            },
            {
              "lat": 51.50502216,
              "lng": -0.15101749999999844
            },
            {
              "lat": 51.50592144,
              "lng": -0.15101749999999844
            },
            {
              "lat": 51.50637108,
              "lng": -0.15056785999999842
            },
            {
              "lat": 51.50637108,
              "lng": -0.14966857999999839
            },
            {
              "lat": 51.50682072,
              "lng": -0.14921893999999836
            },
            {
              "lat": 51.507720000000006,
              "lng": -0.14921893999999836
            },
            {
              "lat": 51.508169640000006,
              "lng": -0.14876929999999833
            },
            {
              "lat": 51.508169640000006,
              "lng": -0.14697073999999824
            },
            {
              "lat": 51.508619280000005,
              "lng": -0.1465210999999982
            },
            {
              "lat": 51.51131712,
              "lng": -0.1465210999999982
            },
            {
              "lat": 51.512666040000006,
              "lng": -0.14787001999999827
            },
            {
              "lat": 51.512666040000006,
              "lng": -0.15146713999999845
            },
            {
              "lat": 51.51176676,
              "lng": -0.1523664199999985
            },
            {
              "lat": 51.51176676,
              "lng": -0.15326569999999856
            },
            {
              "lat": 51.512666040000006,
              "lng": -0.1541649799999986
            },
            {
              "lat": 51.512666040000006,
              "lng": -0.15686281999999874
            },
            {
              "lat": 51.513565320000005,
              "lng": -0.15776209999999877
            },
            {
              "lat": 51.512666040000006,
              "lng": -0.15866137999999883
            },
            {
              "lat": 51.512666040000006,
              "lng": -0.1604599399999989
            },
            {
              "lat": 51.513115680000006,
              "lng": -0.16090957999999894
            },
            {
              "lat": 51.514014960000004,
              "lng": -0.16090957999999894
            },
            {
              "lat": 51.514464600000004,
              "lng": -0.1604599399999989
            },
            {
              "lat": 51.514464600000004,
              "lng": -0.15506425999999865
            },
            {
              "lat": 51.51536388,
              "lng": -0.1541649799999986
            },
            {
              "lat": 51.51536388,
              "lng": -0.15146713999999845
            },
            {
              "lat": 51.518061720000006,
              "lng": -0.14876929999999833
            },
            {
              "lat": 51.518061720000006,
              "lng": -0.14697073999999824
            },
            {
              "lat": 51.518511360000005,
              "lng": -0.1465210999999982
            },
            {
              "lat": 51.519410640000004,
              "lng": -0.1465210999999982
            },
            {
              "lat": 51.51986028,
              "lng": -0.14607145999999818
            },
            {
              "lat": 51.51986028,
              "lng": -0.14517217999999815
            },
            {
              "lat": 51.52030992,
              "lng": -0.14472253999999812
            },
            {
              "lat": 51.523007760000006,
              "lng": -0.14472253999999812
            },
            {
              "lat": 51.523457400000005,
              "lng": -0.1442728999999981
            },
            {
              "lat": 51.523007760000006,
              "lng": -0.14382325999999807
            },
            {
              "lat": 51.52210848000001,
              "lng": -0.14382325999999807
            },
            {
              "lat": 51.52075956,
              "lng": -0.142474339999998
            },
            {
              "lat": 51.52075956,
              "lng": -0.14157505999999798
            },
            {
              "lat": 51.52030992,
              "lng": -0.14112541999999795
            },
            {
              "lat": 51.519410640000004,
              "lng": -0.14112541999999795
            },
            {
              "lat": 51.518511360000005,
              "lng": -0.14202469999999798
            },
            {
              "lat": 51.518061720000006,
              "lng": -0.14157505999999798
            },
            {
              "lat": 51.518061720000006,
              "lng": -0.13977649999999786
            },
            {
              "lat": 51.51716244000001,
              "lng": -0.13887721999999783
            },
            {
              "lat": 51.51716244000001,
              "lng": -0.1379779399999978
            },
            {
              "lat": 51.51626316,
              "lng": -0.13707865999999774
            },
            {
              "lat": 51.51626316,
              "lng": -0.13528009999999766
            },
            {
              "lat": 51.518061720000006,
              "lng": -0.13348153999999757
            },
            {
              "lat": 51.51716244000001,
              "lng": -0.1325822599999975
            },
            {
              "lat": 51.51716244000001,
              "lng": -0.13168297999999745
            },
            {
              "lat": 51.517612080000006,
              "lng": -0.13123333999999745
            },
            {
              "lat": 51.519410640000004,
              "lng": -0.13123333999999745
            },
            {
              "lat": 51.51986028,
              "lng": -0.13168297999999745
            },
            {
              "lat": 51.51986028,
              "lng": -0.1325822599999975
            },
            {
              "lat": 51.52030992,
              "lng": -0.13303189999999754
            },
            {
              "lat": 51.523007760000006,
              "lng": -0.13303189999999754
            },
            {
              "lat": 51.523457400000005,
              "lng": -0.13348153999999757
            },
            {
              "lat": 51.523457400000005,
              "lng": -0.13528009999999766
            },
            {
              "lat": 51.524356680000004,
              "lng": -0.13617937999999769
            },
            {
              "lat": 51.524356680000004,
              "lng": -0.1379779399999978
            },
            {
              "lat": 51.52480632,
              "lng": -0.1384275799999978
            },
            {
              "lat": 51.5257056,
              "lng": -0.1384275799999978
            },
            {
              "lat": 51.52615524,
              "lng": -0.1379779399999978
            },
            {
              "lat": 51.52615524,
              "lng": -0.13707865999999774
            },
            {
              "lat": 51.52525596,
              "lng": -0.13617937999999769
            },
            {
              "lat": 51.52525596,
              "lng": -0.1325822599999975
            },
            {
              "lat": 51.523907040000005,
              "lng": -0.13123333999999745
            },
            {
              "lat": 51.52210848000001,
              "lng": -0.13123333999999745
            },
            {
              "lat": 51.52075956,
              "lng": -0.1298844199999974
            },
            {
              "lat": 51.52075956,
              "lng": -0.12898513999999733
            },
            {
              "lat": 51.52030992,
              "lng": -0.1285354999999973
            },
            {
              "lat": 51.519410640000004,
              "lng": -0.1285354999999973
            },
            {
              "lat": 51.518961000000004,
              "lng": -0.12808585999999728
            },
            {
              "lat": 51.518961000000004,
              "lng": -0.12718657999999725
            },
            {
              "lat": 51.51986028,
              "lng": -0.1262872999999972
            },
            {
              "lat": 51.518961000000004,
              "lng": -0.12538801999999716
            },
            {
              "lat": 51.518961000000004,
              "lng": -0.1244887399999971
            },
            {
              "lat": 51.519410640000004,
              "lng": -0.12403909999999709
            },
            {
              "lat": 51.52030992,
              "lng": -0.12403909999999709
            },
            {
              "lat": 51.52075956,
              "lng": -0.12358945999999707
            },
            {
              "lat": 51.51986028,
              "lng": -0.12269017999999701
            },
            {
              "lat": 51.51986028,
              "lng": -0.12089161999999692
            },
            {
              "lat": 51.52075956,
              "lng": -0.11999233999999688
            },
            {
              "lat": 51.52075956,
              "lng": -0.11819377999999679
            },
            {
              "lat": 51.52030992,
              "lng": -0.11774413999999676
            },
            {
              "lat": 51.519410640000004,
              "lng": -0.11774413999999676
            },
            {
              "lat": 51.518961000000004,
              "lng": -0.11729449999999675
            },
            {
              "lat": 51.518961000000004,
              "lng": -0.11459665999999662
            },
            {
              "lat": 51.518511360000005,
              "lng": -0.11414701999999659
            },
            {
              "lat": 51.517612080000006,
              "lng": -0.11504629999999663
            },
            {
              "lat": 51.5167128,
              "lng": -0.11504629999999663
            },
            {
              "lat": 51.51626316,
              "lng": -0.11459665999999662
            },
            {
              "lat": 51.51626316,
              "lng": -0.11369737999999656
            },
            {
              "lat": 51.5167128,
              "lng": -0.11324773999999654
            },
            {
              "lat": 51.518511360000005,
              "lng": -0.11324773999999654
            },
            {
              "lat": 51.51986028,
              "lng": -0.11189881999999647
            },
            {
              "lat": 51.51986028,
              "lng": -0.11010025999999638
            },
            {
              "lat": 51.52075956,
              "lng": -0.10920097999999634
            },
            {
              "lat": 51.51626316,
              "lng": -0.10470457999999612
            },
            {
              "lat": 51.51626316,
              "lng": -0.10290601999999602
            },
            {
              "lat": 51.513115680000006,
              "lng": -0.09975853999999587
            },
            {
              "lat": 51.512666040000006,
              "lng": -0.10020817999999589
            },
            {
              "lat": 51.512666040000006,
              "lng": -0.10380529999999608
            },
            {
              "lat": 51.51176676,
              "lng": -0.10470457999999612
            },
            {
              "lat": 51.51176676,
              "lng": -0.10650313999999621
            },
            {
              "lat": 51.5099682,
              "lng": -0.1083016999999963
            },
            {
              "lat": 51.5099682,
              "lng": -0.10920097999999634
            },
            {
              "lat": 51.509518560000004,
              "lng": -0.10965061999999637
            },
            {
              "lat": 51.508619280000005,
              "lng": -0.10965061999999637
            },
            {
              "lat": 51.508169640000006,
              "lng": -0.10920097999999634
            },
            {
              "lat": 51.508169640000006,
              "lng": -0.10740241999999625
            },
            {
              "lat": 51.507720000000006,
              "lng": -0.10695277999999622
            },
            {
              "lat": 51.50682072,
              "lng": -0.10785205999999627
            },
            {
              "lat": 51.50592144,
              "lng": -0.10785205999999627
            },
            {
              "lat": 51.5054718,
              "lng": -0.10740241999999625
            },
            {
              "lat": 51.5054718,
              "lng": -0.10650313999999621
            },
            {
              "lat": 51.50502216,
              "lng": -0.10605349999999618
            },
            {
              "lat": 51.50142504,
              "lng": -0.10605349999999618
            },
            {
              "lat": 51.50052576,
              "lng": -0.10515421999999613
            },
            {
              "lat": 51.498727200000005,
              "lng": -0.10515421999999613
            },
            {
              "lat": 51.497827920000006,
              "lng": -0.10425493999999609
            },
            {
              "lat": 51.49602936,
              "lng": -0.10425493999999609
            },
            {
              "lat": 51.49468044,
              "lng": -0.10560385999999616
            },
            {
              "lat": 51.49602936,
              "lng": -0.10695277999999622
            },
            {
              "lat": 51.49692864,
              "lng": -0.10605349999999618
            },
            {
              "lat": 51.497827920000006,
              "lng": -0.10605349999999618
            },
            {
              "lat": 51.498277560000005,
              "lng": -0.10650313999999621
            },
            {
              "lat": 51.498277560000005,
              "lng": -0.10740241999999625
            },
            {
              "lat": 51.49737828000001,
              "lng": -0.1083016999999963
            },
            {
              "lat": 51.49737828000001,
              "lng": -0.11010025999999638
            },
            {
              "lat": 51.496479,
              "lng": -0.11099953999999643
            },
            {
              "lat": 51.496479,
              "lng": -0.1163952199999967
            },
            {
              "lat": 51.49737828000001,
              "lng": -0.11729449999999675
            },
            {
              "lat": 51.49737828000001,
              "lng": -0.12269017999999701
            },
            {
              "lat": 51.49692864,
              "lng": -0.12313981999999704
            },
            {
              "lat": 51.49602936,
              "lng": -0.12313981999999704
            },
            {
              "lat": 51.49557972,
              "lng": -0.12269017999999701
            },
            {
              "lat": 51.49557972,
              "lng": -0.12179089999999697
            },
            {
              "lat": 51.496479,
              "lng": -0.12089161999999692
            },
            {
              "lat": 51.49602936,
              "lng": -0.1204419799999969
            },
            {
              "lat": 51.493331520000005,
              "lng": -0.12313981999999704
            },
            {
              "lat": 51.49153296,
              "lng": -0.12313981999999704
            },
            {
              "lat": 51.488385480000005,
              "lng": -0.1262872999999972
            },
            {
              "lat": 51.488385480000005,
              "lng": -0.12808585999999728
            },
            {
              "lat": 51.488835120000005,
              "lng": -0.1285354999999973
            },
            {
              "lat": 51.4897344,
              "lng": -0.1285354999999973
            },
            {
              "lat": 51.49018404,
              "lng": -0.12898513999999733
            },
            {
              "lat": 51.4897344,
              "lng": -0.12943477999999736
            },
            {
              "lat": 51.488835120000005,
              "lng": -0.12943477999999736
            },
            {
              "lat": 51.488385480000005,
              "lng": -0.1298844199999974
            },
            {
              "lat": 51.4897344,
              "lng": -0.13123333999999745
            },
            {
              "lat": 51.49243224000001,
              "lng": -0.13123333999999745
            },
            {
              "lat": 51.492881880000006,
              "lng": -0.13168297999999745
            },
            {
              "lat": 51.492881880000006,
              "lng": -0.1325822599999975
            },
            {
              "lat": 51.493781160000005,
              "lng": -0.13348153999999757
            },
            {
              "lat": 51.493781160000005,
              "lng": -0.13887721999999783
            },
            {
              "lat": 51.4919826,
              "lng": -0.14067577999999792
            },
            {
              "lat": 51.492881880000006,
              "lng": -0.14157505999999798
            },
            {
              "lat": 51.492881880000006,
              "lng": -0.14337361999999806
            },
            {
              "lat": 51.493331520000005,
              "lng": -0.14382325999999807
            },
            {
              "lat": 51.49513008,
              "lng": -0.14382325999999807
            },
            {
              "lat": 51.49557972,
              "lng": -0.1442728999999981
            },
            {
              "lat": 51.49557972,
              "lng": -0.14607145999999818
            },
            {
              "lat": 51.49737828000001,
              "lng": -0.14787001999999827
            },
            {
              "lat": 51.49737828000001,
              "lng": -0.14966857999999839
            },
            {
              "lat": 51.499176840000004,
              "lng": -0.15146713999999845
            },
            {
              "lat": 51.499176840000004,
              "lng": -0.1541649799999986
            },
            {
              "lat": 51.49962648,
              "lng": -0.15461461999999862
            },
            {
              "lat": 51.50142504,
              "lng": -0.15461461999999862
            },
            {
              "lat": 51.50187468,
              "lng": -0.15506425999999865
            },
            {
              "lat": 51.50187468,
              "lng": -0.15596353999999868
            }
          ],
          "holes": [
            [
              {
                "lat": 51.50052576,
                "lng": -0.14742037999999824
              },
              {
                "lat": 51.50007612,
                "lng": -0.14697073999999824
              },
              {
                "lat": 51.50007612,
                "lng": -0.14607145999999818
              },
              {
                "lat": 51.49962648,
                "lng": -0.14562181999999818
              },
              {
                "lat": 51.498727200000005,
                "lng": -0.1465210999999982
              },
              {
                "lat": 51.497827920000006,
                "lng": -0.1465210999999982
              },
              {
                "lat": 51.49737828000001,
                "lng": -0.14607145999999818
              },
              {
                "lat": 51.49737828000001,
                "lng": -0.14517217999999815
              },
              {
                "lat": 51.497827920000006,
                "lng": -0.14472253999999812
              },
              {
                "lat": 51.49962648,
                "lng": -0.14472253999999812
              },
              {
                "lat": 51.50007612,
                "lng": -0.1442728999999981
              },
              {
                "lat": 51.50007612,
                "lng": -0.14337361999999806
              },
              {
                "lat": 51.50142504,
                "lng": -0.14202469999999798
              },
              {
                "lat": 51.50187468,
                "lng": -0.142474339999998
              },
              {
                "lat": 51.50187468,
                "lng": -0.14337361999999806
              },
              {
                "lat": 51.503673240000005,
                "lng": -0.14517217999999815
              },
              {
                "lat": 51.503673240000005,
                "lng": -0.14697073999999824
              },
              {
                "lat": 51.503223600000005,
                "lng": -0.14742037999999824
              },
              {
                "lat": 51.50052576,
                "lng": -0.14742037999999824
              }
            ],
            [
              {
                "lat": 51.50187468,
                "lng": -0.14067577999999792
              },
              {
                "lat": 51.50142504,
                "lng": -0.14112541999999795
              },
              {
                "lat": 51.50052576,
                "lng": -0.14112541999999795
              },
              {
                "lat": 51.50007612,
                "lng": -0.14067577999999792
              },
              {
                "lat": 51.50007612,
                "lng": -0.1379779399999978
              },
              {
                "lat": 51.50052576,
                "lng": -0.13752829999999777
              },
              {
                "lat": 51.5009754,
                "lng": -0.1379779399999978
              },
              {
                "lat": 51.5009754,
                "lng": -0.13887721999999783
              },
              {
                "lat": 51.50187468,
                "lng": -0.13977649999999786
              },
              {
                "lat": 51.50187468,
                "lng": -0.14067577999999792
              }
            ]
          ]
        },
        {
          "shell": [
            {
              "lat": 51.49557972,
              "lng": -0.10020817999999589
            },
            {
              "lat": 51.49513008,
              "lng": -0.09975853999999587
            },
            {
              "lat": 51.493781160000005,
              "lng": -0.10110745999999593
            },
            {
              "lat": 51.49602936,
              "lng": -0.10335565999999605
            },
            {
              "lat": 51.49737828000001,
              "lng": -0.10200673999999597
            },
            {
              "lat": 51.49557972,
              "lng": -0.10020817999999589
            }
          ],
          "holes": []
        }
      ]
    }
  ]
}

Request With Unions and Intersections

POST /v4/time-map HTTP/1.1
Host: api.traveltimeapp.com
Content-Type: application/json
Accept: application/json
X-Application-Id: ...
X-Api-Key: ...

{
  "departure_searches": [
    {
      "id": "public transport from Trafalgar Square",
      "coords": {
        "lat": 51.507609,
        "lng": -0.128315
      },
      "transportation": {
        "type": "public_transport"
      },
      "departure_time": "",
      "travel_time": 900,
      "properties" : [
        "is_only_walking"
      ]
    },
    {
      "id": "driving from Trafalgar Square",
      "coords": {
        "lat": 51.507609,
        "lng": -0.128315
      },
      "transportation": {
        "type": "driving"
      },
      "departure_time": "",
      "travel_time": 900
    }
  ],
  "unions": [
    {
      "id": "union of driving and public transport",
      "search_ids": [
        "driving from Trafalgar Square",
        "public transport from Trafalgar Square"
      ]
    }
  ],
  "intersections": [
    {
      "id": "intersection of driving and public transport",
      "search_ids": [
        "driving from Trafalgar Square",
        "public transport from Trafalgar Square"
      ]
    }
  ]
}

Response Body

{
  "results": [
    {
      "search_id": "public transport from Trafalgar Square",
      "shapes": [
        {
          "shell": [
            {
              "lat": 51.50140788,
              "lng": -0.15128402000000063
            },
            {
              "lat": 51.50140788,
              "lng": -0.15218330000000058
            },
            {
              "lat": 51.50185752,
              "lng": -0.15263294000000055
            },
            {
              "lat": 51.50320644,
              "lng": -0.15128402000000063
            },
            {
              "lat": 51.50320644,
              "lng": -0.14948546000000074
            },
            {
              "lat": 51.505005,
              "lng": -0.14768690000000084
            },
            {
              "lat": 51.505005,
              "lng": -0.14588834000000092
            },
            {
              "lat": 51.505454639999996,
              "lng": -0.14543870000000095
            },
            {
              "lat": 51.5072532,
              "lng": -0.14543870000000095
            },
            {
              "lat": 51.50905176,
              "lng": -0.14364014000000105
            },
            {
              "lat": 51.510850319999996,
              "lng": -0.14364014000000105
            },
            {
              "lat": 51.5117496,
              "lng": -0.144539420000001
            },
            {
              "lat": 51.51264888,
              "lng": -0.144539420000001
            },
            {
              "lat": 51.51309852,
              "lng": -0.14408978000000103
            },
            {
              "lat": 51.51309852,
              "lng": -0.14229122000000113
            },
            {
              "lat": 51.51354816,
              "lng": -0.14184158000000116
            },
            {
              "lat": 51.51444744,
              "lng": -0.14184158000000116
            },
            {
              "lat": 51.51489708,
              "lng": -0.1413919400000012
            },
            {
              "lat": 51.51489708,
              "lng": -0.13689554000000143
            },
            {
              "lat": 51.51534672,
              "lng": -0.13644590000000145
            },
            {
              "lat": 51.516246,
              "lng": -0.13644590000000145
            },
            {
              "lat": 51.51669564,
              "lng": -0.13599626000000148
            },
            {
              "lat": 51.51669564,
              "lng": -0.13329842000000164
            },
            {
              "lat": 51.515796359999996,
              "lng": -0.13239914000000166
            },
            {
              "lat": 51.516246,
              "lng": -0.1319495000000017
            },
            {
              "lat": 51.51714528,
              "lng": -0.1319495000000017
            },
            {
              "lat": 51.51759492,
              "lng": -0.13149986000000172
            },
            {
              "lat": 51.51759492,
              "lng": -0.13060058000000177
            },
            {
              "lat": 51.51669564,
              "lng": -0.12970130000000182
            },
            {
              "lat": 51.51759492,
              "lng": -0.12880202000000188
            },
            {
              "lat": 51.51759492,
              "lng": -0.12700346000000196
            },
            {
              "lat": 51.515796359999996,
              "lng": -0.12520490000000206
            },
            {
              "lat": 51.515796359999996,
              "lng": -0.12430562000000211
            },
            {
              "lat": 51.51489708,
              "lng": -0.12340634000000217
            },
            {
              "lat": 51.51489708,
              "lng": -0.11980922000000237
            },
            {
              "lat": 51.515796359999996,
              "lng": -0.1189099400000024
            },
            {
              "lat": 51.5139978,
              "lng": -0.11711138000000251
            },
            {
              "lat": 51.5139978,
              "lng": -0.11351426000000271
            },
            {
              "lat": 51.51354816,
              "lng": -0.11306462000000274
            },
            {
              "lat": 51.51219924,
              "lng": -0.11441354000000266
            },
            {
              "lat": 51.51219924,
              "lng": -0.11531282000000262
            },
            {
              "lat": 51.5117496,
              "lng": -0.11576246000000259
            },
            {
              "lat": 51.51129996,
              "lng": -0.11531282000000262
            },
            {
              "lat": 51.51129996,
              "lng": -0.11441354000000266
            },
            {
              "lat": 51.510850319999996,
              "lng": -0.11396390000000269
            },
            {
              "lat": 51.50995104,
              "lng": -0.11486318000000265
            },
            {
              "lat": 51.50905176,
              "lng": -0.11486318000000265
            },
            {
              "lat": 51.50860212,
              "lng": -0.11441354000000266
            },
            {
              "lat": 51.50860212,
              "lng": -0.11351426000000271
            },
            {
              "lat": 51.50815248,
              "lng": -0.11306462000000274
            },
            {
              "lat": 51.50635392,
              "lng": -0.11306462000000274
            },
            {
              "lat": 51.505454639999996,
              "lng": -0.11396390000000269
            },
            {
              "lat": 51.50455536,
              "lng": -0.11396390000000269
            },
            {
              "lat": 51.50410572,
              "lng": -0.11351426000000271
            },
            {
              "lat": 51.50410572,
              "lng": -0.11261498000000275
            },
            {
              "lat": 51.50365608,
              "lng": -0.11216534000000278
            },
            {
              "lat": 51.50230716,
              "lng": -0.11351426000000271
            },
            {
              "lat": 51.50320644,
              "lng": -0.11441354000000266
            },
            {
              "lat": 51.50320644,
              "lng": -0.11621210000000257
            },
            {
              "lat": 51.50230716,
              "lng": -0.11711138000000251
            },
            {
              "lat": 51.5027568,
              "lng": -0.11756102000000249
            },
            {
              "lat": 51.50365608,
              "lng": -0.11756102000000249
            },
            {
              "lat": 51.50410572,
              "lng": -0.11801066000000246
            },
            {
              "lat": 51.50410572,
              "lng": -0.1189099400000024
            },
            {
              "lat": 51.50320644,
              "lng": -0.11980922000000237
            },
            {
              "lat": 51.50320644,
              "lng": -0.12160778000000227
            },
            {
              "lat": 51.5027568,
              "lng": -0.12205742000000225
            },
            {
              "lat": 51.500958239999996,
              "lng": -0.12205742000000225
            },
            {
              "lat": 51.50005896,
              "lng": -0.1229567000000022
            },
            {
              "lat": 51.4982604,
              "lng": -0.1229567000000022
            },
            {
              "lat": 51.49736112,
              "lng": -0.12205742000000225
            },
            {
              "lat": 51.49646184,
              "lng": -0.1229567000000022
            },
            {
              "lat": 51.49466328,
              "lng": -0.1229567000000022
            },
            {
              "lat": 51.49331436,
              "lng": -0.12430562000000211
            },
            {
              "lat": 51.49331436,
              "lng": -0.126104180000002
            },
            {
              "lat": 51.49466328,
              "lng": -0.12745310000000193
            },
            {
              "lat": 51.49511292,
              "lng": -0.12700346000000196
            },
            {
              "lat": 51.49511292,
              "lng": -0.126104180000002
            },
            {
              "lat": 51.495562559999996,
              "lng": -0.12565454000000204
            },
            {
              "lat": 51.496012199999996,
              "lng": -0.126104180000002
            },
            {
              "lat": 51.496012199999996,
              "lng": -0.12880202000000188
            },
            {
              "lat": 51.49736112,
              "lng": -0.1301509400000018
            },
            {
              "lat": 51.4982604,
              "lng": -0.1301509400000018
            },
            {
              "lat": 51.49871004,
              "lng": -0.13060058000000177
            },
            {
              "lat": 51.49871004,
              "lng": -0.13329842000000164
            },
            {
              "lat": 51.49915968,
              "lng": -0.1337480600000016
            },
            {
              "lat": 51.50005896,
              "lng": -0.1337480600000016
            },
            {
              "lat": 51.500508599999996,
              "lng": -0.13419770000000159
            },
            {
              "lat": 51.500508599999996,
              "lng": -0.13779482000000137
            },
            {
              "lat": 51.50140788,
              "lng": -0.13869410000000132
            },
            {
              "lat": 51.50140788,
              "lng": -0.13959338000000127
            },
            {
              "lat": 51.505005,
              "lng": -0.14319050000000108
            },
            {
              "lat": 51.505005,
              "lng": -0.14498906000000097
            },
            {
              "lat": 51.50320644,
              "lng": -0.1467876200000009
            },
            {
              "lat": 51.50320644,
              "lng": -0.14768690000000084
            },
            {
              "lat": 51.5027568,
              "lng": -0.14813654000000082
            },
            {
              "lat": 51.50185752,
              "lng": -0.14813654000000082
            },
            {
              "lat": 51.50140788,
              "lng": -0.1485861800000008
            },
            {
              "lat": 51.50140788,
              "lng": -0.15128402000000063
            }
          ],
          "holes": []
        },
        {
          "shell": [
            {
              "lat": 51.500508599999996,
              "lng": -0.12070850000000231
            },
            {
              "lat": 51.500958239999996,
              "lng": -0.1211581400000023
            },
            {
              "lat": 51.50230716,
              "lng": -0.11980922000000237
            },
            {
              "lat": 51.500958239999996,
              "lng": -0.11846030000000243
            },
            {
              "lat": 51.500508599999996,
              "lng": -0.1189099400000024
            },
            {
              "lat": 51.500508599999996,
              "lng": -0.12070850000000231
            }
          ],
          "holes": []
        },
        {
          "shell": [
            {
              "lat": 51.50230716,
              "lng": -0.10991714000000291
            },
            {
              "lat": 51.50365608,
              "lng": -0.11126606000000283
            },
            {
              "lat": 51.505005,
              "lng": -0.10991714000000291
            },
            {
              "lat": 51.50455536,
              "lng": -0.10946750000000294
            },
            {
              "lat": 51.5027568,
              "lng": -0.10946750000000294
            },
            {
              "lat": 51.50230716,
              "lng": -0.10991714000000291
            }
          ],
          "holes": []
        }
      ],
      "properties": [
        {
          "is_only_walking": false
        }
      ]
    },
    {
      "search_id": "driving from Trafalgar Square",
      "shapes": [
        {
          "shell": [
            {
              "lat": 51.50068115999999,
              "lng": -0.1678762800000003
            },
            {
              "lat": 51.50158044,
              "lng": -0.16877556000000027
            },
            {
              "lat": 51.50247972,
              "lng": -0.1678762800000003
            },
            {
              "lat": 51.50247972,
              "lng": -0.1624806000000004
            },
            {
              "lat": 51.504278279999994,
              "lng": -0.16068204000000041
            },
            {
              "lat": 51.504278279999994,
              "lng": -0.1570849200000005
            },
            {
              "lat": 51.50517755999999,
              "lng": -0.15618564000000051
            },
            {
              "lat": 51.51057323999999,
              "lng": -0.16158132000000042
            },
            {
              "lat": 51.5123718,
              "lng": -0.16158132000000042
            },
            {
              "lat": 51.513271079999996,
              "lng": -0.16068204000000041
            },
            {
              "lat": 51.513271079999996,
              "lng": -0.15888348000000047
            },
            {
              "lat": 51.514170359999994,
              "lng": -0.15798420000000046
            },
            {
              "lat": 51.517767479999996,
              "lng": -0.15798420000000046
            },
            {
              "lat": 51.518666759999995,
              "lng": -0.15888348000000047
            },
            {
              "lat": 51.5168682,
              "lng": -0.16068204000000041
            },
            {
              "lat": 51.5168682,
              "lng": -0.16607772000000032
            },
            {
              "lat": 51.517767479999996,
              "lng": -0.16697700000000032
            },
            {
              "lat": 51.519566039999994,
              "lng": -0.16697700000000032
            },
            {
              "lat": 51.52046531999999,
              "lng": -0.16607772000000032
            },
            {
              "lat": 51.52046531999999,
              "lng": -0.1624806000000004
            },
            {
              "lat": 51.523163159999996,
              "lng": -0.15978276000000044
            },
            {
              "lat": 51.52496171999999,
              "lng": -0.15978276000000044
            },
            {
              "lat": 51.52586099999999,
              "lng": -0.15888348000000047
            },
            {
              "lat": 51.52586099999999,
              "lng": -0.1570849200000005
            },
            {
              "lat": 51.52676028,
              "lng": -0.15618564000000051
            },
            {
              "lat": 51.528558839999995,
              "lng": -0.15618564000000051
            },
            {
              "lat": 51.529458119999994,
              "lng": -0.1552863600000005
            },
            {
              "lat": 51.529458119999994,
              "lng": -0.1498906800000006
            },
            {
              "lat": 51.53125667999999,
              "lng": -0.14809212000000066
            },
            {
              "lat": 51.53125667999999,
              "lng": -0.1444950000000007
            },
            {
              "lat": 51.529458119999994,
              "lng": -0.14269644000000076
            },
            {
              "lat": 51.529458119999994,
              "lng": -0.1390993200000008
            },
            {
              "lat": 51.52765956,
              "lng": -0.13730076000000085
            },
            {
              "lat": 51.52765956,
              "lng": -0.1337036400000009
            },
            {
              "lat": 51.52586099999999,
              "lng": -0.13190508000000095
            },
            {
              "lat": 51.52765956,
              "lng": -0.13010652000000097
            },
            {
              "lat": 51.52765956,
              "lng": -0.12650940000000105
            },
            {
              "lat": 51.53125667999999,
              "lng": -0.12291228000000111
            },
            {
              "lat": 51.53125667999999,
              "lng": -0.1175166000000012
            },
            {
              "lat": 51.529458119999994,
              "lng": -0.11571804000000124
            },
            {
              "lat": 51.529458119999994,
              "lng": -0.1121209200000013
            },
            {
              "lat": 51.53125667999999,
              "lng": -0.11032236000000134
            },
            {
              "lat": 51.53125667999999,
              "lng": -0.1067252400000014
            },
            {
              "lat": 51.52586099999999,
              "lng": -0.1013295600000015
            },
            {
              "lat": 51.52586099999999,
              "lng": -0.09413532000000163
            },
            {
              "lat": 51.52496171999999,
              "lng": -0.09323604000000164
            },
            {
              "lat": 51.52136459999999,
              "lng": -0.09323604000000164
            },
            {
              "lat": 51.52046531999999,
              "lng": -0.09413532000000163
            },
            {
              "lat": 51.52046531999999,
              "lng": -0.0959338800000016
            },
            {
              "lat": 51.519566039999994,
              "lng": -0.09683316000000158
            },
            {
              "lat": 51.517767479999996,
              "lng": -0.09683316000000158
            },
            {
              "lat": 51.51596891999999,
              "lng": -0.09863172000000155
            },
            {
              "lat": 51.514170359999994,
              "lng": -0.09863172000000155
            },
            {
              "lat": 51.513271079999996,
              "lng": -0.09773244000000156
            },
            {
              "lat": 51.513271079999996,
              "lng": -0.0959338800000016
            },
            {
              "lat": 51.51057323999999,
              "lng": -0.09323604000000164
            },
            {
              "lat": 51.508774679999995,
              "lng": -0.09323604000000164
            },
            {
              "lat": 51.507875399999996,
              "lng": -0.09233676000000166
            },
            {
              "lat": 51.508774679999995,
              "lng": -0.09143748000000168
            },
            {
              "lat": 51.51057323999999,
              "lng": -0.09143748000000168
            },
            {
              "lat": 51.51147252,
              "lng": -0.09053820000000169
            },
            {
              "lat": 51.50697612,
              "lng": -0.08604180000000178
            },
            {
              "lat": 51.503378999999995,
              "lng": -0.08604180000000178
            },
            {
              "lat": 51.50247972,
              "lng": -0.08694108000000175
            },
            {
              "lat": 51.504278279999994,
              "lng": -0.08873964000000173
            },
            {
              "lat": 51.504278279999994,
              "lng": -0.09053820000000169
            },
            {
              "lat": 51.503378999999995,
              "lng": -0.09143748000000168
            },
            {
              "lat": 51.50158044,
              "lng": -0.09143748000000168
            },
            {
              "lat": 51.497983319999996,
              "lng": -0.08784036000000174
            },
            {
              "lat": 51.49708404,
              "lng": -0.08873964000000173
            },
            {
              "lat": 51.49708404,
              "lng": -0.09233676000000166
            },
            {
              "lat": 51.493486919999995,
              "lng": -0.0959338800000016
            },
            {
              "lat": 51.49528547999999,
              "lng": -0.09773244000000156
            },
            {
              "lat": 51.49528547999999,
              "lng": -0.09953100000000153
            },
            {
              "lat": 51.494386199999994,
              "lng": -0.10043028000000151
            },
            {
              "lat": 51.492587639999996,
              "lng": -0.10043028000000151
            },
            {
              "lat": 51.48988979999999,
              "lng": -0.10312812000000146
            },
            {
              "lat": 51.48988979999999,
              "lng": -0.10492668000000144
            },
            {
              "lat": 51.488990519999994,
              "lng": -0.10582596000000141
            },
            {
              "lat": 51.48719196,
              "lng": -0.10582596000000141
            },
            {
              "lat": 51.48089699999999,
              "lng": -0.1121209200000013
            },
            {
              "lat": 51.482695559999996,
              "lng": -0.11391948000000127
            },
            {
              "lat": 51.482695559999996,
              "lng": -0.11931516000000117
            },
            {
              "lat": 51.48179628,
              "lng": -0.12021444000000116
            },
            {
              "lat": 51.47999771999999,
              "lng": -0.12021444000000116
            },
            {
              "lat": 51.47729988,
              "lng": -0.12291228000000111
            },
            {
              "lat": 51.48089699999999,
              "lng": -0.12650940000000105
            },
            {
              "lat": 51.48089699999999,
              "lng": -0.13010652000000097
            },
            {
              "lat": 51.479098439999994,
              "lng": -0.13190508000000095
            },
            {
              "lat": 51.47999771999999,
              "lng": -0.13280436000000093
            },
            {
              "lat": 51.483594839999995,
              "lng": -0.13280436000000093
            },
            {
              "lat": 51.484494119999994,
              "lng": -0.1337036400000009
            },
            {
              "lat": 51.484494119999994,
              "lng": -0.14089788000000078
            },
            {
              "lat": 51.482695559999996,
              "lng": -0.14269644000000076
            },
            {
              "lat": 51.484494119999994,
              "lng": -0.1444950000000007
            },
            {
              "lat": 51.484494119999994,
              "lng": -0.1498906800000006
            },
            {
              "lat": 51.48629267999999,
              "lng": -0.15168924000000059
            },
            {
              "lat": 51.48629267999999,
              "lng": -0.16068204000000041
            },
            {
              "lat": 51.488091239999996,
              "lng": -0.1624806000000004
            },
            {
              "lat": 51.488091239999996,
              "lng": -0.16607772000000032
            },
            {
              "lat": 51.488990519999994,
              "lng": -0.16697700000000032
            },
            {
              "lat": 51.492587639999996,
              "lng": -0.16697700000000032
            },
            {
              "lat": 51.49618475999999,
              "lng": -0.16337988000000037
            },
            {
              "lat": 51.497983319999996,
              "lng": -0.16337988000000037
            },
            {
              "lat": 51.498882599999995,
              "lng": -0.16427916000000037
            },
            {
              "lat": 51.498882599999995,
              "lng": -0.16607772000000032
            },
            {
              "lat": 51.50068115999999,
              "lng": -0.1678762800000003
            }
          ],
          "holes": []
        }
      ]
    },
    {
      "search_id": "union of driving and public transport",
      "shapes": [
        {
          "shell": [
            {
              "lat": 51.50068116,
              "lng": -0.16787628
            },
            {
              "lat": 51.4988826,
              "lng": -0.16607772
            },
            {
              "lat": 51.4988826,
              "lng": -0.16427916
            },
            {
              "lat": 51.49798332,
              "lng": -0.16337988
            },
            {
              "lat": 51.49618476,
              "lng": -0.16337988
            },
            {
              "lat": 51.49258764,
              "lng": -0.166977
            },
            {
              "lat": 51.48899052,
              "lng": -0.166977
            },
            {
              "lat": 51.48809124,
              "lng": -0.16607772
            },
            {
              "lat": 51.48809124,
              "lng": -0.1624806
            },
            {
              "lat": 51.48629268,
              "lng": -0.16068204
            },
            {
              "lat": 51.48629268,
              "lng": -0.15168924
            },
            {
              "lat": 51.48449412,
              "lng": -0.14989068
            },
            {
              "lat": 51.48449412,
              "lng": -0.144495
            },
            {
              "lat": 51.48269556,
              "lng": -0.14269644
            },
            {
              "lat": 51.48449412,
              "lng": -0.14089788
            },
            {
              "lat": 51.48449412,
              "lng": -0.13370364
            },
            {
              "lat": 51.48359484,
              "lng": -0.13280436
            },
            {
              "lat": 51.47999772,
              "lng": -0.13280436
            },
            {
              "lat": 51.47909844,
              "lng": -0.13190508
            },
            {
              "lat": 51.480897,
              "lng": -0.13010652
            },
            {
              "lat": 51.480897,
              "lng": -0.1265094
            },
            {
              "lat": 51.47729988,
              "lng": -0.12291228
            },
            {
              "lat": 51.47999772,
              "lng": -0.12021444
            },
            {
              "lat": 51.48179628,
              "lng": -0.12021444
            },
            {
              "lat": 51.48269556,
              "lng": -0.11931516
            },
            {
              "lat": 51.48269556,
              "lng": -0.11391948
            },
            {
              "lat": 51.480897,
              "lng": -0.11212092
            },
            {
              "lat": 51.48719196,
              "lng": -0.10582596
            },
            {
              "lat": 51.48899052,
              "lng": -0.10582596
            },
            {
              "lat": 51.4898898,
              "lng": -0.10492668
            },
            {
              "lat": 51.4898898,
              "lng": -0.10312812
            },
            {
              "lat": 51.49258764,
              "lng": -0.10043028
            },
            {
              "lat": 51.4943862,
              "lng": -0.10043028
            },
            {
              "lat": 51.49528548,
              "lng": -0.099531
            },
            {
              "lat": 51.49528548,
              "lng": -0.09773244
            },
            {
              "lat": 51.49348692,
              "lng": -0.09593388
            },
            {
              "lat": 51.49708404,
              "lng": -0.09233676
            },
            {
              "lat": 51.49708404,
              "lng": -0.08873964
            },
            {
              "lat": 51.49798332,
              "lng": -0.08784036
            },
            {
              "lat": 51.50158044,
              "lng": -0.09143748
            },
            {
              "lat": 51.503379,
              "lng": -0.09143748
            },
            {
              "lat": 51.50427828,
              "lng": -0.0905382
            },
            {
              "lat": 51.50427828,
              "lng": -0.08873964
            },
            {
              "lat": 51.50247972,
              "lng": -0.08694108
            },
            {
              "lat": 51.503379,
              "lng": -0.0860418
            },
            {
              "lat": 51.50697612,
              "lng": -0.0860418
            },
            {
              "lat": 51.51147252,
              "lng": -0.0905382
            },
            {
              "lat": 51.51057324,
              "lng": -0.09143748
            },
            {
              "lat": 51.50877468,
              "lng": -0.09143748
            },
            {
              "lat": 51.5078754,
              "lng": -0.09233676
            },
            {
              "lat": 51.50877468,
              "lng": -0.09323604
            },
            {
              "lat": 51.51057324,
              "lng": -0.09323604
            },
            {
              "lat": 51.51327108,
              "lng": -0.09593388
            },
            {
              "lat": 51.51327108,
              "lng": -0.09773244
            },
            {
              "lat": 51.51417036,
              "lng": -0.09863172
            },
            {
              "lat": 51.51596892,
              "lng": -0.09863172
            },
            {
              "lat": 51.51776748,
              "lng": -0.09683316
            },
            {
              "lat": 51.51956604,
              "lng": -0.09683316
            },
            {
              "lat": 51.52046532,
              "lng": -0.09593388
            },
            {
              "lat": 51.52046532,
              "lng": -0.09413532
            },
            {
              "lat": 51.5213646,
              "lng": -0.09323604
            },
            {
              "lat": 51.52496172,
              "lng": -0.09323604
            },
            {
              "lat": 51.525861,
              "lng": -0.09413532
            },
            {
              "lat": 51.525861,
              "lng": -0.10132956
            },
            {
              "lat": 51.53125668,
              "lng": -0.10672524
            },
            {
              "lat": 51.53125668,
              "lng": -0.11032236
            },
            {
              "lat": 51.52945812,
              "lng": -0.11212092
            },
            {
              "lat": 51.52945812,
              "lng": -0.11571804
            },
            {
              "lat": 51.53125668,
              "lng": -0.1175166
            },
            {
              "lat": 51.53125668,
              "lng": -0.12291228
            },
            {
              "lat": 51.52765956,
              "lng": -0.1265094
            },
            {
              "lat": 51.52765956,
              "lng": -0.13010652
            },
            {
              "lat": 51.525861,
              "lng": -0.13190508
            },
            {
              "lat": 51.52765956,
              "lng": -0.13370364
            },
            {
              "lat": 51.52765956,
              "lng": -0.13730076
            },
            {
              "lat": 51.52945812,
              "lng": -0.13909932
            },
            {
              "lat": 51.52945812,
              "lng": -0.14269644
            },
            {
              "lat": 51.53125668,
              "lng": -0.144495
            },
            {
              "lat": 51.53125668,
              "lng": -0.14809212
            },
            {
              "lat": 51.52945812,
              "lng": -0.14989068
            },
            {
              "lat": 51.52945812,
              "lng": -0.15528636
            },
            {
              "lat": 51.52855884,
              "lng": -0.15618564
            },
            {
              "lat": 51.52676028,
              "lng": -0.15618564
            },
            {
              "lat": 51.525861,
              "lng": -0.15708492
            },
            {
              "lat": 51.525861,
              "lng": -0.15888348
            },
            {
              "lat": 51.52496172,
              "lng": -0.15978276
            },
            {
              "lat": 51.52316316,
              "lng": -0.15978276
            },
            {
              "lat": 51.52046532,
              "lng": -0.1624806
            },
            {
              "lat": 51.52046532,
              "lng": -0.16607772
            },
            {
              "lat": 51.51956604,
              "lng": -0.166977
            },
            {
              "lat": 51.51776748,
              "lng": -0.166977
            },
            {
              "lat": 51.5168682,
              "lng": -0.16607772
            },
            {
              "lat": 51.5168682,
              "lng": -0.16068204
            },
            {
              "lat": 51.51866676,
              "lng": -0.15888348
            },
            {
              "lat": 51.51776748,
              "lng": -0.1579842
            },
            {
              "lat": 51.51417036,
              "lng": -0.1579842
            },
            {
              "lat": 51.51327108,
              "lng": -0.15888348
            },
            {
              "lat": 51.51327108,
              "lng": -0.16068204
            },
            {
              "lat": 51.5123718,
              "lng": -0.16158132
            },
            {
              "lat": 51.51057324,
              "lng": -0.16158132
            },
            {
              "lat": 51.50517756,
              "lng": -0.15618564
            },
            {
              "lat": 51.50427828,
              "lng": -0.15708492
            },
            {
              "lat": 51.50427828,
              "lng": -0.16068204
            },
            {
              "lat": 51.50247972,
              "lng": -0.1624806
            },
            {
              "lat": 51.50247972,
              "lng": -0.16787628
            },
            {
              "lat": 51.50158044,
              "lng": -0.16877556
            },
            {
              "lat": 51.50068116,
              "lng": -0.16787628
            }
          ],
          "holes": []
        }
      ]
    },
    {
      "search_id": "intersection of driving and public transport",
      "shapes": [
        {
          "shell": [
            {
              "lat": 51.50140788,
              "lng": -0.15128402
            },
            {
              "lat": 51.50140788,
              "lng": -0.14858618
            },
            {
              "lat": 51.50185752,
              "lng": -0.14813654
            },
            {
              "lat": 51.5027568,
              "lng": -0.14813654
            },
            {
              "lat": 51.50320644,
              "lng": -0.1476869
            },
            {
              "lat": 51.50320644,
              "lng": -0.14678762
            },
            {
              "lat": 51.505005,
              "lng": -0.14498906
            },
            {
              "lat": 51.505005,
              "lng": -0.1431905
            },
            {
              "lat": 51.50140788,
              "lng": -0.13959338
            },
            {
              "lat": 51.50140788,
              "lng": -0.1386941
            },
            {
              "lat": 51.5005086,
              "lng": -0.13779482
            },
            {
              "lat": 51.5005086,
              "lng": -0.1341977
            },
            {
              "lat": 51.50005896,
              "lng": -0.13374806
            },
            {
              "lat": 51.49915968,
              "lng": -0.13374806
            },
            {
              "lat": 51.49871004,
              "lng": -0.13329842
            },
            {
              "lat": 51.49871004,
              "lng": -0.13060058
            },
            {
              "lat": 51.4982604,
              "lng": -0.13015094
            },
            {
              "lat": 51.49736112,
              "lng": -0.13015094
            },
            {
              "lat": 51.4960122,
              "lng": -0.12880202
            },
            {
              "lat": 51.4960122,
              "lng": -0.12610418
            },
            {
              "lat": 51.49556256,
              "lng": -0.12565454
            },
            {
              "lat": 51.49511292,
              "lng": -0.12610418
            },
            {
              "lat": 51.49511292,
              "lng": -0.12700346
            },
            {
              "lat": 51.49466328,
              "lng": -0.1274531
            },
            {
              "lat": 51.49331436,
              "lng": -0.12610418
            },
            {
              "lat": 51.49331436,
              "lng": -0.12430562
            },
            {
              "lat": 51.49466328,
              "lng": -0.1229567
            },
            {
              "lat": 51.49646184,
              "lng": -0.1229567
            },
            {
              "lat": 51.49736112,
              "lng": -0.12205742
            },
            {
              "lat": 51.4982604,
              "lng": -0.1229567
            },
            {
              "lat": 51.50005896,
              "lng": -0.1229567
            },
            {
              "lat": 51.50095824,
              "lng": -0.12205742
            },
            {
              "lat": 51.5027568,
              "lng": -0.12205742
            },
            {
              "lat": 51.50320644,
              "lng": -0.12160778
            },
            {
              "lat": 51.50320644,
              "lng": -0.11980922
            },
            {
              "lat": 51.50410572,
              "lng": -0.11890994
            },
            {
              "lat": 51.50410572,
              "lng": -0.11801066
            },
            {
              "lat": 51.50365608,
              "lng": -0.11756102
            },
            {
              "lat": 51.5027568,
              "lng": -0.11756102
            },
            {
              "lat": 51.50230716,
              "lng": -0.11711138
            },
            {
              "lat": 51.50320644,
              "lng": -0.1162121
            },
            {
              "lat": 51.50320644,
              "lng": -0.11441354
            },
            {
              "lat": 51.50230716,
              "lng": -0.11351426
            },
            {
              "lat": 51.50365608,
              "lng": -0.11216534
            },
            {
              "lat": 51.50410572,
              "lng": -0.11261498
            },
            {
              "lat": 51.50410572,
              "lng": -0.11351426
            },
            {
              "lat": 51.50455536,
              "lng": -0.1139639
            },
            {
              "lat": 51.50545464,
              "lng": -0.1139639
            },
            {
              "lat": 51.50635392,
              "lng": -0.11306462
            },
            {
              "lat": 51.50815248,
              "lng": -0.11306462
            },
            {
              "lat": 51.50860212,
              "lng": -0.11351426
            },
            {
              "lat": 51.50860212,
              "lng": -0.11441354
            },
            {
              "lat": 51.50905176,
              "lng": -0.11486318
            },
            {
              "lat": 51.50995104,
              "lng": -0.11486318
            },
            {
              "lat": 51.51085032,
              "lng": -0.1139639
            },
            {
              "lat": 51.51129996,
              "lng": -0.11441354
            },
            {
              "lat": 51.51129996,
              "lng": -0.11531282
            },
            {
              "lat": 51.5117496,
              "lng": -0.11576246
            },
            {
              "lat": 51.51219924,
              "lng": -0.11531282
            },
            {
              "lat": 51.51219924,
              "lng": -0.11441354
            },
            {
              "lat": 51.51354816,
              "lng": -0.11306462
            },
            {
              "lat": 51.5139978,
              "lng": -0.11351426
            },
            {
              "lat": 51.5139978,
              "lng": -0.11711138
            },
            {
              "lat": 51.51579636,
              "lng": -0.11890994
            },
            {
              "lat": 51.51489708,
              "lng": -0.11980922
            },
            {
              "lat": 51.51489708,
              "lng": -0.12340634
            },
            {
              "lat": 51.51579636,
              "lng": -0.12430562
            },
            {
              "lat": 51.51579636,
              "lng": -0.1252049
            },
            {
              "lat": 51.51759492,
              "lng": -0.12700346
            },
            {
              "lat": 51.51759492,
              "lng": -0.12880202
            },
            {
              "lat": 51.51669564,
              "lng": -0.1297013
            },
            {
              "lat": 51.51759492,
              "lng": -0.13060058
            },
            {
              "lat": 51.51759492,
              "lng": -0.13149986
            },
            {
              "lat": 51.51714528,
              "lng": -0.1319495
            },
            {
              "lat": 51.516246,
              "lng": -0.1319495
            },
            {
              "lat": 51.51579636,
              "lng": -0.13239914
            },
            {
              "lat": 51.51669564,
              "lng": -0.13329842
            },
            {
              "lat": 51.51669564,
              "lng": -0.13599626
            },
            {
              "lat": 51.516246,
              "lng": -0.1364459
            },
            {
              "lat": 51.51534672,
              "lng": -0.1364459
            },
            {
              "lat": 51.51489708,
              "lng": -0.13689554
            },
            {
              "lat": 51.51489708,
              "lng": -0.14139194
            },
            {
              "lat": 51.51444744,
              "lng": -0.14184158
            },
            {
              "lat": 51.51354816,
              "lng": -0.14184158
            },
            {
              "lat": 51.51309852,
              "lng": -0.14229122
            },
            {
              "lat": 51.51309852,
              "lng": -0.14408978
            },
            {
              "lat": 51.51264888,
              "lng": -0.14453942
            },
            {
              "lat": 51.5117496,
              "lng": -0.14453942
            },
            {
              "lat": 51.51085032,
              "lng": -0.14364014
            },
            {
              "lat": 51.50905176,
              "lng": -0.14364014
            },
            {
              "lat": 51.5072532,
              "lng": -0.1454387
            },
            {
              "lat": 51.50545464,
              "lng": -0.1454387
            },
            {
              "lat": 51.505005,
              "lng": -0.14588834
            },
            {
              "lat": 51.505005,
              "lng": -0.1476869
            },
            {
              "lat": 51.50320644,
              "lng": -0.14948546
            },
            {
              "lat": 51.50320644,
              "lng": -0.15128402
            },
            {
              "lat": 51.50185752,
              "lng": -0.15263294
            },
            {
              "lat": 51.50140788,
              "lng": -0.1521833
            },
            {
              "lat": 51.50140788,
              "lng": -0.15128402
            }
          ],
          "holes": []
        },
        {
          "shell": [
            {
              "lat": 51.5005086,
              "lng": -0.1207085
            },
            {
              "lat": 51.5005086,
              "lng": -0.11890994
            },
            {
              "lat": 51.50095824,
              "lng": -0.1184603
            },
            {
              "lat": 51.50230716,
              "lng": -0.11980922
            },
            {
              "lat": 51.50095824,
              "lng": -0.12115814
            },
            {
              "lat": 51.5005086,
              "lng": -0.1207085
            }
          ],
          "holes": []
        },
        {
          "shell": [
            {
              "lat": 51.50230716,
              "lng": -0.10991714
            },
            {
              "lat": 51.5027568,
              "lng": -0.1094675
            },
            {
              "lat": 51.50455536,
              "lng": -0.1094675
            },
            {
              "lat": 51.505005,
              "lng": -0.10991714
            },
            {
              "lat": 51.50365608,
              "lng": -0.11126606
            },
            {
              "lat": 51.50230716,
              "lng": -0.10991714
            }
          ],
          "holes": []
        }
      ]
    }
  ]
}