Once you have completed your purchase of HERE data, you can use it in your projects. To start using your data, you need to download it to your app using the HERE Command Line Interface (OLP CLI). Follow the steps below to set up a project and download catalogs you subscribed to on the HERE Marketplace:
Note
When you subscribe to HERE Map Layers, a project named My Purchases is created for you automatically with the catalogs you purchased linked to it. Therefore, for HERE Map Layers you may skip creating a project and linking catalogs to it. However, for HERE Map Layers, a maximum of five sub-resources are linked to the My Purchases project by default. Additional sub-resources can be linked manually as described below.
Follow the steps below to complete the minimum setup required to quickly begin using the data you purchased on the HERE Marketplace:
Sign in to the HERE platform using your HERE account.
Open the Projects manager from the launcher.
Click Create new project.
Enter a name for the project. Project names don't have to be unique.
Enter a project ID. Project IDs must be unique within an organization and cannot be changed for the lifetime of the organization. Project IDs must be between 4 and 16 characters in length.
Optional: Enter a description.
Click Save.
Link the data to your project
To access data you have purchased on HERE Marketplace, you need to link it to a project by following these steps:
Open the Projects Manager and find the project you created. Notice how the catalogs from the newly-purchased data product are not in the list of catalogs linked to your projects.
Click Add catalog and select Link a catalog from the drop-down list.
Find the catalog contained in the product you purchased and click Link.
Optional: select alternate permissions from the Permissions field.
Click Apply. The HERE platform displays a success message banner and the Add catalog button is replaced with a Linked icon.
Click Done. The linked catalog appears under the Catalogs section of the Resources tab.
Set up your credentials
To get your credentials, 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.
Optional: Enter a description for the app.
Under New app, select Create.
Select the project you created in the previous procedure from the Default access to a project field.
Note
For HERE Map Layers, select the My Purchases project.
Click Register. The HERE platform creates a new app with a unique app ID.
On the Credentials tab, select OAuth 2.0 and then click Create credentials. An access key is created and displayed.
Click Download to download the credentials.properties file containing your access key ID and secret.
Create a default profile by running the following command in the OLP CLI:
Open the Projects Manager, find your project and copy its HRN.
Click the catalog you linked to the project and then click View to view the catalog.
Locate and note the catalog HRN.
Select a layer from the Layers section and locate and note the Layer ID.
Run the following command in the OLP CLI to download the partitions within the scope of the purchased catalog:
olp catalog layer partition get <catalogHRN><layerID> [command options]
Specify the HRN of your project that you obtained aas described above in the --scope parameter and use the --all parameter to download all partitions of the selected catalog layer. For example, the following command downloads all partitions of the rules-and-regulations layer of the hrn:here:marketplace::olp-here:listing:here-signs-signals-and-warnings catalog:
olp catalog layer partition get hrn:here:marketplace::olp-here:listing:here-signs-signals-and-warnings rules-and-regulations --all --scope hrn:here-dev:authorization::orgXXX:project/my-project