Get HERE map content for trip analysis
After calculation of a route, display the speed limits along the route / curvature warnings along the route / slopes along the route. The route is calculated by the HERE Routing API v8 between two waypoints. Then, a request to the HERE Map Attributes API to different map layers can retrieve the tiled content. Then filter for the segments in the route to collect the respective additional segment level information for displaying.
Sample requests
curl -gX GET 'https://smap.hereapi.com/v8/maps/attributes?'\
'layers=SPEED_LIMITS_FC4,SPEED_LIMITS_FC2,SPEED_LIMITS_FC4,SPEED_LIMITS_FC4,SPEED_LIMITS_FC4,SPEED_LIMITS_FC4'\
'&in=tile:24267002,1516094,24275195,24275196,24283388,24283387'\
'&apiKey={YOUR_API_KEY}'curl -gX GET 'https://smap.hereapi.com/v8/maps/attributes?'\
'layers=ADAS_ATTRIB_FC4,ADAS_ATTRIB_FC2,ADAS_ATTRIB_FC4,ADAS_ATTRIB_FC4,ADAS_ATTRIB_FC4,ADAS_ATTRIB_FC4'\
'&in=tile:24267002,1516094,24275195,24275196,24283388,24283387'\
'&apiKey={YOUR_API_KEY}'Links to demos
| Link to example | Resource |
|---|---|
| Traffic patterns in map view | /v8/maps/attributes |
| Live traffic speed record in map view | /v8/maps/attributes |
| Postal code boundaries in map view | /v8/maps/attributes |
| Administrative boundaries in map view | /v8/maps/attributes |
| Census boundaries in map view | /v8/maps/attributes |
| DTM height points in map view | /v8/maps/attributes |
| Road roughness in map view | /v8/maps/attributes |
| Variable speed signs in map view | /v8/maps/attributes |
| Environmental zones in map view | /v8/maps/attributes |
| Distance markers search + in map view | /v8/maps/index.json + /v8/maps/attributes |
| Search map objects and custom objects | v8/maps/attributes.json |
Response attributes are associated with layers. To see a list of the available layers and their attributes, access the following URL:
https://smap.hereapi.com/v8/maps/layers/list.html?&apiKey={YOUR_API_KEY}Updated last month