Key:ref:bag

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg ref:bag
Description
Reference number from the BAG database containing addresses and buildings in the Netherlands. Show/edit corresponding data item.
Group: references
URL pattern
https://bagviewer.kadaster.nl/lvbag/bag-viewer/index.html#?searchQuery=$1
Used on these elements
should not be used on nodesshould not be used on waysmay be used on areas (and multipolygon relations)should not be used on relations (except multipolygon relations)
Status: importedPage for proposal

This key contains the reference number (ID) from the BAG (Basisregistratie Adressen en Gebouwen) database containing addresses and buildings in the Netherlands. One can look up the record in the database using bagviewer.kadaster.nl (Dutch).

Number of digits

The BAG website requires 16 digit ID's for buildings, append a zero (or two or three) in front of the ID if necessary. The first 4 digits, including leading zeroes, of the 16-digit (BAG) ID denotes a Dutch municipality code, Dutch: Gemeentecode. When using the tag2link plugin in JOSM you can open the bag viewer by right clicking on the tag and choosing "Open in BAG Viewer". This automatically adds leading zeros if necessary.

See also Voorloop nul(len) BAG referentie nummers