Examples

The following tables provide an overview of the available example requests.

Note

These examples do not illustrate how to handle authentication. For information on authentication, see the Identity & Access Management Developer Guide.

Note

When opening the links in the following tables, press F12 in your browser to view the relevant REST requests as used in the related use case demos.

Link to example Resource Parameters
Match GPS Trace /2/calculateroute.json &routeMatch=1
Match GPS Trace, show match confidence /2/calculateroute.json &routeMatch=1
Match GPS Trace, show speeding alerts /2/calculateroute.json + /1/tile.json &routeMatch=1
Match GPS Trace, show link attributes /2/calculateroute.json &routeMatch=1
Speed limit at coordinate /2/calculateroute.json &routeMatch=1
Detect bad behavior on the trip /2/calculateroute.json + /1/tiles.json &routeMatch=1
Improve reverse geocoding quality /2/calculateroute.json + /1/tiles.json &routeMatch=1
Detect bad behavior on the trip /2/calculateroute.json + /1/tiles.json &routeMatch=1
Match daily commute + provide route to other systems /2/calculateroute.json &routeMatch=1
Java code to load a speed limits along matched route /1/index.json + /1/tiles.json
Command line: curl --request POST -H "Content-Type: application/binary" --data-binary "@MyGpsTrace.gpx" "https://fleet.api.here.com/2/calculateroute.json?routeMatch=1&mode=fastest;car&app_id=MY_ADPPID&app_code=MY_APPCODE" /2/calculateroute.json &routeMatch=1

Route Calculation / Route Matching with Custom Road Changes

Link to example Resource
Add/block links and routing /2/overlays/upload.json + /2/search/bbox.json + /2/calculateroute.json
Road editor + routing /2/overlays/upload.json, /2/search/bbox.json + /2/calculateroute.json

Map Content for Driving/Risk Analysis

Link to example Resource
Slope along route /2/calculateroute.json + /1/tiles.json
Height along route /2/calculateroute.json + /1/tiles.json
Road type + urban flag along route /2/calculateroute.json + /1/tiles.json
Traffic signs along route /2/calculateroute.json + /1/tiles.json
Speed limits along route /2/calculateroute.json + /1/tiles.json
Speed limits in map view /1/tiles.json
Speed limit at coordinate /1/tiles.json
Traffic Signs along route /2/calculateroute.json + /1/tiles.json
Truck POIs along route /2/calculateroute.json + /1/tiles.json
2D junction views along route /2/calculateroute.json + /1/tiles.json
Link IDs and TMC codes along route /2/calculateroute.json
Driver rating speeding and cornering along route /2/calculateroute.json + /1/tiles.json
Driver alerts speeding /1/tiles.json
Traffic patterns in map view /1/tiles.json
Live traffic speed record in map view /1/tiles.json
Postal code boundaries in map view /1/tiles.json
Administrative boundaries in map view /1/tiles.json
Census boundaries in map view /1/tiles.json
DTM height points in map view /1/tiles.json
Road roughness in map view /1/tiles.json
Variable speed signs in map view /1/tiles.json
Environmental zones in map view /1/tiles.json
Distance markers search + in map view /1/index.json + /1/tiles.json
Search map objects and custom objects /2/search/proximity.json, /2/search/bbox.json, /2/search/corridor.json, /2/search/quadkey.json, /2/search/all.json
Road link attributes /1/tiles.json
Road link attributes /1/index.json + /1/tiles.json

results matching ""

    No results matching ""