mapcomplete/Docs/Layers/grb.md

98 lines
3.7 KiB
Markdown
Raw Normal View History

2022-01-26 21:40:38 +01:00
grb
2022-01-14 19:36:36 +01:00
=====
<img src='https://mapcomplete.osm.be/./assets/themes/grb_import/housenumber_blank.svg' height="100px">
Geometry which comes from GRB with tools to import them
## Table of contents
1. [grb](#grb)
2022-01-26 21:40:38 +01:00
- [Basic tags for this layer](#basic-tags-for-this-layer)
- [Supported attributes](#supported-attributes)
2022-01-14 19:36:36 +01:00
+ [Import-button](#import-button)
+ [Building info](#building-info)
+ [overlapping building address](#overlapping-building-address)
+ [grb_address_diff](#grb_address_diff)
+ [overlapping building type](#overlapping-building-type)
+ [apply-id](#apply-id)
+ [apply-building-type](#apply-building-type)
2022-01-26 21:40:38 +01:00
- <img src='../warning.svg' height='1rem'/> This layer is loaded from an external source, namely `https://betadata.grbosm.site/grb?bbox={x_min},{y_min},{x_max},{y_max}`
- This layer will automatically load [osm-buildings](./osm-buildings.md) into the layout as it depends on it: a
tagrendering needs this layer (Import-button)
- This layer will automatically load [type_node](./type_node.md) into the layout as it depends on it: a tagrendering
needs this layer (Import-button)
- This layer will automatically load [osm-buildings](./osm-buildings.md) into the layout as it depends on it: A
calculated tag loads features from this layer (calculatedTag[0] which calculates the value for _
overlaps_with_buildings)
- This layer will automatically load [generic_osm_object](./generic_osm_object.md) into the layout as it depends on
it: A calculated tag loads features from this layer (calculatedTag[18] which calculates the value for _
intersects_with_other_features)
2022-01-14 19:36:36 +01:00
[Go to the source code](../assets/layers/grb/grb.json)
2022-01-26 21:40:38 +01:00
Basic tags for this layer
2022-01-14 19:36:36 +01:00
---------------------------
Elements must have the all of following tags to be shown on this layer:
2022-01-26 21:40:38 +01:00
- HUISNR~^..*$
- man_made!~^mast$
2022-01-14 19:36:36 +01:00
2022-01-26 21:40:38 +01:00
Supported attributes
2022-01-14 19:36:36 +01:00
----------------------
2022-01-26 21:40:38 +01:00
### Import-button
2022-01-14 19:36:36 +01:00
_This tagrendering has no question and is thus read-only_
2022-01-26 21:40:38 +01:00
- **{conflate_button(osm-buildings,building=$_target_building_type; source:geometry:date=$_grb_date; source:geometry:
ref=$_grb_ref; addr:street=$addr:street; addr:housenumber=$addr:housenumber, Replace the geometry in OpenStreetMap and
add the address,,_osm_obj:id)}** corresponds with _overlap_percentage>50&_reverse_overlap_percentage>50&_
overlaps_with!~^$&addr:street~^..*$&addr:housenumber~^..*$&addr:street!=&addr:housenumber!=
- **{conflate_button(osm-buildings,building=$_target_building_type; source:geometry:date=$_grb_date; source:geometry:
ref=$_grb_ref, Replace the geometry in OpenStreetMap,,_osm_obj:id)}** corresponds with _overlap_percentage>50&_
reverse_overlap_percentage>50&_overlaps_with!~^$
2022-01-14 19:36:36 +01:00
2022-01-26 21:40:38 +01:00
### Building info
2022-01-14 19:36:36 +01:00
_This tagrendering has no question and is thus read-only_
2022-01-26 21:40:38 +01:00
### overlapping building address
2022-01-14 19:36:36 +01:00
_This tagrendering has no question and is thus read-only_
2022-01-26 21:40:38 +01:00
- **The overlapping openstreetmap-building has address {_osm_obj:addr:street} {_osm_obj:addr:housenumber}** corresponds
with _osm_obj:addr:street~^..*$&_osm_obj:addr:housenumber~^..*$
- **The overlapping building only has a street known: {_osm_obj:addr:street}** corresponds with _osm_obj:addr:street~
^..*$
- **The overlapping building only has a housenumber known: {_osm_obj:addr:housenumber}** corresponds with _osm_obj:addr:
housenumber~^..*$
- **No overlapping OpenStreetMap-building found** corresponds with
2022-01-14 19:36:36 +01:00
2022-01-26 21:40:38 +01:00
### grb_address_diff
2022-01-14 19:36:36 +01:00
_This tagrendering has no question and is thus read-only_
2022-01-26 21:40:38 +01:00
### overlapping building type
2022-01-14 19:36:36 +01:00
_This tagrendering has no question and is thus read-only_
2022-01-26 21:40:38 +01:00
### apply-id
2022-01-14 19:36:36 +01:00
_This tagrendering has no question and is thus read-only_
2022-01-26 21:40:38 +01:00
### apply-building-type
2022-01-14 19:36:36 +01:00
_This tagrendering has no question and is thus read-only_
This document is autogenerated from assets/layers/grb/grb.json