Get started with HERE Map Attributes API v8
This section outlines how to quickly get started using HERE Map Attributes API v8 service on the HERE platform.
Note
This section provides information on the minimum setup required to quickly begin using HERE Map Attributes API v8. For more detailed information on HERE account setup, project creation, service linking, app registration, and authentication, see the Identity and Access Management Developer Guide.
Get a HERE account
Obtain access to the HERE platform through your organization administrator's invitation or contact us to get started.
- 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, contact us.
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 app authentication credentials. The API key is created and displayed.
Send a request
Send this request to get map attributes for a tile:
curl -gX GET 'https://smap.hereapi.com/v8/maps/attributes?'\
'layers=LINK_ATTRIBUTE_FC5'\
'&in=tile:72503709&'\
'&apiKey=YOUR_API_KEY'Response
Click to view the sample response.
{
"Tiles": [
{
"Meta": {
"layerName": "LINK_ATTRIBUTE_FC5",
"tileId": 72503709,
"level": 13,
"mapRegion": "NA",
"mapRelease": "25103"
},
"Rows": [
{
"LINK_ID": "866492995",
"ISO_COUNTRY_CODE": "PAN",
"VEHICLE_TYPES": "16",
"URBAN": "N",
"TRANSPORT_VERIFIED": "N",
"FUNCTIONAL_CLASS": "5",
"CONTROLLED_ACCESS": "N",
"LIMITED_ACCESS_ROAD": "N",
"TRAVEL_DIRECTION": "B",
"BOAT_FERRY": "N",
"RAIL_FERRY": "N",
"MULTI_DIGITIZED": "N",
"DIVIDER": "N",
"DIVIDER_LEGAL": "N",
"FRONTAGE": "N",
"PAVED": "N",
"RAMP": "N",
"PRIVATE": "N",
"POI_ACCESS": "N",
"INTERSECTION_CATEGORY": null,
"SPEED_CATEGORY": "8",
"LANE_CATEGORY": "1",
"COVERAGE_INDICATOR": "B8",
"TO_REF_NUM_LANES": null,
"FROM_REF_NUM_LANES": null,
"PHYSICAL_NUM_LANES": null,
"LOW_MOBILITY": "3",
"PUBLIC_ACCESS": "Y",
"GRADE_CATEGORY": null,
"ROUTE_TYPES": "0",
"OVERPASS_UNDERPASS": null,
"TOPOLOGY_ID": "468857692",
"START_OFFSET": "00",
"END_OFFSET": "52176"
}
]
}
]
}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}Next steps
- For further examples, see Examples.
- For the terms and conditions covering this documentation, see the HERE Documentation License.
Updated last month