Routing API Developer's Guide

Requesting a Route from a Location near a Motorway

To request a route starting at a street by a location near a motorway, use the calculateroute service specifying the start location as a street position (waypoint0=street!!poi_location).

In the following example a requested route starts at a location of Berlin Tegel S-Bahn station (52.587854,13.2898107) close to A111 motorway (Tunnel Tegel). Matching the route start to the motorway is avoided by specifying the station's location as a street position.

https://route.cit.api.here.com/routing/7.2/calculateroute.json
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&mode=fastest;car
&waypoint0=street!!52.587854,13.2898107
&waypoint1=geo!52.57548,13.294322
&routeattributes=sh
Figure 1. Example of a route start matched to a street instead of a motorway.

If the station's location was specified as a waypoint position (waypoint0=geo!52.587854,13.2898107) instead of a street position then the route start would be matched to A111 motorway.

Figure 2. Example of a route start matched to a motorway.

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.