[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
## GRB import helper ( [grb](https://mapcomplete.org/grb) )
_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 is an attempt to help automating the GRB import.
This theme contains the following layers:
- [osm_buildings_no_points (defined in this theme)](#osm_buildings_no_points)
- [grb (defined in this theme)](#grb)
- [service_ways (defined in this theme)](#service_ways)
- [generic_osm_object (defined in this theme)](#generic_osm_object)
- [address](../Layers/address.md)
- [current_view](../Layers/current_view.md)
Available languages:
- nl
# Table of contents
- [GRB import helper ( grb )](#grb-import-helper-(-grb-))
1. [Layers defined in this theme configuration file](#layers-defined-in-this-theme-configuration-file)
2. [osm_buildings_no_points](#osm_buildings_no_points)
- [Basic tags for this layer](#basic-tags-for-this-layer)
- [Supported attributes](#supported-attributes)
- [Featureview elements and TagRenderings](#featureview-elements-and-tagrenderings)
+ [building type](#building-type)
+ [grb-housenumber](#grb-housenumber)
+ [grb-unit](#grb-unit)
+ [grb-street](#grb-street)
+ [grb-reference](#grb-reference)
+ [grb-fixme](#grb-fixme)
+ [grb-min-level](#grb-min-level)
+ [all_tags](#all_tags)
+ [leftover-questions](#leftover-questions)
+ [lod](#lod)
- [Filters](#filters)
3. [grb](#grb)
- [Basic tags for this layer](#basic-tags-for-this-layer)
- [Supported attributes](#supported-attributes)
- [Featureview elements and TagRenderings](#featureview-elements-and-tagrenderings)
+ [GRB geometry:](#grb-geometry)
+ [OSM geometry:](#osm-geometry)
+ [Import-button](#import-button)
+ [Building info](#building-info)
+ [overlapping building address](#overlapping-building-address)
+ [grb_address_diff](#grb_address_diff)
+ [overlapping building id](#overlapping-building-id)
+ [overlapping building type](#overlapping-building-type)
+ [overlapping building map](#overlapping-building-map)
+ [GRB geometry:](#grb-geometry)
+ [OSM geometry:](#osm-geometry)
+ [apply-id](#apply-id)
+ [apply-building-type](#apply-building-type)
+ [leftover-questions](#leftover-questions)
+ [lod](#lod)
4. [service_ways](#service_ways)
- [Basic tags for this layer](#basic-tags-for-this-layer)
- [Supported attributes](#supported-attributes)
- [Featureview elements and TagRenderings](#featureview-elements-and-tagrenderings)
+ [leftover-questions](#leftover-questions)
+ [lod](#lod)
5. [generic_osm_object](#generic_osm_object)
- [Basic tags for this layer](#basic-tags-for-this-layer)
- [Supported attributes](#supported-attributes)
- [Featureview elements and TagRenderings](#featureview-elements-and-tagrenderings)
+ [all_tags](#all_tags)
+ [leftover-questions](#leftover-questions)
+ [lod](#lod)
# Layers defined in this theme configuration file
These layers can not be reused in different themes.
# osm_buildings_no_points
- This layer is shown at zoomlevel **17** 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 **all** of the following expressions:
0. id~^(way\/.*)$ | id~^(relation\/.*)$
1. building~.+
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22id%22~%22%5E%28way%5C%2F.*%29%24%22%5D%5B%22building%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22id%22~%22%5E%28relation%5C%2F.*%29%24%22%5D%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 |
-----|-----|----- |
|
[building](https://wiki.openstreetmap.org/wiki/Key:building) | [string](../SpecialInputElements.md#string) | [house](https://wiki.openstreetmap.org/wiki/Tag:building%3Dhouse) [detached](https://wiki.openstreetmap.org/wiki/Tag:building%3Ddetached) [semidetached_house](https://wiki.openstreetmap.org/wiki/Tag:building%3Dsemidetached_house) [apartments](https://wiki.openstreetmap.org/wiki/Tag:building%3Dapartments) [office](https://wiki.openstreetmap.org/wiki/Tag:building%3Doffice) [shed](https://wiki.openstreetmap.org/wiki/Tag:building%3Dshed) [garage](https://wiki.openstreetmap.org/wiki/Tag:building%3Dgarage) [garages](https://wiki.openstreetmap.org/wiki/Tag:building%3Dgarages) [yes](https://wiki.openstreetmap.org/wiki/Tag:building%3Dyes) |
|
[addr:housenumber](https://wiki.openstreetmap.org/wiki/Key:addr:housenumber) | [string](../SpecialInputElements.md#string) | [](https://wiki.openstreetmap.org/wiki/Tag:addr:housenumber%3D) |
|
[addr:unit](https://wiki.openstreetmap.org/wiki/Key:addr:unit) | [string](../SpecialInputElements.md#string) | [](https://wiki.openstreetmap.org/wiki/Tag:addr:unit%3D) |
|
[addr:street](https://wiki.openstreetmap.org/wiki/Key:addr:street) | [string](../SpecialInputElements.md#string) | |
|
[fixme](https://wiki.openstreetmap.org/wiki/Key:fixme) | [string](../SpecialInputElements.md#string) | [](https://wiki.openstreetmap.org/wiki/Tag:fixme%3D) |
|
[building:min_level](https://wiki.openstreetmap.org/wiki/Key:building:min_level) | [pnat](../SpecialInputElements.md#pnat) | |
## Featureview elements and TagRenderings
| id | question | labels | freeform key |
-----|-----|-----|----- |
| [building type](#building type) | What kind of building is this?
_The building type is {building}_
9 options | | *[building](https://wiki.osm.org/wiki/Key:building)* ([string](../SpecialInputElements.md#string)) |
| [grb-housenumber](#grb-housenumber) | Wat is het huisnummer?
_Het huisnummer is {addr:housenumber}_
1 options | | *[addr:housenumber](https://wiki.osm.org/wiki/Key:addr:housenumber)* ([string](../SpecialInputElements.md#string)) |
| [grb-unit](#grb-unit) | Wat is de wooneenheid-aanduiding?
_De wooneenheid-aanduiding is {addr:unit} _
1 options | | *[addr:unit](https://wiki.osm.org/wiki/Key:addr:unit)* ([string](../SpecialInputElements.md#string)) |
| [grb-street](#grb-street) | Wat is de straat?
_De straat is {addr:street}_ | | *[addr:street](https://wiki.osm.org/wiki/Key:addr:street)* ([string](../SpecialInputElements.md#string)) |
| [grb-reference](#grb-reference) | _Has been imported from GRB, reference number is {source:geometry:ref}_ | | _Multiple choice only_ |
| [grb-fixme](#grb-fixme) | Wat zegt de fixme?
_De fixme is {fixme}_
1 options | | *[fixme](https://wiki.osm.org/wiki/Key:fixme)* ([string](../SpecialInputElements.md#string)) |
| [grb-min-level](#grb-min-level) | Hoeveel verdiepingen ontbreken?
_Dit gebouw begint maar op de {building:min_level} verdieping_ | | *[building:min_level](https://wiki.osm.org/wiki/Key:building:min_level)* ([pnat](../SpecialInputElements.md#pnat)) |
| [all_tags](#all_tags)
_(Original in [questions](./BuiltinQuestions.md#all_tags))_ | _{all_tags()}_ | | _Multiple choice only_ |
| [leftover-questions](#leftover-questions) | _{questions( ,hidden)}_ | ignore-docs, added_by_default | _Multiple choice only_ |
| [lod](#lod)
_(Original in [questions](./BuiltinQuestions.md#lod))_ | _{linked_data_from_website()}_ | added_by_default | _Multiple choice only_ |
### building type
The question is `What kind of building is this?`
*The building type is {building}* is shown if `building` is set
- *A normal house* is shown if with building=house
- *A house detached from other building* is shown if with building=detached
- *A house sharing only one wall with another house* is shown if with building=semidetached_house
- *An apartment building (highrise building for living)* is shown if with building=apartments
- *An office building - highrise for work* is shown if with building=office
- *A small shed, e.g. in a garden* is shown if with building=shed
- *A single garage to park a car* is shown if with building=garage
- *A building containing only garages; typically they are all identical* is shown if with building=garages
- *A building - no specification* is shown if with building=yes
### grb-housenumber
The question is `Wat is het huisnummer?`
*Het huisnummer is {addr:housenumber}* is shown if `addr:housenumber` is set
- *Geen huisnummer* is shown if with not:addr:housenumber=yes & addr:housenumber=
### grb-unit
The question is `Wat is de wooneenheid-aanduiding?`
*De wooneenheid-aanduiding is {addr:unit} * is shown if `addr:unit` is set
- *Geen wooneenheid-nummer* is shown if with addr:unit=
### grb-street
The question is `Wat is de straat?`
*De straat is {addr:street}* is shown if `addr:street` is set
### grb-reference
_This tagrendering has no question and is thus read-only_
*Has been imported from GRB, reference number is {source:geometry:ref}*
This tagrendering is only visible in the popup if the following condition is met: source:geometry:ref~.+
### grb-fixme
The question is `Wat zegt de fixme?`
*De fixme is {fixme}* is shown if `fixme` is set
- *Geen fixme* is shown if with fixme=
### grb-min-level
The question is `Hoeveel verdiepingen ontbreken?`
*Dit gebouw begint maar op de {building:min_level} verdieping* is shown if `building:min_level` is set
### all_tags
Shows a table with all the tags of the feature
_This tagrendering has no question and is thus read-only_
*{all_tags()}*
### leftover-questions
_This tagrendering has no question and is thus read-only_
*{questions( ,hidden)}*
This tagrendering has labels
`ignore-docs`
`added_by_default`
### lod
_This tagrendering has no question and is thus read-only_
*{linked_data_from_website()}*
This tagrendering has labels
`added_by_default`
## Filters
| id | question | osmTags |
-----|-----|----- |
| has-fixme.0 | Heeft een FIXME | fixme~.+ |
| id | question | osmTags | fields |
-----|-----|-----|----- |
| last-edited-by.0 | Last change made by {username} | | username (regex) |
# grb
Geometry which comes from GRB with tools to import them
- This layer is shown at zoomlevel **17** and higher
-
This layer is loaded from an external source, namely
`https://betadata.byteless.net/grb?bbox={x_min},{y_min},{x_max},{y_max}`
No themes use this layer
## Basic tags for this layer
Elements must match **all** of the following expressions:
0. man_made!=mast
1. osm_id~.+
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22man_made%22!%3D%22mast%22%5D%5B%22osm_id%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
## Supported attributes
## Featureview elements and TagRenderings
| id | question | labels | freeform key |
-----|-----|-----|----- |
| [Import-button](#Import-button) | _{import_way_button(osm_buildings_no_points,building=$building;man_made=$man_made; source:geometry:date=$_grb_date; source:geometry:ref=$_grb_ref; addr:street=$addr:street; addr:housenumber=$addr:housenumber; building:min_level=$_building:min_level, Upload this building to OpenStreetMap,,_is_part_of_building=true,1,_moveable=true)}_
4 options | | _Multiple choice only_ |
| [Building info](#Building info) | _This is a {building} detected by {detection_method}_ | | _Multiple choice only_ |
| [overlapping building address](#overlapping building address) | _The overlapping openstreetmap-building has no address information at all_
4 options | | _Multiple choice only_ |
| [grb_address_diff](#grb_address_diff) | _