{ "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": 2, "socialImage": "", "layers": [ { "id": "osm-fixmes", "name": { "nl": "Fixmes op gebouwen" }, "minzoom": 12, "source": { "maxCacheAge": 0, "osmTags": { "and": [ "fixme~*", "building~*" ] } }, "calculatedTags": [ "_grbNumber=(feat.properties.fixme?.match(/GRB thinks that this has number ([^;]+)/ ) ?? ['','none']) [1]" ], "title": { "render": { "nl": "{addr:street} {addr:housenumber}" }, "mappings": [ { "if": { "and": [ "fixme~*" ] }, "then": { "nl": "{fixme}" } } ] }, "description": { "nl": "Dit gebouw heeft een foutmelding" }, "tagRenderings": [ { "id": "grb-housenumber", "render": { "nl": "Het huisnummer is {addr:housenumber}" }, "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 {_grbNumber}, 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 {addr:unit} " }, "freeform": { "key": "addr:unit" }, "mappings": [ { "if": "addr:unit=", "then": "Geen wooneenheid-nummer" } ] }, { "id": "grb-street", "render": { "nl": "De straat is {addr:street}" }, "freeform": { "key": "addr:street" }, "question": { "nl": "Wat is de straat?" } }, { "id": "grb-fixme", "render": { "nl": "De fixme is {fixme}" }, "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" } } ], "label": { "mappings": [ { "if": "addr:housenumber~*", "then": "
{addr:housenumber}
" } ] }, "width": { "render": "2" }, "iconSize": { "render": "40,40,center" }, "dashes": "2 2", "color": { "render": "#00f" }, "wayHandling": 2, "presets": [] }, { "id": "crab-addresses 2021-10-26", "source": { "osmTags": "HUISNR~*", "geoJson": "https://raw.githubusercontent.com/pietervdvn/pietervdvn.github.io/master/CRAB_2021_10_26/tile_{z}_{x}_{y}.geojson", "#geoJson": "https://pietervdvn.github.io/CRAB_2021_10_26/tile_{z}_{x}_{y}.geojson", "geoJsonZoomLevel": 18, "maxCacheAge": 0 }, "minzoom": 19, "name": "CRAB-addressen", "title": "CRAB-adres", "icon": "circle:#bb3322", "iconSize": "15,15,center", "tagRenderings": [ "all_tags", { "id": "import-button", "render": "{import_button(addr:street=$STRAATNM; addr:housenumber=$HUISNR)}" } ] }, { "id": "GRB", "source": { "geoJson": "https://betadata.grbosm.site/grb?bbox={x_min},{y_min},{x_max},{y_max}", "geoJsonZoomLevel": 18, "mercatorCrs": true, "maxCacheAge": 0 }, "name": "GRB geometries", "title": "GRB outline", "minzoom": 19, "tagRenderings": [ "all_tags" ] } ], "hideFromOverview": true, "defaultBackgroundId": "AGIVFlandersGRB" }