Skip to content

Setting Up NVDB in Gemini Connected

Background

In development projects, agreements are made for delivering data to NVDB and FKB. This applies to roads that are the responsibility of both the Norwegian Public Roads Administration and Nye Veier.

The data manager creates the contract in Datafangst. Furthermore, the data manager will configure the contract, assign a name, define an object list, and add users who should have access to it. External users of Datafangst need to be invited to access a contract, which is usually notified via email.

Connecting to an NVDB Contract

When we are registered users in Datafangst and have access to one or more contracts, we can connect to a contract in Gemini Connected.

Procedure

  1. Select Project Administration in the left menu and then NVDB.

Project Administration - NVDB

Select NVDB in Gemini Connected

  1. Click Create new connection.

  2. The first time, we must retrieve and paste the authentication token.

Enter authentication token

Dialog for entering the authentication token

How we retrieve this token as an external user is described below.

  1. Select the NVDB contract, and Gemini Connected is connected to NVDB.

Selection of NVDB contract for the project

Selection of NVDB contract for the project

Norwegian Public Roads Administration API Catalog

For External Users

The authentication token is retrieved from the Norwegian Public Roads Administration's API catalog.

Procedure

  1. Open the Norwegian Public Roads Administration API catalog and click Log in for external users.

Norwegian Public Roads Administration API catalog

The login page in the Norwegian Public Roads Administration API catalog

  1. Log in with your preferred method.

ID-porten

Login via ID-porten

  1. Click Select for Datafangst 2.0 API.

Norwegian Public Roads Administration API catalog logged in

The API catalog after logging in

  1. Accept the agreement and click Get token.

Datafangst 2.0 API

Dialog for retrieving the authentication token

  1. Click Copy token to clipboard to copy the authentication token.

Missing or Expired Token

The authentication token is valid for 30 days. When it has expired, you receive a message about this. You can renew access as described below.

Procedure

  1. Select Export as-built to Datafangst on the NVDB menu in the application layer list.

  2. Click Continue in the Export to NVDB dialog.

  3. If the token has expired, this message appears. Answer Yes to enter a new token.

Message for an expired token

Message for an expired token

  1. Retrieve the token as described in the section above about the Norwegian Public Roads Administration API catalog.

NVDB authentication

NVDB authentication

  1. Paste the token and click Apply...

  2. The NVDB authentication token is now updated, and you receive the following message:

Valid authentication token

Valid authentication token