Routing API Developer's Guide

Attribute Switches

Attribute switches allow you to select the subset of response data you require for each request. By default, the Routing API returns a list of [waypoints, summary, and legs]. If you use the routeattributes request parameter, you can add or remove elements for particular use cases from this default list.

To save bandwidth and simplify processing, the best practice is to select only the set of attributes you require, by using the none value and adding required attributes. For example, the following example returns only route legs.

&routeattributes=none,legs

This example adds shape and notes to the response, in addition to the default list:

&routeattributes=shape,notes

or use the abbreviated forms:

&routeattributes=sh,no

The following example removes legs from the default list:

&routeattributes=-legs

To add notes to the previous example, returning waypoints, summary and notes; use:

&routeattributes=-legs,notes

If all attributes except legs are required, use the all value and remove unnecessary attributes. The following example returns the whole attribute set except legs .

&routeattributes=all,-legs

For a complete list of attribute switches available in the Routing API, see RouteRepresentationOptionsType.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.