Main Content

zenrinCredentials

Set up or delete Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0) credentials

Since R2021a

Description

zenrinCredentials('setup') opens a dialog box for specifying the credentials required to access the Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0) 1 service. By default, credentials last for the duration of a MATLAB® session. To save credentials between sessions, in the Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0) Credentials dialog box, select the Save my credentials between MATLAB sessions check box.

The zenrinCredentials function requires Automated Driving Toolbox Importer for Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0) Service.

Simplified form: zenrinCredentials setup

example

zenrinCredentials('delete') deletes saved Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0) credentials. Any subsequent use of the Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0) service requires entering new credentials.

Simplified form: zenrinCredentials delete

example

Examples

collapse all

Set up Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0) credentials.

zenrinCredentials setup

Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0) Credentials dialog box

Enter a valid Client ID and Secret Key. You can obtain these credentials by entering into a separate agreement with ZENRIN DataCom CO., LTD.. Select the appropriate access point for your Zenrin license.

  • Production (https://core.its-mo.com) — Use this option when you have a permanent license agreement to access Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0).

  • Verification (https://test.core.its-mo.com) — Use this option when you have an evaluation license agreement to access Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0).

Optionally, select Save my credentials between MATLAB sessions to save your credentials between MATLAB sessions. Click OK.

Load a driving route.

data = load('tokyoSequence.mat');
lat = data.latitude;
lon = data.longitude;

Create a driving scenario, and import the Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0) road data that is nearest to the driving route into the scenario. The Zenrin Japan Map Credentials dialog box does not open because the credentials have already been set up.

scenario = drivingScenario;
roadNetwork(scenario,'ZenrinJapanMap',lat,lon)

Delete the Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0) credentials you previously entered. The next time you import Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0) data, you must enter your credentials again.

zenrinCredentials delete

Version History

Introduced in R2021a


1 To gain access to the Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0) service and get the required credentials (a client ID and secret key), you must enter into a separate agreement with ZENRIN DataCom CO., LTD.