Start using your purchased data
Once you have purchased HERE lidar data, you can download and use it in your projects. One way to set up a project and download your lidar data to your app is to use the HERE Command Line Interface (OLP CLI), as described below:
- Install the OLP CLI
- Create a project
- Link your lidar catalog to your project
- Get your credentials
- Download all catalog partitions
Install the OLP CLI
For information on how to install the OLP CLI, see the Command Line Interface User Guide.
Create a project
To create a project, follow these steps:
- 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 your lidar catalog to your project
To access your lidar data, you must link your lidar catalog to your project, as follows:
- Sign in to the HERE platform using your HERE account.
- Open the Projects Manager in the launcher and select your project. (Note: The catalogs from your newly purchased lidar product will not appear yet in the list of catalogs linked to your projects.)
- Click Add catalog and then select Link a catalog from the drop-down list.
- Search for the lidar catalog in the product you purchased and click Link.
- 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.
Get 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 that you created from the Default access to a project field.
- Click Register. The HERE platform creates a new app with a unique app ID.
- On the Credentials tab, click Create credentials. An access key is created and displayed.
- Click Download to download the
credentials.properties
file. -
Create a default profile by running the following command in the OLP CLI:
olp credentials import default credentials.properties
Run the following command in the directory that contains the OLP CLI JAR file to verify that your credentials have been correctly configured:
```
olp api token get
```
Output similar to the following should be returned, confirming that your credentials have been configured correctly:
```
Token: eyJhbGciOiJSUzUxMiIsImN0eSI6IkpXVCIsImlzcyI6IkhFUkUiLCJhaWQiOiJtekxjYjFyTDhuc2t2RFFwQ0ZFRiIs
ImlhdCI6MTUyMTgwNjYyOCwiZXhwIjoxNTIxODkzMDI4LCJraWQiOiJqMSJ9.ZXlKaGJHY2lPaUprYVhJaUxDSmxibU1pT2lKQk
1qVTJRMEpETFVoVE5URXlJbjAuLmtGc0JMODJibEUxTHhCS1M3MEctcFEuZHhsb2psaklEQmdNVEdoMEFKMHAzUU9yeE9INXdhd
1hkWjVSLS1Kdkc3VFBoUkRWY3owcUFYZ0V2Y3kwOGpMdzBCR09sNjJfZ2pxeUNuLXhET3JtZV8xNUlkV0tJN2VxTUpZNTNJelRx
ZjhUSzdVVHlEUlJFVnBLRW5BN2FvR2MubFViMTNGYWdKMlVGZXVQZnZsVG44Y2JqTzdtbF9ncGpLamFUN0xmZFF0UQ.EPYB9Rdy
jCHFxrqpaEBWkPzhPmFrAPBKlkt8SQpcI0k71mH_vC6txh6Uv1NVQC4xYyWG7ueq5mb4mcQh1sCorcv15GwIH1R0v0NR_CRPh-M
DNSFtg8HNnWyC1ePsfUGpSqjucQW8RMdbsU03wDO50Pr3ctQI4BZrxiU4HW6tdQq9_TinizujACzE-LMZ6FlFAb6pPB8TDsFlY3
9OmBFXEanaPvZwE01dKjE1K_A_G1_TiJzWo4vwuNeD54HfmOf6hN1IE8-CCSKRoIFoIBiVNqqzyCybyovRlSCWzSaTNz4v9BD7N
2lDgEuBlpn3q0qTFppZzjEvzv3RicGrCC_tmB
Token Expires at: 2018-03-24T14:03:48.100Z
```
Download all catalog partitions
Although you could download your lidar data one file at a time, HERE recommends that you download all the catalog partitions together, as follows:
- Sign in to the HERE platform using your HERE account.
- Open the Projects Manager from the launcher, and locate and note the HERE Resource Name (HRN) of the project you created.
- Click the lidar catalog, and then click View to view the catalog linked to the project you created.
- 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 all the partitions within the scope of the purchased catalog:
olp catalog layer partition get <catalog HRN> <layer ID> --all --scope <project hrn>
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
For more information on downloading partitions using the OLP CLI, see the Command Line Interface User Guide.