13 KiB
BAG import helper ( 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_adresses (defined in this theme)
- bag_pand (defined in this theme)
- bag_verblijfsobject (defined in this theme)
Available languages:
- nl
- en
- de
- fr
- nb_NO
- ca
- es
- cs
- zh_Hant
- pl
Table of contents
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~.+
Supported attributes
Warning:,this quick overview is incomplete,
attribute | type | values which are supported by this layer |
---|---|---|
ref:bag | Multiple choice | |
building | 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:
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~.+
Supported attributes
Warning:,this quick overview is incomplete,
attribute | type | values which are supported by this layer |
---|---|---|
_bag_obj:in_construction | Multiple choice | true |
_bag_obj:in_construction | Multiple choice | true |
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
The BAG-building covers {_reverse_overlap_percentage}% of the OSM building
BAG geometry:
{minimap(21, id):height:10rem;border-radius:1rem;overflow:hidden}OSM geometry:
{minimap(21,_osm_obj:id):height:10rem;border-radius:1rem;overflow:hidden}This tagrendering is only visible in the popup if the following condition is met: _overlaps_with~.+
Building status
This tagrendering has no question and is thus read-only The current building status is {status}
Buidling function
This tagrendering has no question and is thus read-only The current function of the building is {gebruiksdoel}
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
bag_verblijfsobject
Address information from the 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%3Averblijfsobject&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~.+
Supported attributes
Import button
This tagrendering has no question and is thus read-only {import_button(osm_adresses, addr:city=$woonplaats; addr:housenumber=$_bag_obj:addr:housenumber; addr:postcode=$postcode; addr:street=$openbare_ruimte; ref:bag=$_bag_obj:ref:bag; source=BAG; source:date=$_bag_obj:source:date, Upload this adress to OpenStreetMap)}
This tagrendering is only visible in the popup if the following condition is met: _imported_osm_object_found=false
Address
This tagrendering has no question and is thus read-only {openbare_ruimte} {_bag_obj:addr:housenumber}, {woonplaats} {postcode}
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
This document is autogenerated from assets/themes/bag/bag.json