2022-07-12 23:48:22 +02:00
{
"id" : "bag" ,
"title" : {
2022-10-06 21:35:15 +02:00
"nl" : "BAG import helper" ,
2022-10-27 01:50:01 +02:00
"en" : "BAG import helper" ,
2022-12-23 14:46:05 +01:00
"de" : "BAG-Importhilfe" ,
2022-12-28 00:48:47 +01:00
"fr" : "Facilitateur d'import BAG" ,
2023-01-10 19:34:07 +01:00
"nb_NO" : "BAG-importhjelper" ,
2023-02-26 17:45:29 +01:00
"ca" : "Assistent d'importació del BAG" ,
2024-11-05 14:14:53 +01:00
"es" : "Herramienta de ayuda para la importación de BAG" ,
2023-06-28 22:30:08 +02:00
"cs" : "Pomocník pro import BAG" ,
2023-10-16 13:38:53 +02:00
"zh_Hant" : "BAG 匯入助手" ,
2024-07-21 10:52:51 +02:00
"pl" : "Pomocnik importowy BAG" ,
2024-10-14 21:40:20 +02:00
"zh_Hans" : "BAG 导入助手" ,
"uk" : "Помічник з імпорту BAG"
2022-07-12 23:48:22 +02:00
} ,
"description" : {
2022-10-06 21:35:15 +02:00
"nl" : "Dit thema helpt het importeren van BAG data" ,
2022-10-27 01:50:01 +02:00
"en" : "This theme helps with importing data from BAG" ,
"cs" : "Toto téma pomáhá s importem dat ze systému BAG" ,
2022-12-23 14:46:05 +01:00
"de" : "Dieses Thema hilft beim Importieren von BAG-Daten" ,
2023-01-10 19:34:07 +01:00
"fr" : "Ce thème aide à l'importation de données depuis BAG" ,
2023-01-29 18:02:06 +01:00
"ca" : "Aquest tema ajuda amb la importació de dades del BAG" ,
2023-02-26 17:45:29 +01:00
"zgh" : "ⵉⵜⵜⴰⵡⵙ ⵉⵎⵔⵙⵉ ⴰⴷ ⴳ ⵡⴰⵎⵎⴰⵥ ⵏ ⵜⵎⵓⵛⴰ ⵙⴳ BAG" ,
2023-09-16 18:52:42 +02:00
"es" : "Este tema ayuda a importar datos de BAG" ,
2023-10-16 13:38:53 +02:00
"eu" : "Gai honek BAGeko datuak inportatzen laguntzen du" ,
2024-07-21 10:52:51 +02:00
"pl" : "Motyw ten pomaga w importowaniu danych z BAG" ,
2024-10-14 21:40:20 +02:00
"zh_Hans" : "这个主题帮助导入来自BAG的数据" ,
"uk" : "Ця тема допомагає імпортувати дані з BAG"
2022-07-12 23:48:22 +02:00
} ,
2023-10-30 18:03:18 +01:00
"shortDescription" : {
"nl" : "BAG import helper tool" ,
"en" : "BAG import helper tool" ,
"de" : "BAG-Import-Hilfswerkzeug" ,
"fr" : "Outil de facilitation d'import BAG" ,
"ca" : "Ferramenta d'ajuda per a importar el BAG" ,
2024-11-05 14:14:53 +01:00
"es" : "Herramienta de ayuda para la importación de BAG" ,
2023-10-30 18:03:18 +01:00
"cs" : "Pomocný nástroj pro import BAG" ,
"eu" : "BAGak inportatzen laguntzeko tresna" ,
2024-07-21 10:52:51 +02:00
"pl" : "Narzędzie wspomagające import BAG" ,
2024-10-14 21:40:20 +02:00
"zh_Hans" : "BAG 导入辅助工具" ,
"uk" : "Допоміжний інструмент для імпорту BAG"
2023-10-30 18:03:18 +01:00
} ,
2022-12-02 18:48:56 +01:00
"icon" : "./assets/themes/bag/logo.svg" ,
2023-10-30 18:03:18 +01:00
"startZoom" : 9 ,
2022-07-12 23:48:22 +02:00
"startLat" : 53.1726 ,
"startLon" : 7.04545 ,
2023-10-30 18:03:18 +01:00
"credits" : [
"Wouter van der Wal"
] ,
"hideFromOverview" : true ,
2022-07-12 23:48:22 +02:00
"layers" : [
2022-10-06 14:28:36 +02:00
{
2024-01-23 22:03:02 +01:00
"id" : "osm_buildings" ,
2022-10-06 21:35:15 +02:00
"name" : "OSM Buildings" ,
"title" : "OSM Building" ,
2022-10-10 10:11:03 +02:00
"description" : "Layer showing buildings that are in OpenStreetMap" ,
2022-10-06 14:28:36 +02:00
"source" : {
2024-02-26 15:08:07 +01:00
"osmTags" : "building~*"
2022-10-06 14:28:36 +02:00
} ,
2023-10-09 02:52:22 +02:00
"minzoom" : 18 ,
2024-09-19 17:29:55 +02:00
"isCounted" : false ,
2022-10-06 14:28:36 +02:00
"calculatedTags" : [
2024-10-17 04:06:03 +02:00
"_surface:strict:=get(feat)('_surface')"
2022-10-06 14:28:36 +02:00
] ,
2022-10-06 21:50:12 +02:00
"tagRenderings" : [
{
"id" : "Reference" ,
"render" : {
2022-10-27 01:50:01 +02:00
"en" : "The reference in BAG is <b>{ref:bag}</b>" ,
2022-12-16 13:40:25 +01:00
"de" : "Die Referenz in BAG ist <b>{ref:bag}</b>" ,
2022-12-23 14:46:05 +01:00
"nl" : "De referentie in BAG is <b>{ref:bag}</b>" ,
2023-01-10 19:34:07 +01:00
"fr" : "La référence dans le BAG est <b>{ref:bag}</b>" ,
2023-01-29 18:02:06 +01:00
"ca" : "La referència al BAG és <b>{ref:bag}</b>" ,
2023-02-26 17:45:29 +01:00
"zgh" : "ⵜⴳⴰ ⵜⵙⴰⵖⵓⵍⵜ ⴳ BAG <b>{ref:bag}</b>" ,
2024-11-05 14:14:53 +01:00
"es" : "La referencia en BAG es <b>{ref:bag}</b>" ,
2023-10-16 13:38:53 +02:00
"cs" : "Reference v BAG je <b>{ref:bag}</b>" ,
2024-07-21 10:52:51 +02:00
"pl" : "Numer referencyjny w BAG to <b>{ref:bag}</b>" ,
2024-09-17 03:25:34 +02:00
"zh_Hans" : "在 BAG 中的参考是 <b>{ref:bag}</b>" ,
2024-10-14 21:40:20 +02:00
"fil" : "Ang sanggunian sa BAG ay <b>{ref:bag}</b>" ,
"uk" : "Посилання у BAG має вигляд <b>{ref:bag}</b>"
2022-10-06 21:50:12 +02:00
} ,
"mappings" : [
{
"if" : "ref:bag=" ,
"then" : {
2022-10-27 01:50:01 +02:00
"en" : "This building has no reference in the BAG" ,
"cs" : "Tato budova nemá v BAG žádný odkaz" ,
2022-12-16 13:40:25 +01:00
"de" : "Dieses Gebäude hat keinen Verweis im BAG" ,
2022-12-23 14:46:05 +01:00
"nl" : "Dit gebouw heeft geen referentie in de BAG" ,
2023-01-10 19:34:07 +01:00
"fr" : "Ce bâtiment n'a pas de référence dans le BAG" ,
2023-01-29 18:02:06 +01:00
"ca" : "Aquest edifici no té referència al BAG" ,
2023-02-26 17:45:29 +01:00
"zgh" : "ⵜⵓⵚⴽⴰ ⴰⴷ ⵓⵔ ⵖⵓⵔⵙ ⵜⴰⵙⴰⵖⵓⵍⵜ ⴳ BAG" ,
2023-10-16 13:38:53 +02:00
"es" : "Este edificio no tiene referencia en el BAG" ,
2024-07-21 10:52:51 +02:00
"pl" : "Budynek ten nie ma odniesienia w BAG" ,
2024-09-17 03:25:34 +02:00
"zh_Hans" : "这栋建筑在BAG中没有参考信息" ,
2024-10-14 21:40:20 +02:00
"fil" : "Walang sanggunian ang gusaling ito sa BAG" ,
"uk" : "Ця будівля не має жодної згадки в Базі даних"
2022-10-06 21:50:12 +02:00
}
}
]
} ,
{
2022-10-07 13:29:46 +02:00
"id" : "Building type" ,
2022-10-06 21:50:12 +02:00
"freeform" : {
2022-10-07 13:29:46 +02:00
"key" : "building" ,
"type" : "string" ,
"addExtraTags" : [
"construction="
]
2022-10-06 21:50:12 +02:00
} ,
2022-10-07 13:29:46 +02:00
"render" : "This building is a <b>{building}</b>" ,
"question" : "What kind of building is this?"
2022-10-06 21:50:12 +02:00
}
2023-09-19 14:04:13 +02:00
] ,
2023-11-13 12:46:15 +01:00
"pointRendering" : null ,
2023-09-19 14:04:13 +02:00
"lineRendering" : [
2023-11-13 12:46:15 +01:00
{
"width" : {
"render" : "2" ,
"mappings" : [
{
"if" : "fixme~*" ,
"then" : "5"
}
]
} ,
"color" : {
"render" : "#00c" ,
"mappings" : [
{
"if" : "fixme~*" ,
"then" : "#ff00ff"
} ,
{
"if" : "building=house" ,
"then" : "#a00"
} ,
{
"if" : "building=shed" ,
"then" : "#563e02"
} ,
{
"if" : {
"or" : [
"building=garage" ,
"building=garages"
]
} ,
"then" : "#f9bfbb"
} ,
{
"if" : "building=yes" ,
"then" : "#0774f2"
}
]
}
}
2024-09-02 10:29:01 +02:00
] ,
2024-09-20 15:26:24 +02:00
"allowMove" : false
2022-10-06 14:28:36 +02:00
} ,
2022-10-09 21:39:23 +02:00
{
2024-01-23 22:03:02 +01:00
"id" : "osm_adresses" ,
2022-10-09 21:39:23 +02:00
"name" : "OSM Adresses" ,
"title" : "OSM Adress" ,
2022-10-10 10:11:03 +02:00
"description" : "Layer showing adresses that are in OpenStreetMap" ,
2022-10-09 21:39:23 +02:00
"source" : {
"osmTags" : {
"and" : [
"source=BAG" ,
"addr:city~*" ,
"addr:housenumber~*" ,
"addr:postcode~*" ,
"addr:street~*"
]
2024-02-26 15:08:07 +01:00
}
2022-10-09 21:39:23 +02:00
} ,
2023-10-09 02:52:22 +02:00
"minzoom" : 18 ,
2023-10-11 04:37:19 +02:00
"pointRendering" : [
2022-10-09 21:39:23 +02:00
{
"label" : {
"render" : "<div style='color: black' class='rounded-full p-1 font-bold relative'>{addr:housenumber}</div>" ,
"condition" : "addr:housenumber~*"
} ,
"location" : [
"point" ,
"centroid"
]
2023-10-12 16:55:26 +02:00
}
] ,
"lineRendering" : [
2022-10-09 21:39:23 +02:00
{
"width" : {
"render" : 1
}
}
2024-09-02 10:29:01 +02:00
] ,
2024-09-19 17:29:55 +02:00
"allowMove" : false ,
"isCounted" : false
2022-10-09 21:39:23 +02:00
} ,
2022-07-12 23:48:22 +02:00
{
2024-01-23 22:03:02 +01:00
"id" : "bag_pand" ,
2022-10-06 21:35:15 +02:00
"name" : "BAG Buildings" ,
"title" : "BAG Building" ,
2022-10-06 14:28:36 +02:00
"description" : {
2022-10-27 01:50:01 +02:00
"en" : "Buildings from BAG register" ,
2022-12-16 13:40:25 +01:00
"de" : "Gebäude aus dem BAG-Register" ,
2022-12-23 14:46:05 +01:00
"nl" : "Gebouw uit de BAG" ,
2023-01-10 19:34:07 +01:00
"fr" : "Bâtiments du registre BAG" ,
2023-01-29 18:02:06 +01:00
"ca" : "Edificis del registre BAG" ,
2023-02-26 17:45:29 +01:00
"zgh" : "ⵜⵓⵚⴽⴰⵡⵉⵏ ⵙⴳ ⵡⴰⵔⵔⴰ ⵏ BAG" ,
2023-03-13 20:14:39 +01:00
"es" : "Edificios del registro BAG" ,
2023-09-16 18:52:42 +02:00
"cs" : "Budovy z registru BAG" ,
2024-07-21 10:52:51 +02:00
"pl" : "Budynki z rejestru BAG" ,
2024-09-17 03:25:34 +02:00
"zh_Hans" : "BAG 注册中的建筑物" ,
2024-10-14 21:40:20 +02:00
"fil" : "Mga gusali mula sa rehistro ng BAG" ,
"uk" : "Будівлі з реєстру BAG"
2022-10-06 14:28:36 +02:00
} ,
2022-07-12 23:48:22 +02:00
"source" : {
"geoJson" : "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" ,
"geoJsonZoomLevel" : 18 ,
2024-02-26 15:08:07 +01:00
"osmTags" : "identificatie~*"
2022-07-12 23:48:22 +02:00
} ,
2023-10-09 02:52:22 +02:00
"minzoom" : 18 ,
2022-07-13 12:47:07 +02:00
"calculatedTags" : [
2024-01-23 22:03:02 +01:00
"_overlaps_with_buildings=overlapWith(feat)('osm_buildings').filter(f => f.feat.properties.id.indexOf('-') < 0)" ,
2024-10-17 04:06:03 +02:00
"_overlaps_with=get(feat)('_overlaps_with_buildings').find(f => f.overlap > 1 /* square meter */ )" ,
"_overlaps_with_properties=get(feat)('_overlaps_with')?.feat?.properties" ,
"_overlap_percentage=Math.round(100 * (get(feat)('_overlaps_with')?.overlap / get(feat)('_overlaps_with_properties')['_surface:strict']))" ,
"_reverse_overlap_percentage=Math.round(100 * (get(feat)('_overlaps_with')?.overlap / get(feat)('_surface')))" ,
2022-10-06 15:06:49 +02:00
"_bag_obj:in_construction=feat.properties.status.startsWith('Bouwvergunning verleend') || feat.properties.status.startsWith('Bouw gestart')" ,
"_bag_obj:construction=(feat.properties.gebruiksdoel == 'woonfunctie') ? ((Number(feat.properties.aantal_verblijfsobjecten) == 1) ? 'house' : 'apartments') : 'yes'" ,
"_bag_obj:building=(feat.properties.status.startsWith('Bouwvergunning verleend') || feat.properties.status.startsWith('Bouw gestart')) ? 'construction' : feat.properties['_bag_obj:construction']" ,
"_bag_obj:ref:bag=Number(feat.properties.identificatie)" ,
"_bag_obj:source:date=new Date().toISOString().split('T')[0]" ,
2022-10-06 14:28:36 +02:00
"_bag_obj:start_date=feat.properties.bouwjaar" ,
2024-10-17 04:06:03 +02:00
"_osm_obj:id=get(feat)('_overlaps_with_properties')?.id" ,
"_osm_obj:building=get(feat)('_overlaps_with_properties')?.building" ,
"_imported_osm_object_found:=Number(feat.properties.identificatie)==Number(get(feat)('_overlaps_with_properties')['ref:bag'])"
2022-07-13 12:47:07 +02:00
] ,
2022-10-06 14:28:36 +02:00
"tagRenderings" : [
2022-10-06 15:06:49 +02:00
{
"id" : "Import button" ,
2023-05-30 03:22:21 +02:00
"render" : {
"special" : {
2023-06-01 23:47:45 +02:00
"type" : "import_way_button" ,
2024-01-23 22:03:02 +01:00
"targetLayer" : "osm_buildings" ,
2023-05-30 03:22:21 +02:00
"tags" : "building=$_bag_obj:building; ref:bag=$_bag_obj:ref:bag; source=BAG; source:date=$_bag_obj:source:date; start_date=$_bag_obj:start_date" ,
"text" : {
"*" : "Upload this building to OpenStreetMap"
}
}
2023-06-01 23:47:45 +02:00
} ,
2022-10-06 15:06:49 +02:00
"mappings" : [
2022-10-11 01:28:47 +02:00
{
"#" : "Something went wrong calculating the tags - don't show an import button" ,
"if" : {
"or" : [
"_bag_obj:building=" ,
2022-10-11 01:54:01 +02:00
"_bag_obj:ref:bag="
2022-10-11 01:28:47 +02:00
]
} ,
"then" : {
2022-10-27 01:50:01 +02:00
"en" : "Didn't calculate the correct values yet. Refresh this page" ,
2022-12-16 13:40:25 +01:00
"de" : "Richtige Werte noch nicht berechnet. Aktualisieren Sie diese Seite" ,
2022-12-23 14:46:05 +01:00
"nl" : "Correcte waarden nog niet berekend. Herlaad deze pagina" ,
2023-01-10 19:34:07 +01:00
"fr" : "Les valeurs correctes n'ont pas encore été calculées. Rafraichissez la page" ,
2023-01-29 18:02:06 +01:00
"ca" : "El valors correctes encara no s'ha calculat. Refresca la pàgina" ,
"cs" : "Zatím nebyly vypočteny správné hodnoty. Aktualizujte stránku" ,
2023-02-26 17:45:29 +01:00
"nb_NO" : "Har ikke regnet ut riktige verdier enda. Gjenoppfrisk siden." ,
2024-11-05 14:14:53 +01:00
"es" : "Aún no se calcularon los valores correctos. Actualiza esta página" ,
2024-07-21 10:52:51 +02:00
"pl" : "Jeszcze nie obliczono poprawnych wartości. Odśwież tę stronę" ,
2024-10-14 21:40:20 +02:00
"zh_Hans" : "尚未计算出正确的值。请刷新此页面" ,
"uk" : "Ще не розрахували правильні значення. Оновіть цю сторінку"
2022-10-11 01:28:47 +02:00
}
} ,
2022-10-06 15:06:49 +02:00
{
2022-10-07 13:29:46 +02:00
"if" : "_overlaps_with!=" ,
2024-01-23 22:03:02 +01:00
"then" : "{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)}"
2022-10-06 21:35:15 +02:00
} ,
{
2022-10-11 01:54:01 +02:00
"if" : {
2022-10-27 01:50:01 +02:00
"and" : [
2022-10-11 01:54:01 +02:00
"_bag_obj:building~*" ,
"_bag_obj:ref:bag~*" ,
2022-10-27 01:50:01 +02:00
"_bag_obj:in_construction=true"
]
2022-10-11 01:54:01 +02:00
} ,
2024-01-23 22:03:02 +01:00
"then" : "{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)}"
2022-10-06 15:06:49 +02:00
}
]
} ,
2022-10-06 21:35:15 +02:00
{
"id" : "Reference" ,
"render" : {
2022-10-27 01:50:01 +02:00
"en" : "The reference in BAG is <b>{_bag_obj:ref:bag}</b>" ,
2022-12-16 13:40:25 +01:00
"de" : "Die Referenz in BAG ist <b>{_bag_obj:ref:bag}</b>" ,
2022-12-23 14:46:05 +01:00
"nl" : "De referentie in BAG is <b>{_bag_obj:ref:bag}</b>" ,
2023-01-10 19:34:07 +01:00
"fr" : "La référence dans BAG est <b>{_bag_obj:ref:bag}</b>" ,
2023-02-26 17:45:29 +01:00
"ca" : "La referència a BAG és <b>{_bag_obj:ref:bag}</b>" ,
2023-03-13 20:14:39 +01:00
"es" : "La referencia en BAG es <b>{_bag_obj:ref:bag}</b>" ,
2023-10-16 13:38:53 +02:00
"cs" : "Reference v BAG je <b>{_bag_obj:ref:bag}</b>" ,
2024-07-21 10:52:51 +02:00
"pl" : "Odniesienie w BAG to <b>{_bag_obj:ref:bag}</b>" ,
2024-09-17 03:25:34 +02:00
"zh_Hans" : "在 BAG 中的参考文献是 <b>{_bag_obj:ref:bag}</b>" ,
2024-10-14 21:40:20 +02:00
"fil" : "Ang sanggunian sa BAG ay <b>{_bag_obj:ref:bag}</b>" ,
"uk" : "Посилання у BAG має вигляд <b>{_bag_obj:ref:bag}</b>"
2022-10-06 21:35:15 +02:00
}
} ,
2022-10-06 14:28:36 +02:00
{
"id" : "Build year" ,
"render" : {
2022-10-27 01:50:01 +02:00
"en" : "This building was built in <b>{_bag_obj:start_date}</b>" ,
2022-11-14 01:28:41 +01:00
"de" : "Dieses Gebäude wurde gebaut in <b>{_bag_obj:start_date}</b>" ,
2022-12-16 13:40:25 +01:00
"pt_BR" : "Esta construção é de <b>{_bag_obj:start_date}</b>" ,
2022-12-23 14:46:05 +01:00
"nl" : "Dit gebouw is gebouwd in <b>{_bag_obj:start_date}</b>" ,
2023-01-10 19:34:07 +01:00
"fr" : "Le bâtiment a été construit en <b>{_bag_obj:start_date}</b>" ,
"ca" : "L’ edifici va ser construït al <b> {_bag_obj:start_date}4</b>" ,
2024-11-05 14:14:53 +01:00
"es" : "Este edificio se construyó en <b>{_bag_obj:start_date}</b>" ,
2023-01-29 18:02:06 +01:00
"cs" : "Tato budova byla postavena v <b>{_bag_obj:start_date}</b>" ,
2023-09-16 18:52:42 +02:00
"nb_NO" : "Bygning oppført <b>{_bag_obj:start_date}</b>" ,
2023-12-19 22:08:00 +01:00
"pl" : "Ten budynek zbudowano w <b>{_bag_obj:start_date}</b>" ,
2024-07-21 10:52:51 +02:00
"pt" : "Esta construção é de <b>{_bag_obj:start_date}</b>" ,
2024-09-17 03:25:34 +02:00
"zh_Hans" : "这座建筑建于 <b>{_bag_obj:start_date}</b>" ,
2024-10-14 21:40:20 +02:00
"fil" : "Ang gusaling ito ay itinayo noong <b>{_bag_obj:start_date}</b>" ,
"uk" : "Ця будівля була побудована у <b>{_bag_obj:start_date}</b>"
2022-10-06 21:35:15 +02:00
} ,
"mappings" : [
{
"if" : "_bag_obj:in_construction=true" ,
"then" : {
2022-10-27 01:50:01 +02:00
"en" : "The building was started in <b>{_bag_obj:start_date}</b>" ,
2022-12-16 13:40:25 +01:00
"de" : "Der Bau wurde in <b>{_bag_obj:start_date}</b> begonnen" ,
2022-12-23 14:46:05 +01:00
"nl" : "De bouw van dit gebouw is gestart in <b>{_bag_obj:start_date}</b>" ,
2023-01-10 19:34:07 +01:00
"fr" : "Le bâtiment a été commencé en <b>{_bag_obj:start_date}</b>" ,
2023-01-29 18:02:06 +01:00
"ca" : "L’ edifici es va començar al <b> {_bag_obj:start_date}</b>" ,
"cs" : "Stavba byla zahájena v <b>{_bag_obj:start_date}</b>" ,
2023-02-26 17:45:29 +01:00
"nb_NO" : "Oppføring startet <b>{_bag_obj:start_date}</b>" ,
2024-11-05 14:14:53 +01:00
"es" : "La construcción del edificio comenzó en <b>{_bag_obj:start_date}</b>" ,
2024-07-21 10:52:51 +02:00
"pl" : "Budynek został zbudowany w <b>{_bag_obj:start_date}</b>" ,
2024-09-17 03:25:34 +02:00
"zh_Hans" : "该建筑始建于 <b>{_bag_obj:start_date}</b>" ,
2024-10-14 21:40:20 +02:00
"fil" : "Sinimulan ang gusali noong <b>{_bag_obj:start_date}</b>" ,
"uk" : "Будівництво було розпочато у <b>{_bag_obj:start_date}</b>"
2022-10-06 21:35:15 +02:00
}
}
]
2022-10-06 14:28:36 +02:00
} ,
{
"id" : "Building type" ,
"render" : {
2022-10-27 01:50:01 +02:00
"en" : "The building type is a <b>{_bag_obj:building}</b>" ,
2022-12-16 13:40:25 +01:00
"de" : "Der Gebäudetyp ist ein <b>{_bag_obj:building}</b>" ,
2022-12-23 14:46:05 +01:00
"nl" : "Het gebouwtype is <b>{_bag_obj:building}</b>" ,
2023-01-10 19:34:07 +01:00
"fr" : "Le type de bâtiment est <b>{_bag_obj:building}</b>" ,
2023-01-29 18:02:06 +01:00
"ca" : "El tipus d'edifici és <b>{_bag_obj:building}</b>" ,
"cs" : "Typ budovy je <b>{_bag_obj:building}.</b>" ,
2023-02-26 17:45:29 +01:00
"nb_NO" : "Dette er en bygning av typen <b>{_bag_obj:building}</b>" ,
2024-11-05 14:14:53 +01:00
"es" : "El tipo de edificio es un <b>{_bag_obj:building}</b>" ,
2024-07-21 10:52:51 +02:00
"pl" : "Rodzaj budynku to <b>{_bag_obj:building}</b>" ,
2024-09-17 03:25:34 +02:00
"zh_Hans" : "建筑类型是 <b>{_bag_obj:building}</b>" ,
2024-10-14 21:40:20 +02:00
"fil" : "Ang uri ng gusali ay <b>{_bag_obj:building}</b>" ,
"uk" : "Тип будівлі - <b>{_bag_obj:building}</b>"
2022-10-06 21:35:15 +02:00
} ,
"mappings" : [
{
"if" : "_bag_obj:in_construction=true" ,
"then" : {
2022-10-27 01:50:01 +02:00
"en" : "The building type will be a <b>{_bag_obj:construction}</b>" ,
2022-12-16 13:40:25 +01:00
"de" : "Der Gebäudetyp ist ein <b>{_bag_obj:construction}</b>" ,
2022-12-23 14:46:05 +01:00
"nl" : "Het gebouwtype wordt <b>{_bag_obj:construction}</b>" ,
2023-01-10 19:34:07 +01:00
"fr" : "Le type de bâtiment sera <b>{_bag_obj:construction}</b>" ,
2023-01-29 18:02:06 +01:00
"ca" : "El tipus d'edifici serà <b>{_bag_obj:construction}</b>" ,
2023-02-26 17:45:29 +01:00
"cs" : "Typ budovy bude <b>{_bag_obj:construction}</b>" ,
2023-10-16 13:38:53 +02:00
"es" : "El tipo de edificio será un <b>{_bag_obj:construction}</b>" ,
2024-07-21 10:52:51 +02:00
"pl" : "Budynek będzie o typie <b>{_bag_obj:construction}</b>" ,
2024-09-17 03:25:34 +02:00
"zh_Hans" : "建筑类型将是 <b>{_bag_obj:construction}</b>" ,
2024-10-14 21:40:20 +02:00
"fil" : "Ang uri ng gusali ay magiging <b>{_bag_obj:construction}</b>" ,
"uk" : "Типом будівлі буде <b>{_bag_obj:construction}</b>"
2022-10-06 21:35:15 +02:00
}
}
]
2022-10-06 14:28:36 +02:00
} ,
{
"id" : "Overlapping building" ,
2024-01-23 22:03:02 +01:00
"render" : "<div>The overlapping <a href=https://osm.org/{_osm_obj:id} target=_blank>osm_buildings</a> is a <b>{_osm_obj:building}</b> and covers <b>{_overlap_percentage}%</b> of the BAG building.<br>The BAG-building covers <b>{_reverse_overlap_percentage}%</b> of the OSM building<div><h3>BAG geometry:</h3>{minimap(21, id):height:10rem;border-radius:1rem;overflow:hidden}<h3>OSM geometry:</h3>{minimap(21,_osm_obj:id):height:10rem;border-radius:1rem;overflow:hidden}</div></div>" ,
2022-10-06 14:28:36 +02:00
"condition" : "_overlaps_with!="
2022-10-09 21:39:23 +02:00
} ,
{
"id" : "Building status" ,
"render" : "The current building status is <b>{status}</b>"
} ,
{
"id" : "Buidling function" ,
"render" : "The current function of the building is <b>{gebruiksdoel}</b>"
2022-07-12 23:48:22 +02:00
}
2023-09-19 14:04:13 +02:00
] ,
2023-10-12 16:55:26 +02:00
"pointRendering" : [
{
"label" : {
"render" : "<div style='color: black' class='rounded-full p-1 font-bold relative'>{_bag_obj:addr:housenumber}</div>" ,
"mappings" : [
{
"if" : "_imported_osm_object_found=true" ,
"then" : "<div style='color: #107c10' class='rounded-full p-1 font-bold relative'>{_bag_obj:addr:housenumber}</div>"
}
]
} ,
"location" : [
"point" ,
"centroid"
]
}
] ,
2023-09-19 14:04:13 +02:00
"lineRendering" : [
2023-10-12 16:55:26 +02:00
{
"width" : {
"render" : 1
}
}
2024-09-02 10:29:01 +02:00
] ,
"allowMove" : false
2022-07-12 23:48:22 +02:00
} ,
{
2024-01-23 22:03:02 +01:00
"id" : "bag_verblijfsobject" ,
2022-10-09 21:39:23 +02:00
"name" : "BAG Addresses" ,
"title" : "BAG Address" ,
2022-10-10 10:11:03 +02:00
"description" : "Address information from the BAG register" ,
2022-07-12 23:48:22 +02:00
"source" : {
"geoJson" : "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" ,
2022-07-14 11:10:11 +02:00
"geoJsonZoomLevel" : 19 ,
2024-02-26 15:08:07 +01:00
"osmTags" : "identificatie~*"
2022-07-12 23:48:22 +02:00
} ,
2023-10-09 02:52:22 +02:00
"minzoom" : 18 ,
2022-07-14 11:10:11 +02:00
"calculatedTags" : [
2024-01-23 22:03:02 +01:00
"_closed_osm_addr:=closest(feat)('osm_adresses').properties" ,
2022-10-09 21:39:23 +02:00
"_bag_obj:addr:housenumber=`${feat.properties.huisnummer}${feat.properties.huisletter}${(feat.properties.toevoeging != '') ? '-' : ''}${feat.properties.toevoeging}`" ,
"_bag_obj:ref:bag=Number(feat.properties.identificatie)" ,
"_bag_obj:source:date=new Date().toISOString().split('T')[0]" ,
2024-10-17 04:06:03 +02:00
"_osm_obj:addr:city:=get(feat)('_closed_osm_addr')['addr:city']" ,
"_osm_obj:addr:housenumber:=get(feat)('_closed_osm_addr')['addr:housenumber']" ,
"_osm_obj:addr:postcode:=get(feat)('_closed_osm_addr')['addr:postcode']" ,
"_osm_obj:addr:street:=get(feat)('_closed_osm_addr')['addr:street']" ,
"_imported_osm_object_found:=(feat.properties.woonplaats==get(feat)('_closed_osm_addr')['addr:city'])&&(get(feat)('_bag_obj:addr:housenumber')==get(feat)('_closed_osm_addr')['addr:housenumber'])&&(feat.properties.postcode==get(feat)('_closed_osm_addr')['addr:postcode'])&&(feat.properties.openbare_ruimte==get(feat)('_closed_osm_addr')['addr:street'])"
2022-07-14 11:10:11 +02:00
] ,
2022-10-06 14:28:36 +02:00
"tagRenderings" : [
2022-10-09 21:39:23 +02:00
{
"id" : "Import button" ,
2024-01-23 22:03:02 +01:00
"render" : "{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)}" ,
2022-10-09 21:39:23 +02:00
"condition" : "_imported_osm_object_found=false"
} ,
2022-10-06 14:28:36 +02:00
{
2022-10-10 10:11:03 +02:00
"id" : "Address" ,
2022-10-09 21:39:23 +02:00
"render" : "{openbare_ruimte} {_bag_obj:addr:housenumber}, {woonplaats} {postcode}"
2022-10-06 14:28:36 +02:00
}
2023-09-19 14:04:13 +02:00
] ,
2023-10-12 16:55:26 +02:00
"pointRendering" : [
{
"label" : {
"render" : "<div style='color: black' class='rounded-full p-1 font-bold relative'>{_bag_obj:addr:housenumber}</div>" ,
"mappings" : [
{
"if" : "_imported_osm_object_found=true" ,
"then" : "<div style='color: #107c10' class='rounded-full p-1 font-bold relative'>{_bag_obj:addr:housenumber}</div>"
}
]
} ,
"location" : [
"point" ,
"centroid"
]
}
] ,
2023-09-19 14:04:13 +02:00
"lineRendering" : [
2023-10-12 16:55:26 +02:00
{
"width" : {
"render" : 1
}
}
2024-09-02 10:29:01 +02:00
] ,
"allowMove" : false
2022-07-12 23:48:22 +02:00
}
2023-10-30 18:03:18 +01:00
]
2023-10-09 02:52:22 +02:00
}