2021-12-02 02:54:28 +01:00
|
|
|
|
{
|
|
|
|
|
"id": "grb_fixme",
|
|
|
|
|
"title": {
|
|
|
|
|
"nl": "GRB Fixup"
|
|
|
|
|
},
|
|
|
|
|
"shortDescription": {
|
|
|
|
|
"nl": "Grb Fixup"
|
|
|
|
|
},
|
|
|
|
|
"description": {
|
|
|
|
|
"nl": "Gebouwen met een FIXME - wss GRB-import die gefixed moeten worden"
|
|
|
|
|
},
|
|
|
|
|
"maintainer": "",
|
|
|
|
|
"icon": "./assets/svg/bug.svg",
|
|
|
|
|
"version": "0",
|
|
|
|
|
"startLat": 51.2132,
|
|
|
|
|
"startLon": 3.231,
|
|
|
|
|
"startZoom": 14,
|
|
|
|
|
"widenFactor": 2,
|
|
|
|
|
"clustering": {
|
|
|
|
|
"maxZoom": 15
|
|
|
|
|
},
|
|
|
|
|
"overrideAll": {
|
|
|
|
|
"source": {
|
|
|
|
|
"maxCacheAge": 0
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"layers": [
|
|
|
|
|
{
|
2021-12-30 22:36:34 +01:00
|
|
|
|
"id": "osm-buildings-fixme",
|
2021-12-02 02:54:28 +01:00
|
|
|
|
"name": "OSM-buildings with a fixme",
|
|
|
|
|
"source": {
|
2021-12-02 23:02:37 +01:00
|
|
|
|
"osmTags": {
|
|
|
|
|
"and": [
|
|
|
|
|
"building~*",
|
|
|
|
|
"fixme~*"
|
|
|
|
|
]
|
2021-12-02 02:54:28 +01:00
|
|
|
|
},
|
|
|
|
|
"maxCacheAge": 0
|
|
|
|
|
},
|
|
|
|
|
"calculatedTags": [
|
|
|
|
|
"_grbNumber=(feat.properties.fixme?.match(/GRB thinks that this has number ([0-9a-zA-Z;]+)/) ?? ['','none']) [1]"
|
|
|
|
|
],
|
|
|
|
|
"mapRendering": [
|
|
|
|
|
{
|
|
|
|
|
"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"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"location": [
|
|
|
|
|
"point",
|
|
|
|
|
"centroid"
|
|
|
|
|
],
|
|
|
|
|
"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>"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"iconSize": {
|
|
|
|
|
"render": "40,40,center"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"title": "OSM-gebouw",
|
|
|
|
|
"tagRenderings": [
|
|
|
|
|
{
|
|
|
|
|
"id": "building type",
|
|
|
|
|
"freeform": {
|
|
|
|
|
"key": "building"
|
|
|
|
|
},
|
|
|
|
|
"render": "The building type is <b>{building}</b>",
|
|
|
|
|
"question": {
|
2022-01-06 15:37:57 +01:00
|
|
|
|
"en": "What kind of building is this?",
|
2022-04-28 00:35:08 +02:00
|
|
|
|
"de": "Was ist das für ein Gebäude?",
|
2022-06-19 22:13:38 +02:00
|
|
|
|
"es": "¿Qué tipo de este edificio es este?",
|
2022-06-27 09:16:53 +02:00
|
|
|
|
"nl": "Wat voor soort gebouw is dit?",
|
|
|
|
|
"fr": "De quel type de bâtiment s’agit-il ?",
|
|
|
|
|
"nb_NO": "Hva slags bygning er dette?"
|
2021-12-02 02:54:28 +01:00
|
|
|
|
},
|
|
|
|
|
"mappings": [
|
|
|
|
|
{
|
|
|
|
|
"if": "building=house",
|
|
|
|
|
"then": "A normal house"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": "building=detached",
|
|
|
|
|
"then": "A house detached from other building"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": "building=semidetached_house",
|
|
|
|
|
"then": "A house sharing only one wall with another house"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": "building=apartments",
|
2022-03-17 23:04:00 +01:00
|
|
|
|
"then": "An apartment building (a highrise building for living)"
|
2021-12-02 02:54:28 +01:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": "building=office",
|
|
|
|
|
"then": "An office building - highrise for work"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": "building=shed",
|
|
|
|
|
"then": "A small shed, e.g. in a garden"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": "building=garage",
|
|
|
|
|
"then": "A single garage to park a car"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": "building=garages",
|
|
|
|
|
"then": "A building containing only garages; typically they are all identical"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"if": "building=yes",
|
|
|
|
|
"then": "A building - no specification"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "grb-housenumber",
|
|
|
|
|
"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"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"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"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "grb-unit",
|
|
|
|
|
"question": "Wat is de wooneenheid-aanduiding?",
|
|
|
|
|
"render": {
|
|
|
|
|
"nl": "De wooneenheid-aanduiding is <b>{addr:unit}</b> "
|
|
|
|
|
},
|
|
|
|
|
"freeform": {
|
|
|
|
|
"key": "addr:unit"
|
|
|
|
|
},
|
|
|
|
|
"mappings": [
|
|
|
|
|
{
|
|
|
|
|
"if": "addr:unit=",
|
|
|
|
|
"then": "Geen wooneenheid-nummer"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "grb-street",
|
|
|
|
|
"render": {
|
|
|
|
|
"nl": "De straat is <b>{addr:street}</b>"
|
|
|
|
|
},
|
|
|
|
|
"freeform": {
|
|
|
|
|
"key": "addr:street"
|
|
|
|
|
},
|
|
|
|
|
"question": {
|
|
|
|
|
"nl": "Wat is de straat?"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "grb-fixme",
|
|
|
|
|
"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"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "grb-min-level",
|
|
|
|
|
"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-12-02 03:07:08 +01:00
|
|
|
|
{
|
|
|
|
|
"id": "fix_verdieping",
|
|
|
|
|
"render": "{tag_apply(fixme=;building:min_level=1,De eerste verdieping ontbreekt)}",
|
|
|
|
|
"condition": "fixme=verdieping, correct the building tag, add building:level and building:min_level before upload in JOSM!"
|
|
|
|
|
},
|
2021-12-02 02:54:28 +01:00
|
|
|
|
"all_tags"
|
|
|
|
|
],
|
|
|
|
|
"minzoom": 14
|
|
|
|
|
},
|
|
|
|
|
{
|
2021-12-02 23:02:37 +01:00
|
|
|
|
"builtin": "address",
|
2021-12-02 02:54:28 +01:00
|
|
|
|
"override": {
|
|
|
|
|
"minzoom": 18
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
2021-12-02 23:02:37 +01:00
|
|
|
|
"builtin": "crab_address",
|
2021-12-02 02:54:28 +01:00
|
|
|
|
"override": {
|
|
|
|
|
"minzoom": 18,
|
2021-12-02 23:02:37 +01:00
|
|
|
|
"+tagRenderings": [
|
2021-12-02 02:54:28 +01:00
|
|
|
|
{
|
|
|
|
|
"id": "import-button",
|
|
|
|
|
"render": "{import_button(address, addr:street=$STRAATNM; addr:housenumber=$HUISNR,Import this address)}"
|
2021-12-02 23:02:37 +01:00
|
|
|
|
}
|
|
|
|
|
]
|
2021-12-02 02:54:28 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"hideFromOverview": true,
|
|
|
|
|
"defaultBackgroundId": "AGIVFlandersGRB",
|
|
|
|
|
"overpassMaxZoom": 15,
|
|
|
|
|
"osmApiTileSize": 17
|
|
|
|
|
}
|