Studio: WIP

This commit is contained in:
Pieter Vander Vennet 2023-09-19 14:04:13 +02:00
parent 3549a10a15
commit dc82ebbd58
165 changed files with 2588 additions and 3294 deletions

View file

@ -46,4 +46,4 @@
"layers": [
"advertising"
]
}
}

View file

@ -172,4 +172,4 @@
}
}
]
}
}

View file

@ -51,49 +51,6 @@
"calculatedTags": [
"_surface:strict:=feat(get)('_surface')"
],
"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"
}
]
}
}
],
"tagRenderings": [
{
"id": "Reference",
@ -135,6 +92,10 @@
"render": "This building is a <b>{building}</b>",
"question": "What kind of building is this?"
}
],
"pointRendering": [],
"lineRendering": [
{}
]
},
{
@ -155,22 +116,9 @@
"maxCacheAge": 0
},
"minzoom": 19,
"mapRendering": [
{
"label": {
"render": "<div style='color: black' class='rounded-full p-1 font-bold relative'>{addr:housenumber}</div>",
"condition": "addr:housenumber~*"
},
"location": [
"point",
"centroid"
]
},
{
"width": {
"render": 1
}
}
"pointRendering": [],
"lineRendering": [
{}
]
},
{
@ -211,28 +159,6 @@
"_osm_obj:building=feat(get)('_overlaps_with_properties')?.building",
"_imported_osm_object_found:=Number(feat.properties.identificatie)==Number(feat(get)('_overlaps_with_properties')['ref:bag'])"
],
"mapRendering": [
{
"width": {
"render": 5,
"mappings": [
{
"if": "_imported_osm_object_found=true",
"then": "1"
}
]
},
"color": {
"render": "#00a",
"mappings": [
{
"if": "_imported_osm_object_found=true",
"then": "#0f0"
}
]
}
}
],
"tagRenderings": [
{
"id": "Import button",
@ -366,6 +292,10 @@
"id": "Buidling function",
"render": "The current function of the building is <b>{gebruiksdoel}</b>"
}
],
"pointRendering": [],
"lineRendering": [
{}
]
},
{
@ -391,28 +321,6 @@
"_osm_obj:addr:street:=feat(get)('_closed_osm_addr')['addr:street']",
"_imported_osm_object_found:=(feat.properties.woonplaats==feat(get)('_closed_osm_addr')['addr:city'])&&(feat(get)('_bag_obj:addr:housenumber')==feat(get)('_closed_osm_addr')['addr:housenumber'])&&(feat.properties.postcode==feat(get)('_closed_osm_addr')['addr:postcode'])&&(feat.properties.openbare_ruimte==feat(get)('_closed_osm_addr')['addr:street'])"
],
"mapRendering": [
{
"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"
]
},
{
"width": {
"render": 1
}
}
],
"tagRenderings": [
{
"id": "Import button",
@ -423,6 +331,10 @@
"id": "Address",
"render": "{openbare_ruimte} {_bag_obj:addr:housenumber}, {woonplaats} {postcode}"
}
],
"pointRendering": [],
"lineRendering": [
{}
]
}
],

View file

@ -89,45 +89,9 @@
}
}
],
"mapRendering": [
{
"icon": "circle:#ffffff;./assets/themes/buurtnatuur/nature_reserve.svg",
"iconSize": "50,50",
"location": [
"point"
],
"anchor": "center"
},
{
"color": {
"render": "#3c3",
"mappings": [
{
"if": {
"and": [
"name=",
"noname=",
"operator=",
"access=",
"access:description=",
"leisure=park"
]
},
"then": "#cc1100"
},
{
"if": {
"and": [
"name=",
"noname="
]
},
"then": "#fccb37"
}
]
},
"width": "5"
}
"pointRendering": [],
"lineRendering": [
{}
]
},
{
@ -196,32 +160,9 @@
}
}
],
"mapRendering": [
{
"icon": "circle:#ffffff;./assets/themes/buurtnatuur/park.svg",
"iconSize": "40,40",
"location": [
"point"
],
"anchor": "center"
},
{
"color": {
"render": "#3c3",
"mappings": [
{
"if": {
"and": [
"name=",
"noname="
]
},
"then": "#fccb37"
}
]
},
"width": "5"
}
"pointRendering": [],
"lineRendering": [
{}
]
},
{
@ -291,50 +232,9 @@
}
}
],
"mapRendering": [
{
"icon": "circle:#ffffff;./assets/themes/buurtnatuur/forest.svg",
"iconSize": "40,40",
"location": [
"point"
],
"anchor": "center"
},
{
"color": {
"render": "#3a3",
"mappings": [
{
"if": {
"and": [
"operator=",
"access=",
"access:description="
]
},
"then": "#cc1100"
},
{
"if": {
"and": [
"operator="
]
},
"then": "#cccc00"
},
{
"if": {
"and": [
"name=",
"noname="
]
},
"then": "#fccb37"
}
]
},
"width": "5"
}
"pointRendering": [],
"lineRendering": [
{}
]
},
"viewpoint"

View file

@ -887,32 +887,9 @@
}
}
],
"mapRendering": [
{
"icon": {
"render": "circle:white;./assets/themes/campersite/caravan.svg",
"mappings": [
{
"if": {
"and": [
"fee=no"
]
},
"then": "circle:white;./assets/themes/campersite/caravan_green.svg"
}
]
},
"iconSize": "40,40",
"location": [
"point",
"centroid"
],
"anchor": "center"
},
{
"color": "#00f",
"width": "8"
}
"pointRendering": [],
"lineRendering": [
{}
]
},
{
@ -1486,19 +1463,9 @@
}
}
],
"mapRendering": [
{
"icon": "circle:white;./assets/themes/campersite/sanitary_dump_station.svg",
"iconSize": "32,32",
"location": [
"point"
],
"anchor": "center"
},
{
"color": "#00f",
"width": "8"
}
"pointRendering": [],
"lineRendering": [
{}
]
}
],
@ -1607,4 +1574,4 @@
]
},
"credits": "joost schouppe"
}
}

View file

@ -461,7 +461,8 @@
]
}
},
"drinking_water", "toilet"
"drinking_water",
"toilet"
],
"credits": "Christian Neumann <christian@utopicode.de>"
}
}

View file

@ -228,40 +228,9 @@
]
}
],
"mapRendering": [
{
"color": {
"render": "#ff7392",
"mappings": [
{
"if": "state=",
"then": "#00acfc"
},
{
"if": "state=temporary",
"then": "#00acfc"
}
]
},
"width": "4",
"dashArray": {
"render": "",
"mappings": [
{
"if": "state=temporary",
"then": "12 10"
},
{
"if": "note:state=has_highway_no",
"then": "0 8"
},
{
"if": "note:state=has_highway_under_construction",
"then": "12 10"
}
]
}
}
"pointRendering": [],
"lineRendering": [
{}
]
}
],

View file

@ -77,12 +77,6 @@
}
]
},
"mapRendering": [
{
"width": "4",
"color": "#00a703"
}
],
"tagRenderings": [
{
"question": {
@ -116,6 +110,10 @@
"id": "node2node-survey:date"
},
"export_as_gpx"
],
"pointRendering": [],
"lineRendering": [
{}
]
},
{
@ -139,26 +137,6 @@
]
}
},
"mapRendering": [
{
"location": [
"point",
"centroid"
],
"label": {
"mappings": [
{
"if": "rcn_ref~*",
"then": "<div style='position: absolute; top: 10px; right: 10px; color: white; background-color: #00a703; width: 20px; height: 20px; border-radius: 100%'>{rcn_ref}</div>"
},
{
"if": "rcn_ref=",
"then": "<div style='position: absolute; top: 10px; right: 10px; color: white; background-color: #00a703; width: 20px; height: 20px; border-radius: 100%'>?</div>"
}
]
}
}
],
"minzoom": 12,
"title": {
"render": {
@ -230,6 +208,10 @@
"id": "node-expected_rcn_route_relations"
},
"images"
],
"pointRendering": [],
"lineRendering": [
{}
]
}
],

View file

@ -103,68 +103,9 @@
"tagRenderings": [
"images"
],
"mapRendering": [
{
"icon": {
"render": "./assets/themes/cyclestreets/F111.svg",
"mappings": [
{
"if": "traffic_sign=DE:244.1,1020-30",
"then": "./assets/themes/cyclestreets/Zeichen_244_1020-30.svg"
},
{
"if": "traffic_sign=DE:244.1,1022-12,1024-10",
"then": "./assets/themes/cyclestreets/Zeichen_244_KFZ_frei.svg"
},
{
"if": "traffic_sign=DE:244.1,1022-12",
"then": "./assets/themes/cyclestreets/Zeichen_244_1022-12.svg"
},
{
"if": "traffic_sign=DE:244.1,1024-10",
"then": "./assets/themes/cyclestreets/Zeichen_244_1024-10.svg"
},
{
"if": "_country=de",
"then": "./assets/themes/cyclestreets/Zeichen_244.svg"
},
{
"if": "_country=fi",
"then": "./assets/themes/cyclestreets/Finland_road_sign_E28.svg"
}
]
},
"iconSize": {
"render": "40,40,center",
"mappings": [
{
"if": {
"or": [
"traffic_sign=DE:244.1,1020-30",
"traffic_sign=DE:244.1,1022-12,1024-10"
]
},
"then": "40,62,center"
},
{
"if": {
"or": [
"traffic_sign=DE:244.1,1022-12",
"traffic_sign=DE:244.1,1024-10"
]
},
"then": "40,70,center"
}
]
},
"location": [
"projected_centerpoint"
]
},
{
"color": "#0000ff",
"width": "10"
}
"pointRendering": [],
"lineRendering": [
{}
]
},
{
@ -248,29 +189,9 @@
"tagRenderings": [
"images"
],
"mapRendering": [
{
"icon": {
"render": "./assets/themes/cyclestreets/F113.svg",
"mappings": [
{
"if": "_country=de",
"then": "./assets/themes/cyclestreets/Zeichen_244a.svg"
},
{
"if": "_country=fi",
"then": "./assets/themes/cyclestreets/Finland_road_sign_E29.svg"
}
]
},
"location": [
"projected_centerpoint"
]
},
{
"color": "#09f9dd",
"width": "5"
}
"pointRendering": [],
"lineRendering": [
{}
]
},
{
@ -347,39 +268,9 @@
"tagRenderings": [
"images"
],
"mapRendering": [
{
"icon": "./assets/svg/pencil.svg",
"location": [
"projected_centerpoint"
]
},
{
"color": {
"render": "#aaaaaa",
"mappings": [
{
"then": "#0000ff",
"if": {
"or": [
"cyclestreet=yes",
"bicycle_road=yes"
]
}
},
{
"then": "#09f9dd",
"if": {
"or": [
"proposed:cyclestreet=yes",
"proposed:bicycle_road=yes"
]
}
}
]
},
"width": "5"
}
"pointRendering": [],
"lineRendering": [
{}
]
}
],

View file

@ -19,4 +19,4 @@
"startLat": 53.0565,
"startLon": 8.7492,
"startZoom": 11
}
}

View file

@ -288,4 +288,4 @@
}
],
"hideFromOverview": false
}
}

View file

@ -545,76 +545,15 @@
}
}
],
"mapRendering": [
{
"icon": {
"render": "circle:white;./assets/themes/facadegardens/geveltuin.svg",
"mappings": [
{
"if": {
"and": [
"direct_sunlight=yes"
]
},
"then": "circle:white;./assets/themes/facadegardens/zon.svg"
},
{
"if": {
"and": [
"direct_sunlight=partial"
]
},
"then": "circle:white;./assets/themes/facadegardens/halfzon.svg"
},
{
"if": {
"and": [
"direct_sunlight=no"
]
},
"then": "circle:white;./assets/themes/facadegardens/schaduw.svg"
}
]
},
"iconBadges": [
{
"if": "plant~.*vine.*",
"then": "circle:white;./assets/themes/facadegardens/klimplant.svg"
},
{
"if": "plant~.*groundcover.*",
"then": "circle:white;./assets/themes/facadegardens/bodembedekker.svg"
},
{
"if": "edible=true",
"then": "circle:white;./assets/themes/facadegardens/eetbaar.svg"
},
{
"if": "rain_barel=yes",
"then": "circle:white;./assets/themes/facadegardens/gevelton.svg"
},
{
"if": "plant~.*shrub.*",
"then": "circle:white;./assets/themes/facadegardens/struik.svg"
},
{
"if": "plant~.*flower.*",
"then": "circle:white;./assets/themes/facadegardens/bloei.svg"
}
],
"iconSize": "50,50",
"location": [
"point",
"centroid"
],
"anchor": "center"
}
],
"deletion": true,
"allowMove": {
"enableImproveAccuracy": true,
"enableRelocation": false
}
},
"pointRendering": [],
"lineRendering": [
{}
]
}
],
"credits": "joost schouppe; stla"

View file

@ -69,4 +69,4 @@
}
}
]
}
}

View file

@ -51,19 +51,9 @@
}
}
],
"mapRendering": [
{
"icon": "./assets/themes/buurtnatuur/forest.svg",
"iconSize": "40,40",
"location": [
"point"
],
"anchor": "center"
},
{
"color": "#00f",
"width": "8"
}
"pointRendering": [],
"lineRendering": [
{}
]
},
{
@ -155,19 +145,9 @@
}
}
],
"mapRendering": [
{
"icon": "./assets/themes/fruit_trees/fruit_tree.svg",
"iconSize": "40,40",
"location": [
"point"
],
"anchor": "center"
},
{
"color": "#00f",
"width": "8"
}
"pointRendering": [],
"lineRendering": [
{}
]
}
]

View file

@ -46,49 +46,6 @@
},
"maxCacheAge": 0
},
"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"
}
]
}
}
],
"title": "OSM-gebouw",
"tagRenderings": [
{
@ -272,6 +229,10 @@
}
]
}
],
"pointRendering": [],
"lineRendering": [
{}
]
},
{
@ -477,60 +438,9 @@
"_imported_osm_still_fresh!=true"
]
},
"mapRendering": [
{
"label": {
"render": "<div style='margin-top: -42px; color: black' class='rounded-full p-1 font-bold relative'>{addr:housenumber}</div>",
"condition": "addr:housenumber~*"
},
"iconSize": "50,50",
"icon": {
"mappings": [
{
"if": "_intersects_with_other_features~*",
"then": "./assets/themes/grb/warning.svg"
},
{
"if": "addr:housenumber~*",
"then": "./assets/themes/grb/housenumber_blank.svg"
}
]
},
"location": [
"point",
"centroid"
],
"anchor": "center"
},
{
"width": {
"render": 5,
"mappings": [
{
"if": "_imported=yes",
"then": "1"
}
]
},
"color": {
"render": "#00a",
"mappings": [
{
"if": "_imported=yes",
"then": "#00ff00"
},
{
"if": {
"and": [
"_imported_osm_object_found=true",
"_imported_osm_still_fresh=true"
]
},
"then": "#0f0"
}
]
}
}
"pointRendering": [],
"lineRendering": [
{}
]
},
{
@ -540,14 +450,12 @@
"source": {
"osmTags": "highway=service"
},
"mapRendering": [
{
"width": 4,
"color": "#888888"
}
],
"title": "Service road",
"tagRenderings": []
"tagRenderings": [],
"pointRendering": [],
"lineRendering": [
{}
]
},
{
"id": "generic_osm_object",
@ -579,13 +487,6 @@
},
"maxCacheAge": 0
},
"mapRendering": [
{
"color": "#ccc",
"width": "1",
"fill": "no"
}
],
"title": {
"render": {
"*": "Other OSM-Object"
@ -593,6 +494,10 @@
},
"tagRenderings": [
"all_tags"
],
"pointRendering": [],
"lineRendering": [
{}
]
},
"address",

View file

@ -38,65 +38,6 @@
"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": "40,40",
"anchor": "center"
}
],
"title": "OSM-gebouw",
"tagRenderings": [
{
@ -280,7 +221,11 @@
},
"all_tags"
],
"minzoom": 14
"minzoom": 14,
"pointRendering": [],
"lineRendering": [
{}
]
},
{
"builtin": "address",

View file

@ -68,7 +68,9 @@
"ca": "Creuament per vianants i/o ciclistes",
"pl": "Przejście dla pieszych i/lub przejazd dla rowerów"
},
"snapToLayer": ["cycleways_and_roads"],
"snapToLayer": [
"cycleways_and_roads"
],
"maxSnapDistance": 25
}
],
@ -80,4 +82,4 @@
"kerbs"
],
"credits": "Robin van der Linde"
}
}

View file

@ -117,7 +117,7 @@
}
}
],
"mapRendering": [
"pointRendering": [
{
"location": [
"point",

View file

@ -117,7 +117,7 @@
}
}
],
"mapRendering": [
"pointRendering": [
{
"location": [
"point",

View file

@ -71,4 +71,4 @@
}
}
]
}
}

View file

@ -129,22 +129,11 @@
]
}
},
"mapRendering": [
{
"label": "<div class='text-xl bg-white rounded-full pl-2 pr-2 break-normal'>{postal_code}</div>",
"location": [
"point",
"centroid"
]
},
{
"color": "#00f",
"width": "4",
"fill": "no",
"dashArray": "8 8"
}
],
"isShown": "_country=be"
"isShown": "_country=be",
"pointRendering": [],
"lineRendering": [
{}
]
},
{
"id": "wrong_postal_code",
@ -157,11 +146,9 @@
}
},
"title": "Boundary relation with addr:postcode={addr:postcode}",
"mapRendering": [
{
"color": "#f00",
"width": 1
}
"pointRendering": [],
"lineRendering": [
{}
]
},
{
@ -215,18 +202,11 @@
]
}
},
"mapRendering": [
{
"icon": "./assets/themes/postal_codes/townhall.svg",
"iconSize": "40,40",
"location": [
"point",
"centroid"
],
"anchor": "center"
}
],
"isShown": "_country=be"
"isShown": "_country=be",
"pointRendering": [],
"lineRendering": [
{}
]
}
]
}

View file

@ -249,81 +249,11 @@
]
}
],
"mapRendering": [
{
"location": [
"start",
"end"
],
"icon": "circle:#ccc",
"iconSize": "3,3",
"anchor": "center"
},
{
"#": "The center line",
"color": "#ffffff55",
"width": 8,
"lineCap": "butt"
},
{
"#": "left",
"color": "#888",
"dashArray": {
"render": "",
"mappings": [
{
"if": "sidewalk:left=",
"then": "1,12"
}
]
},
"width": {
"render": 6,
"mappings": [
{
"if": {
"or": [
"sidewalk:left=no",
"sidewalk:left=separate"
]
},
"then": 0
}
]
},
"offset": -6,
"lineCap": "butt"
},
{
"color": "#888",
"dashArray": {
"render": "",
"mappings": [
{
"if": "sidewalk:right=",
"then": "1,12"
}
]
},
"width": {
"render": 6,
"mappings": [
{
"if": {
"or": [
"sidewalk:right=no",
"sidewalk:right=separate"
]
},
"then": 0
}
]
},
"lineCap": "butt",
"offset": 6
}
],
"allowSplit": true
"allowSplit": true,
"pointRendering": [],
"lineRendering": [
{}
]
}
]
}

View file

@ -37,11 +37,9 @@
"osmTags": "shadow=yes",
"isOsmCache": false
},
"mapRendering": [
{
"color": "#444444",
"width": "1"
}
"pointRendering": [],
"lineRendering": [
{}
]
},
{
@ -221,23 +219,9 @@
"questions",
"reviews"
],
"mapRendering": [
{
"color": {
"render": "#6d6",
"mappings": [
{
"if": "color~*",
"then": "{color}"
},
{
"if": "colour~*",
"then": "{colour}"
}
]
},
"width": "9"
}
"pointRendering": [],
"lineRendering": [
{}
]
}
],

View file

@ -97,25 +97,9 @@
"zh_Hant": "顯示火車站的圖層",
"pl": "Warstwa pokazująca stacje kolejowe"
},
"mapRendering": [
{
"icon": "./assets/themes/stations/rail-light.svg",
"location": [
"point",
"centroid"
],
"label": {
"mappings": [
{
"if": "name~*",
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
}
]
}
},
{
"color": "green"
}
"pointRendering": [],
"lineRendering": [
{}
]
},
{
@ -401,14 +385,9 @@
}
}
],
"mapRendering": [
{
"icon": "./assets/themes/stations/departures_board.svg",
"location": [
"point",
"centroid"
]
}
"pointRendering": [],
"lineRendering": [
{}
]
}
]

View file

@ -90,11 +90,6 @@
}
]
},
"mapRendering": [
{
"color": "#ff0"
}
],
"tagRenderings": [
"images",
{
@ -191,7 +186,11 @@
]
}
],
"allowSplit": true
"allowSplit": true,
"pointRendering": [],
"lineRendering": [
{}
]
},
{
"id": "all_streets",
@ -248,19 +247,6 @@
}
]
},
"mapRendering": [
{
"color": {
"render": "#a9a9a9",
"mappings": [
{
"if": "lit=no",
"then": "#303030"
}
]
}
}
],
"tagRenderings": [
"images",
{
@ -357,7 +343,11 @@
]
}
],
"allowSplit": true
"allowSplit": true,
"pointRendering": [],
"lineRendering": [
{}
]
}
],
"credits": "Robin van der Linde"

View file

@ -28,27 +28,12 @@
"_has_closeby_feature=Number(feat.properties._closest_osm_street_lamp_distance) < 5 ? 'yes' : 'no'"
],
"title": "Straatlantaarn in dataset",
"mapRendering": [
{
"location": [
"point",
"centroid"
],
"icon": {
"render": "circle:red",
"mappings": [
{
"if": "_has_closeby_feature=yes",
"then": "circle:#008000aa"
}
]
},
"iconSize": "20,20",
"anchor": "center"
}
],
"tagRenderings": [
"all_tags"
],
"pointRendering": [],
"lineRendering": [
{}
]
},
{

View file

@ -55,24 +55,14 @@
"calculatedTags": [
"_has_address=overlapWith(feat)('address').length > 0"
],
"mapRendering": [
{
"width": 2,
"color": {
"render": "#00f",
"mappings": [
{
"if": "_has_address=true",
"then": "#0f0"
}
]
}
}
],
"shownByDefault": false,
"name": {
"en": "Inspire polygons"
}
},
"pointRendering": [],
"lineRendering": [
{}
]
},
{
"id": "to_import",
@ -162,35 +152,11 @@
]
}
],
"mapRendering": [
{
"icon": {
"render": "./assets/themes/uk_addresses/housenumber_unknown.svg",
"mappings": [
{
"if": {
"and": [
"_embedding_object:id~*",
"_embedding_object:id!=false"
]
},
"then": "./assets/themes/uk_addresses/housenumber_unknown_small.svg"
},
{
"if": "_imported=yes",
"then": "./assets/themes/uk_addresses/housenumber_unknown_small.svg"
}
]
},
"iconSize": "40,40",
"location": [
"point",
"centroid"
],
"anchor": "center"
}
],
"description": "Alamat"
"description": "Alamat",
"pointRendering": [],
"lineRendering": [
{}
]
},
{
"id": "address",
@ -631,60 +597,9 @@
}
}
],
"mapRendering": [
{
"label": {
"render": "<div style='margin-top: -42px; color: white' class='rounded-full p-1 font-bold relative'>{addr:housenumber}</div>",
"condition": "addr:housenumber~*"
},
"iconSize": "50,50",
"icon": {
"render": "./assets/layers/address/housenumber_blank.svg",
"mappings": [
{
"if": {
"or": [
{
"and": [
"addr:housenumber=",
"nohousenumber!=yes"
]
},
"addr:street="
]
},
"then": "./assets/themes/uk_addresses/housenumber_unknown.svg"
}
]
},
"location": [
"point",
"centroid"
],
"anchor": "center"
},
{
"color": {
"render": "#00f",
"mappings": [
{
"if": {
"or": [
{
"and": [
"addr:housenumber=",
"nohousenumber!=yes"
]
},
"addr:street="
]
},
"then": "#ff0"
}
]
},
"width": "3"
}
"pointRendering": [],
"lineRendering": [
{}
]
},
"named_streets"

View file

@ -32,27 +32,12 @@
"_has_closeby_feature=Number(feat.properties._closest_osm_waste_basket_distance) < 10 ? 'yes' : 'no'"
],
"title": "Afvalbak in dataset",
"mapRendering": [
{
"location": [
"point",
"centroid"
],
"icon": {
"render": "circle:red",
"mappings": [
{
"if": "_has_closeby_feature=yes",
"then": "circle:#008000aa"
}
]
},
"iconSize": "20,20",
"anchor": "center"
}
],
"tagRenderings": [
"all_tags"
],
"pointRendering": [],
"lineRendering": [
{}
]
},
"recycling",
@ -74,31 +59,12 @@
"_has_closeby_waste_disposal=Number(feat.properties._closest_osm_waste_disposal_distance) < 10 ? 'yes' : 'no'"
],
"title": "Recyclingcontainer in dataset",
"mapRendering": [
{
"location": [
"point",
"centroid"
],
"icon": {
"render": "circle:red",
"mappings": [
{
"if": "_has_closeby_recycling=yes",
"then": "circle:#008000aa"
},
{
"if": "_has_closeby_waste_disposal=yes",
"then": "circle:#008000aa"
}
]
},
"iconSize": "20,20",
"anchor": "center"
}
],
"tagRenderings": [
"all_tags"
],
"pointRendering": [],
"lineRendering": [
{}
]
},
"waste_disposal"

View file

@ -204,71 +204,10 @@
]
}
],
"mapRendering": [
{
"location": [
"point"
],
"icon": "./assets/themes/width/icon.svg",
"iconSize": "40,40",
"anchor": "center"
},
{
"width": "4",
"color": {
"render": "#00f",
"mappings": [
{
"if": {
"or": [
"access=destination",
"highway=pedestrian",
"motor_vehicle=no",
"motor_vehicle=destination"
]
},
"then": "lightgrey"
},
{
"if": {
"and": [
"_width:difference!~-.*",
"_width:difference:no_pedestrians~-.*"
]
},
"then": "orange"
},
{
"if": "_width:difference~-.*",
"then": "#0f0"
},
{
"if": "_width:difference!~-.*",
"then": "#f00"
}
]
},
"dashArray": {
"render": "",
"mappings": [
{
"if": {
"and": [
"oneway=yes",
{
"or": [
"oneway:bicycle=yes",
"oneway:bicycle="
]
}
]
},
"then": "5 6"
}
]
}
}
"pointRendering": [],
"lineRendering": [
{}
]
}
]
}
}