Get started with HERE Isoline Routing v8
This section outlines how to get started quickly using the HERE Isoline Routing API on the HERE platform.
Note
This section provides information on the minimum setup required to begin quickly using the HERE Isoline Routing API. For more detailed information on HERE account setup, project creation, service linking, app registration, and authentication, see the Identity and Access Management Guide.
Get a HERE account
Obtain access to the HERE platform through your organization administrator's invitation or get started for free.
- If your company has already established a HERE platform organization, contact your organization admin who can invite you to join the organization.
- If your company hasn’t established a HERE platform organization yet, you can get started for free. For more information, see the HERE platform pricing.
Get an API key
To get an API key, follow these steps:
- Sign in to the HERE platform using your HERE account.
- Select the Access Manager from the launcher.
- Select the Apps tab and click Register new app.
- Enter a name for the app.
- Click Register. The HERE platform creates a new app with a unique app ID.
- On the Credentials tab, select API Keys and then click Create API key to generate a maximum of two API Keys for your application authentication credentials. The API key is created and displayed.
Send a request
An isoline route calculation consists of a single GET request. These are the required parameters:
- A
transportMode, which can currently be eithercarorpedestrianortruck - Either an
originor adestinationspecified as a pair of WGS84 coordinates in the following form:<latitude>,<longitude> - A range consisting of a
range[type]being eitherdistanceortimeand a comma-separated list ofrange[values]in meters or seconds depending on the type.
curl -gX GET 'https://isoline.router.hereapi.com/v8/isolines?'\
'transportMode=car&'\
'range[type]=distance&'\
'range[values]=3000&'\
'origin=52.5308,13.3847&'\
'apiKey=YOUR_API_KEY'Note
This example uses an API key to authenticate your request. For the available authentication options, see the Identity and Access Management 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 HERE Isoline Routing v8 response structure.
{
"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-q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1rF4KlgBmgB1KmgB2K2KmgBAy2G4KmgBuVA4KlgBAthI3KlgB7qB9qBlgB3K71CAlgB4KtVuVrgCwVtVuVlgB4KlgB3K3KlgBA9qB4KlgBmgB1K-qBAkgB3KwVtVmgB3K4gEAmgB3KuVtVmgB3KmgB4K4KmgBA-qB2KmgBsgCuVwVuVmgB4KmgB3K2KlgBA51C4KlgBuVtVAvVtVtV3KlgBA9qB4KlgBuVAwVwVuVA4KlgBA3gE3KlgBlgB3K9qBAlgB1KtVrgCrgCvV3KlgBAvhI1KlgBlgB1KlgB2KvVsgClgB4KlgB3K1KlgB2KlgBwVtV2KlgB1KlgBvVtV1KlgBA9qB2KlgBwVAorDqrDwVA8qB9qB4KlgBA3gE4KlgBsgCrgC2KlgBA7qB4KlgBmgB3K-qBAmgB4KuVuVuVA4KlgB3KlgBrgCtV1KlgB2KlgBmgB3K-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 -gX GET 'https://isoline.router.hereapi.com/v8/isolines?'\
'transportMode=car&'\
'range[type]=distance&'\
'range[values]=3000&'\
'origin=82.8628,135.00&'\
'apiKey=YOUR_API_KEY'Isoline calculation fails with the following response:
{
"notices":[
{
"title":"Isolines could not be calculated.",
"code":"isolineCalculationFailed"
}
]
}Next steps
- For a full list of available examples, see the Tutorials chapter.
- For the terms and conditions covering this documentation, see the HERE Documentation License.
Updated 8 days ago