2021-03-21 15:12:53 +01:00
|
|
|
{
|
|
|
|
"id": "grb",
|
|
|
|
"title": {
|
|
|
|
"nl": "GRB Fixup"
|
|
|
|
},
|
|
|
|
"shortDescription": {
|
|
|
|
"nl": "Grb Fixup"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"nl": "GRB Fixup"
|
|
|
|
},
|
|
|
|
"language": [
|
|
|
|
"nl"
|
|
|
|
],
|
|
|
|
"maintainer": "",
|
|
|
|
"icon": "./assets/svg/bug.svg",
|
|
|
|
"version": "0",
|
|
|
|
"startLat": 51.2132,
|
|
|
|
"startLon": 3.231,
|
|
|
|
"startZoom": 14,
|
|
|
|
"widenFactor": 0.05,
|
2021-04-17 15:42:22 +02:00
|
|
|
"cacheTimeout": 3600,
|
2021-03-21 15:12:53 +01:00
|
|
|
"socialImage": "",
|
|
|
|
"layers": [
|
|
|
|
{
|
|
|
|
"id": "grb-fixmes",
|
|
|
|
"name": {
|
|
|
|
"nl": "Fixmes op gebouwen"
|
|
|
|
},
|
|
|
|
"minzoom": 12,
|
|
|
|
"source": {
|
|
|
|
"osmTags": {
|
|
|
|
"and": [
|
|
|
|
"fixme~*",
|
|
|
|
"building~*"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2021-04-11 19:21:41 +02:00
|
|
|
"calculatedTags": [
|
|
|
|
"_grbNumber=(feat.properties.fixme?.match(/GRB thinks that this has number ([^;]+)/ ) ?? ['','none']) [1]"
|
|
|
|
],
|
2021-03-21 15:12:53 +01:00
|
|
|
"title": {
|
|
|
|
"render": {
|
|
|
|
"nl": "{addr:street} {addr:housenumber}"
|
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"fixme~*"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
|
|
|
"nl": "{fixme}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"nl": "Dit gebouw heeft een foutmelding"
|
|
|
|
},
|
|
|
|
"tagRenderings": [
|
|
|
|
{
|
|
|
|
"render": {
|
|
|
|
"nl": "Het huisnummer is <b>{addr:housenumber}</b>"
|
|
|
|
},
|
|
|
|
"question": {
|
|
|
|
"nl": "Wat is het huisnummer?"
|
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "addr:housenumber"
|
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"not:addr:housenumber=yes",
|
|
|
|
"addr:housenumber="
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
|
|
|
"nl": "Geen huisnummer"
|
|
|
|
}
|
2021-04-11 19:21:41 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"addr:housenumber:={_grbNumber}",
|
|
|
|
"fixme="
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": "Het huisnummer is <b>{_grbNumber}</b>, wat overeenkomt met het GRB",
|
|
|
|
"hideInAnswer": {
|
|
|
|
"or": [
|
|
|
|
"_grbNumber=",
|
|
|
|
"_grbNumber=none",
|
|
|
|
"_grbNumber=no number"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"addr:housenumber:=",
|
|
|
|
"not:addr:housenumber=yes",
|
|
|
|
"fixme="
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": "Dit gebouw heeft geen nummer, net zoals in het GRB",
|
|
|
|
"hideInAnswer": "_grbNumber!=no number"
|
2021-03-21 15:12:53 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2021-04-11 19:21:41 +02:00
|
|
|
"question": "Wat is de wooneenheid-aanduiding?",
|
2021-03-21 15:12:53 +01:00
|
|
|
"render": {
|
2021-04-11 19:21:41 +02:00
|
|
|
"nl": "De wooneenheid-aanduiding is <b>{addr:unit}</b> "
|
2021-03-21 15:12:53 +01:00
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "addr:unit"
|
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "addr:unit=",
|
|
|
|
"then": "Geen wooneenheid-nummer"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"render": {
|
|
|
|
"nl": "De straat is <b>{addr:street}</b>"
|
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "addr:street"
|
|
|
|
},
|
|
|
|
"question": {
|
|
|
|
"nl": "Wat is de straat?"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"render": {
|
|
|
|
"nl": "De fixme is <b>{fixme}</b>"
|
|
|
|
},
|
|
|
|
"question": {
|
|
|
|
"nl": "Wat zegt de fixme?"
|
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "fixme"
|
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"fixme="
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
|
|
|
"nl": "Geen fixme"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"render": {
|
|
|
|
"nl": "Dit gebouw begint maar op de {building:min_level} verdieping"
|
|
|
|
},
|
|
|
|
"question": {
|
|
|
|
"nl": "Hoeveel verdiepingen ontbreken?"
|
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "building:min_level",
|
|
|
|
"type": "pnat"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2021-04-11 19:21:41 +02:00
|
|
|
"label": {
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "addr:housenumber~*",
|
|
|
|
"then": "<div style='background-color: white; font: large; width: 1.5em; height: 1.5em; border-radius: 100%'>{addr:housenumber}</div>"
|
|
|
|
}
|
|
|
|
]
|
2021-03-21 15:12:53 +01:00
|
|
|
},
|
|
|
|
"width": {
|
|
|
|
"render": "2"
|
|
|
|
},
|
|
|
|
"iconSize": {
|
|
|
|
"render": "40,40,center"
|
|
|
|
},
|
|
|
|
"dashes": "2 2",
|
|
|
|
"color": {
|
|
|
|
"render": "#00f"
|
|
|
|
},
|
2021-04-11 19:21:41 +02:00
|
|
|
"wayHandling": 2,
|
2021-03-21 15:12:53 +01:00
|
|
|
"presets": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"hideFromOverview": true,
|
|
|
|
"roamingRenderings": [],
|
|
|
|
"defaultBackgroundId": "AGIVFlandersGRB"
|
|
|
|
}
|