[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources) ## BAG import helper ( [bag](https://mapcomplete.org/bag) ) _This document details some technical information about this MapComplete theme, mostly about the attributes used in the theme. Various links point toward more information about the attributes, e.g. to the OpenStreetMap-wiki, to TagInfo or tools creating statistics_ The theme introduction reads: > This theme helps with importing data from BAG This theme contains the following layers: - [osm_buildings (defined in this theme)](#osm_buildings) - [osm_adresses (defined in this theme)](#osm_adresses) - [bag_pand (defined in this theme)](#bag_pand) - [bag_verblijfsobject (defined in this theme)](#bag_verblijfsobject) Available languages: - nl - en - de - fr - nb_NO - ca - es - cs - zh_Hant - pl - zh_Hans # Table of contents - [BAG import helper ( bag )](#bag-import-helper-(-bag-)) 1. [Layers defined in this theme configuration file](#layers-defined-in-this-theme-configuration-file) 2. [osm_buildings](#osm_buildings) - [Basic tags for this layer](#basic-tags-for-this-layer) - [Supported attributes](#supported-attributes) + [Reference](#reference) + [Building type](#building-type) + [leftover-questions](#leftover-questions) + [lod](#lod) 3. [osm_adresses](#osm_adresses) - [Basic tags for this layer](#basic-tags-for-this-layer) - [Supported attributes](#supported-attributes) + [lod](#lod) + [leftover-questions](#leftover-questions) 4. [bag_pand](#bag_pand) - [Basic tags for this layer](#basic-tags-for-this-layer) - [Supported attributes](#supported-attributes) + [Import button](#import-button) + [Reference](#reference) + [Build year](#build-year) + [Building type](#building-type) + [Overlapping building](#overlapping-building) + [BAG geometry:](#bag-geometry) + [OSM geometry:](#osm-geometry) + [Building status](#building-status) + [Buidling function](#buidling-function) + [leftover-questions](#leftover-questions) + [lod](#lod) 5. [bag_verblijfsobject](#bag_verblijfsobject) - [Basic tags for this layer](#basic-tags-for-this-layer) - [Supported attributes](#supported-attributes) + [Import button](#import-button) + [Address](#address) + [leftover-questions](#leftover-questions) + [lod](#lod) # Layers defined in this theme configuration file These layers can not be reused in different themes. # osm_buildings Layer showing buildings that are in OpenStreetMap - This layer is shown at zoomlevel **18** and higher - Not rendered on the map by default. If you want to rendering this on the map, override `mapRenderings` No themes use this layer ## Basic tags for this layer Elements must match the expression **building~.+** [Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22building%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B) ## Supported attributes **Warning:**,this quick overview is incomplete, | attribute | type | values which are supported by this layer | -----|-----|----- | | [ref:bag](https://wiki.openstreetmap.org/wiki/Key:ref:bag) | Multiple choice | [](https://wiki.openstreetmap.org/wiki/Tag:ref:bag%3D) | | [building](https://wiki.openstreetmap.org/wiki/Key:building) | [string](../SpecialInputElements.md#string) | | ### Reference _This tagrendering has no question and is thus read-only_ *The reference in BAG is {ref:bag}* - *This building has no reference in the BAG* is shown if with ref:bag= ### Building type The question is `What kind of building is this?` *This building is a {building}* is shown if `building` is set ### leftover-questions _This tagrendering has no question and is thus read-only_ *{questions( ,)}* ### lod _This tagrendering has no question and is thus read-only_ *{linked_data_from_website()}* This tagrendering has labels `added_by_default` # osm_adresses Layer showing adresses that are in OpenStreetMap - This layer is shown at zoomlevel **18** and higher No themes use this layer ## Basic tags for this layer Elements must match **all** of the following expressions: 0. source=BAG 1. addr:city~.+ 2. addr:housenumber~.+ 3. addr:postcode~.+ 4. addr:street~.+ [Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22source%22%3D%22BAG%22%5D%5B%22addr%3Acity%22%5D%5B%22addr%3Ahousenumber%22%5D%5B%22addr%3Apostcode%22%5D%5B%22addr%3Astreet%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B) ## Supported attributes ### lod _This tagrendering has no question and is thus read-only_ *{linked_data_from_website()}* This tagrendering has labels `added_by_default` ### leftover-questions _This tagrendering has no question and is thus read-only_ *{questions( ,)}* # bag_pand Buildings from BAG register - This layer is shown at zoomlevel **18** and higher - This layer is loaded from an external source, namely `https://service.pdok.nl/lv/bag/wfs/v2_0?request=GetFeature&service=WFS&version=2.0.0&outputFormat=application%2Fjson%3B%20subtype%3Dgeojson&typeName=bag%3Apand&bbox={x_min}%2C{y_min}%2C{x_max}%2C{y_max}%2CCRS84&srsName=EPSG%3A4326` No themes use this layer ## Basic tags for this layer Elements must match the expression **identificatie~.+** [Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22identificatie%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B) ## Supported attributes **Warning:**,this quick overview is incomplete, | attribute | type | values which are supported by this layer | -----|-----|----- | | [_bag_obj:in_construction](https://wiki.openstreetmap.org/wiki/Key:_bag_obj:in_construction) | Multiple choice | [true](https://wiki.openstreetmap.org/wiki/Tag:_bag_obj:in_construction%3Dtrue) | | [_bag_obj:in_construction](https://wiki.openstreetmap.org/wiki/Key:_bag_obj:in_construction) | Multiple choice | [true](https://wiki.openstreetmap.org/wiki/Tag:_bag_obj:in_construction%3Dtrue) | ### Import button _This tagrendering has no question and is thus read-only_ *{import_way_button(osm_buildings,building=$_bag_obj:building; ref:bag=$_bag_obj:ref:bag; source=BAG; source:date=$_bag_obj:source:date; start_date=$_bag_obj:start_date,{"*":"Upload this building to OpenStreetMap"},,,,,,,)}* - *Didn't calculate the correct values yet. Refresh this page* is shown if with _bag_obj:building= | _bag_obj:ref:bag= - *{conflate_button(osm_buildings, building=$_bag_obj:building; ref:bag=$_bag_obj:ref:bag; source=BAG; source:date=$_bag_obj:source:date; start_date=$_bag_obj:start_date, Replace the geometry in OpenStreetMap, , _osm_obj:id)}* is shown if with _overlaps_with~.+ - *{import_way_button(osm_buildings, building=$_bag_obj:building; construction=$_bag_obj:construction; ref:bag=$_bag_obj:ref:bag; source=BAG; source:date=$_bag_obj:source:date; start_date=$_bag_obj:start_date, Upload this building to OpenStreetMap)}* is shown if with _bag_obj:building~.+ & _bag_obj:ref:bag~.+ & _bag_obj:in_construction=true ### Reference _This tagrendering has no question and is thus read-only_ *The reference in BAG is {_bag_obj:ref:bag}* ### Build year _This tagrendering has no question and is thus read-only_ *This building was built in {_bag_obj:start_date}* - *The building was started in {_bag_obj:start_date}* is shown if with _bag_obj:in_construction=true ### Building type _This tagrendering has no question and is thus read-only_ *The building type is a {_bag_obj:building}* - *The building type will be a {_bag_obj:construction}* is shown if with _bag_obj:in_construction=true ### Overlapping building _This tagrendering has no question and is thus read-only_ *