Skip to content

How it works

Embrik Einang edited this page May 14, 2018 · 6 revisions

NVDB tips and tricks

Bruk av NVDB sitt API

When using information from the National Road Database, it should be referred to the Norwegian Public Roads Administration. For example, the following text can be used:

«Inneholder data under norsk lisens for offentlige data (NLOD) tilgjengeliggjort av Statens vegvesen.»

Coordinates

A road object is coordinated, which allows it to appear on maps. Either point, line or plane geometry. The coordinates are stored in the UTM33 projection in the NVDB database, but it is also possible to retrieve WGS84 coordinates through the NVDB API.

Most road objects have a geometry derived from the road network, and are therefore placed along the road center line. Selfometry is becoming more and more prevalent. Whether an object has self geometry or not is explicitly specified in the API response.

{ "geometri": "POINT (271441.3500267718 7039309.464531345)" }

Road reference

A road object has road reference, such as Europavei 6, E6, which is an administrative name on the road.

{ "vegreferanse": { "fylke": 16, "kommune": 0, "kategori": "E", "status": "V", "nummer" : 6, "hp": 1, "meter": 2024, "kortform" : "1600 Ev6 hp1 m2024" } }

https://www.vegvesen.no/nvdb/apidokumentasjon/#/get/vegobjekter http://api.vegdata.no/verdi/vegreferanse.html https://www.vegvesen.no/nvdb/apidokumentasjon/#/verdi/geometri

Clone this wiki locally