Send a Request

An isoline route calculation consists of a single GET request. The required parameters are:

  • a transportMode, which can currently be either car or pedestrian or truck
  • either an origin or a destination specified as a pair of WGS84 coordinates in the following form: <latitude>,<longitude>
  • a range consisting of a range[type] being either distance or time and a comma-separated list of range[values] in meters or seconds depending on the type.
curl -X GET \
    'https://isoline.router.hereapi.com/v8/isolines?transportMode=car&range[type]=distance&range[values]=3000&origin=52.5308,13.3847'

Note

Depending on your authentication method, you need to add either an Authorization header with a Bearer token or apiKey query parameter to the example requests shown here. For details, see the Identity & Access Management Developer Guide..

Note

Postman users can import these examples: Import > Paste Raw Text

If the isoline route calculation was successful, the response contains the calculated isolines with the departure or arrival location and time in one or more isolines. For further details on the response structure, refer to the Isoline Response .

{
  "departure": {
    "place": {
      "type": "place",
      "location": {
        "lat": 52.5309797,
        "lng": 13.3845615
      },
      "originalLocation": {
        "lat": 52.5307999,
        "lng": 13.3847
      }
    }
  },
  "isolines": [
    {
      "range": {
        "type": "distance",
        "value": 3000
      },
      "polygons": [
        {
          "outer": "BGmk9lkDo7tuZAqmF2KmgBsgCuV4KmgBA-qB4KmgBmgB2K8qBAmgB4KwVsgCuVAuVrgCwVA2KmgBA-qB4KmgBsgCuV4KmgB3KmgB9qB-qBrgCuVx2Gy2G3KmgB4KmgBuVuV4KmgBA-qB4KmgBuVuV4KmgBA-qB2KmgB-qB-qBuVAo2En2EsgCtVAtVvVvV1KlgBA7qB2KlgBmgB3KmgB4KwVsgCuVA61C71CAtVtVtVvVrgCtVvV1KlgBA7qB2KlgBsgCtVuVvVwVAuVwVsgCuV4KmgBA61C2K-qBwVuV2KtVAx2G4KlgBmgB3KmgB4KuVsgCsgCuV4KmgBA8qB4KmgBmgB4KmgB3K2KlgBA51C4KlgBmgB1KmgB2K4KmgBA-qB2KmgBsgCuVwVsgCuVA2KlgBA9qB4KlgBuVA-qB-qBuVsgCwVAuVrgC61C51CwVA2KmgBA8qB1KmgBvVwVAuVwVuVAwVrgCuV3KmgBA61C4KmgBuVAuVtV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uVA4KlgB3KlgBrgCtV1KlgB2KlgBmgB3K-qBAmgB3K2KlgBA7qB4KlgB-qB9qBuVrF4KkQA6a"
        }
      ]
    }
  ]
}

No Isoline Possible

Some requests will not result in any isoline for a number of reasons. This example requests an isoline in Antarctica.

curl -X GET \
  'https://isoline.router.hereapi.com/v8/isolines?transportMode=car&range[type]=distance&range[values]=3000&origin=82.8628,135.00'

Isoline calculation fails with the following response:

{
  "notices":[
    {
      "title":"Isolines could not be calculated.",
      "code":"isolineCalculationFailed"
    }
  ]
}

results matching ""

    No results matching ""