Extract some layers to standalone files

This commit is contained in:
Pieter Vander Vennet 2022-04-15 00:56:42 +02:00
parent fa50e52afc
commit 663f01c21e
37 changed files with 3681 additions and 3741 deletions

File diff suppressed because it is too large Load diff

View file

@ -31,263 +31,6 @@
"startZoom": 1,
"widenFactor": 5,
"layers": [
{
"id": "hackerspaces",
"name": {
"en": "Hackerspace",
"de": "Hackerspaces",
"ru": "Хакерспейс",
"zh_Hant": "駭客空間",
"hu": "Hackerspace"
},
"minzoom": 8,
"title": {
"render": {
"en": "Hackerspace",
"de": "Hackerspace",
"ru": "Хакерспейс",
"zh_Hant": "駭客空間",
"hu": "Hackerspace"
},
"mappings": [
{
"if": {
"and": [
"name~*"
]
},
"then": {
"en": " {name}",
"de": " {name}",
"ru": " {name}",
"zh_Hant": " {name}",
"hu": " {name}",
"ca": " {name}"
}
}
]
},
"description": {
"en": "Hackerspace",
"de": "Hackerspace",
"ru": "Хакерспейс",
"zh_Hant": "駭客空間",
"hu": "Hackerspace"
},
"tagRenderings": [
{
"id": "is_makerspace",
"question": {
"en": "Is this a hackerspace or a makerspace?",
"de": "Ist dies ein Hackerspace oder ein Makerspace?",
"zh_Hant": "這邊是駭客空間還是創客空間?",
"hu": "Ez hackerspace vagy makerspace?"
},
"mappings": [
{
"if": "hackerspace=makerspace",
"then": {
"en": "This is a makerspace",
"de": "Dies ist ein Makerspace",
"zh_Hant": "這是創客空間",
"hu": "Ez egy makerspace"
}
},
{
"if": "hackerspace=",
"then": {
"en": "This is a traditional (software oriented) hackerspace",
"de": "Dies ist ein traditioneller (softwareorientierter) Hackerspace",
"zh_Hant": "這是傳統的 (軟體導向) 駭客空間",
"hu": "Ez egy hagyományos (szoftverekkel foglalkozó) hackerspace"
}
}
]
},
{
"question": {
"en": "What is the name of this hackerspace?",
"de": "Wie lautet der Name dieses Hackerspace?",
"zh_Hant": "這個駭客空間的名稱是?"
},
"render": {
"en": "This hackerspace is named <b>{name}</b>",
"de": "Dieser Hackerspace heißt <b>{name}</b>",
"zh_Hant": "這個駭客空間叫 <b>{name}</b>"
},
"freeform": {
"key": "name"
},
"id": "hackerspaces-name"
},
"website",
"email",
"phone",
{
"question": {
"en": "When is this hackerspace opened?",
"de": "Wann hat dieser Hackerspace geöffnet?",
"zh_Hant": "這個駭客空間的營業時間?"
},
"freeform": {
"key": "opening_hours",
"type": "opening_hours"
},
"render": {
"en": "{opening_hours_table()}",
"de": "{opening_hours_table()}",
"ru": "{opening_hours_table()}",
"zh_Hant": "{opening_hours_table()}",
"ca": "{opening_hours_table()}"
},
"mappings": [
{
"if": {
"and": [
"opening_hours=24/7"
]
},
"then": {
"en": "Opened 24/7",
"de": "durchgehend geöffnet",
"ru": "Открыто 24/7",
"zh_Hant": "24/7 營業",
"ca": "Obert 24/7"
}
}
],
"id": "hackerspaces-opening_hours"
},
"wheelchair-access",
{
"id": "hs-club-mate",
"question": {
"en": "Does this hackerspace serve Club Mate?",
"de": "Gibt es in diesem Hackerspace Club Mate?",
"zh_Hant": "這個駭客空間是否服務俱樂部伙伴?"
},
"mappings": [
{
"if": {
"and": [
"drink:club-mate=yes"
]
},
"then": {
"en": "This hackerspace serves club mate",
"de": "In diesem Hackerspace gibt es Club Mate",
"zh_Hant": "這個駭客空間服務俱樂部伙伴"
}
},
{
"if": {
"and": [
"drink:club-mate=no"
]
},
"then": {
"en": "This hackerspace does not serve club mate",
"de": "In diesem Hackerspace gibt es kein Club Mate",
"zh_Hant": "這個駭客空間沒有服務俱樂部伙伴"
}
}
]
},
{
"render": {
"en": "This hackerspace was founded at {start_date}",
"de": "Dieser Hackerspace wurde gegründet am {start_date}",
"zh_Hant": "這駭客空間是 {start_date} 成立的"
},
"question": {
"en": "When was this hackerspace founded?",
"de": "Wann wurde dieser Hackerspace gegründet?",
"zh_Hant": "這個駭客空間何時成立的?"
},
"freeform": {
"key": "start_date",
"type": "date"
},
"id": "hackerspaces-start_date"
}
],
"presets": [
{
"tags": [
"leisure=hackerspace"
],
"title": {
"en": "a hackerspace",
"de": "eine hackerspace",
"ru": "Хакерспейс",
"zh_Hant": "駭客空間",
"hu": "Hackerspace"
},
"description": {
"en": "A hackerspace is an area where people interested in software gather",
"de": "Ein Hackerspace ist ein Ort, an dem sich Menschen treffen, die sich für Software interessieren",
"zh_Hant": "駭客空間是對軟體有興趣的人聚集的地方",
"hu": "A hackerspace egy olyan hely, ahol szoftverek iránt érdeklő emberek találkoznak"
}
},
{
"tags": [
"leisure=hackerspace",
"hackerspace=makerspace"
],
"title": {
"en": "a makerspace",
"de": "eine makerspace",
"zh_Hant": "創客空間",
"hu": "Makerspace"
},
"description": {
"en": "A makerspace is a place where DIY-enthusiasts gather to experiment with electronics such as arduino, LEDstrips, ...",
"de": "Ein Makerspace ist ein Ort, an dem Heimwerker-Enthusiasten zusammenkommen, um mit Elektronik zu experimentieren, wie Arduino, LED-Strips, ...",
"zh_Hant": "創客空間是 DIY 愛好者聚集在一起弄電子零件實驗,例如用 arduino、LEDstrips 等...",
"hu": "A makerspace olyan hely, ahol a barkácsolás szerelmesei találkoznak, hogy olyan elektronikai eszközökkel kísérletezzenek, mint például az Arduino vagy a LEDstrips."
}
}
],
"source": {
"osmTags": {
"and": [
"leisure=hackerspace"
]
}
},
"mapRendering": [
{
"icon": {
"render": "./assets/themes/hackerspaces/glider.svg",
"mappings": [
{
"if": {
"and": [
"hackerspace=makerspace"
]
},
"then": "./assets/themes/hackerspaces/led.png"
}
]
},
"iconSize": {
"render": "40,40,center"
},
"location": [
"point",
"centroid"
]
},
{
"color": {
"render": "#00f"
},
"width": {
"render": "8"
}
}
]
}
"hackerspace"
]
}

View file

@ -30,325 +30,7 @@
"maxZoom": 8
},
"layers": [
{
"id": "windturbine",
"name": {
"en": "wind turbine",
"nl": "windturbine",
"fr": "Éolienne",
"de": "Windräder",
"it": "pala eolica",
"zh_Hant": "風機",
"hu": "Szélerőmű"
},
"source": {
"osmTags": "generator:source=wind"
},
"minzoom": 10,
"title": {
"render": {
"en": "wind turbine",
"nl": "windturbine",
"fr": "éolienne",
"de": "Windrad",
"it": "pala eolica",
"zh_Hant": "風機",
"id": "turbin angin",
"hu": "szélerőmű"
},
"mappings": [
{
"if": "name~*",
"then": {
"en": "{name}",
"fr": "{name}",
"eo": "{name}",
"it": "{name}",
"ru": "{name}",
"zh_Hant": "{name}",
"id": "{name}",
"de": "{name}",
"ca": "{name}"
}
}
]
},
"tagRenderings": [
{
"id": "turbine-output",
"render": {
"en": "The power output of this wind turbine is {generator:output:electricity}.",
"fr": "La puissance générée par cette éolienne est de {generator:output:electricity}.",
"it": "La potenza generata da questa pala eolica è {generator:output:electricity}.",
"zh_Hant": "這個風機的電力輸出是 {generator:output:electricity}。",
"id": "Output daya dari turbin angin ini adalah {generator:output:electricity}.",
"hu": "A szélerőmű teljesítménye: {generator:output:electricity}.",
"de": "Das Windrad erzeugt {generator:output:electricity} Strom."
},
"question": {
"en": "What is the power output of this wind turbine? (e.g. 2.3 MW)",
"fr": "Quel est la puissance générée par cette éolienne ?",
"it": "Quantè la potenza generata da questa pala eolica? (ad es. 2.3 MW)",
"zh_Hant": "這個風機的電力輸出是多少?(例如 2.3 MW)",
"id": "Berapa output daya dari turbin angin ini? (misalnya 2,3 MW)",
"hu": "Mekkora a teljesítménye ennek a szélturbinának? (pl. 2.3 MW)",
"de": "Wieviel Strom erzeugt das Windrad? (z.B. 2.3MW)"
},
"freeform": {
"key": "generator:output:electricity",
"type": "pfloat"
}
},
{
"id": "turbine-operator",
"render": {
"en": "This wind turbine is operated by {operator}.",
"fr": "Cette éolienne est opérée par {operator}.",
"it": "Questa pala eolica è gestita da {operator}.",
"zh_Hant": "這個風機營業商是 {operator}。",
"id": "Turbin angin ini dioperasikan oleh {operator}.",
"hu": "Ennek a szélerőműnek az üzemeltetője: {operator}.",
"de": "Die Windturbine wird betrieben von {operator}."
},
"question": {
"en": "Who operates this wind turbine?",
"fr": "Qui est lexploitant de cette éolienne ?",
"it": "Chi gestisce questa pala eolica?",
"zh_Hant": "這個風機營業商是?",
"hu": "Ki üzemelteti ezt a szélturbinát?",
"de": "Wer betreibt das Windrads?"
},
"freeform": {
"key": "operator"
}
},
{
"id": "turbine-height",
"render": {
"en": "The total height (including rotor radius) of this wind turbine is {height} metres.",
"fr": "La hauteur totale, incluant les pales, est de {height} mètres.",
"it": "Laltezza totale (raggio del rotore incluso) di questa pala eolica è di {height} metri.",
"zh_Hant": "這風機的總高度 (包括風葉直徑) 是 {height} 公尺。",
"hu": "A szélerőmű teljes (rotor sugarával együtt számított) magassága: {height} méter.",
"de": "Die Gesamthöhe dieses Windrads beträgt (einschließlich Rotorradius) {height} Meter."
},
"question": {
"en": "What is the total height of this wind turbine (including rotor radius), in metres?",
"fr": "Quelle est la hauteur totale de léolienne en mètres, pales incluses ?",
"it": "Qual è laltezza (in metri e raggio del rotore incluso) di questa pala eolica?",
"zh_Hant": "這個風機的總高度是多少 (包括風葉大小) 公尺?",
"hu": "Hány méter a szélerőmű teljes magassága (a rotor sugarával együtt)?",
"de": "Wie hoch ist dieses Windrad (inklusive Rotorradius) in Metern?"
},
"freeform": {
"key": "height",
"type": "pfloat"
}
},
{
"id": "turbine-diameter",
"render": {
"en": "The rotor diameter of this wind turbine is {rotor:diameter} metres.",
"fr": "Le diamètre du rotor est de {rotor:diameter} mètres.",
"it": "Il diametro del rotore di questa pala eolica è di {rotor:diameter} metri.",
"zh_Hant": "這個風力渦輪機的風葉直徑是 {rotor:diameter} 公尺。",
"hu": "A szélturbina rotorátmérője: {rotor:diameter} méter.",
"de": "Der Rotordurchmesser der Windturbine ist {rotor:diameter} Meter."
},
"question": {
"en": "What is the rotor diameter of this wind turbine, in metres?",
"fr": "Quel est le diamètre du rotor en mètres ?",
"it": "Qual è il diametro (in metri) del rotore di questa pala eolica?",
"zh_Hant": "這個風力渦輪機的風葉直徑是多少公尺?",
"hu": "Hány méter a rotorátmérője ennek a szélturbinának?",
"de": "Wie groß ist der Rotordurchmesser der Windturbine in Meter?"
},
"freeform": {
"key": "rotor:diameter",
"type": "float"
}
},
{
"id": "turbine-start-date",
"render": {
"en": "This wind turbine went into operation on/in {start_date}.",
"fr": "Léolienne est active depuis {start_date}.",
"it": "Questa pala eolica è entrata in funzione in data {start_date}.",
"zh_Hant": "這個風機從 {start_date} 開始運轉。",
"id": "Turbin angin ini mulai beroperasi pada/dalam {start_date}.",
"hu": "A szélerőmű üzembe helyezése: {start_date}.",
"de": "Das Windrad wurde am {start_date} in Betrieb genommen."
},
"question": {
"en": "When did this wind turbine go into operation?",
"fr": "Depuis quand léolienne est-elle en fonctionnement ?",
"it": "Quando è entrata in funzione questa pala eolica?",
"zh_Hant": "這個風機何時開始營運?",
"id": "Kapan turbin angin ini mulai beroperasi?",
"hu": "Mikor helyezték üzembe ezt a szélerőművet?",
"de": "Wann wurde das Windrad in Betrieb genommen?"
},
"freeform": {
"key": "start_date",
"type": "date"
}
},
"images"
],
"presets": [
{
"tags": [
"power=generator",
"generator:source=wind"
],
"title": {
"en": "a wind turbine",
"nl": "een windturbine",
"fr": "une éolienne",
"de": "ein Windrad",
"it": "una pala eolica",
"zh_Hant": "風機",
"hu": "Szélerőmű"
}
}
],
"units": [
{
"appliesToKey": [
"generator:output:electricity"
],
"applicableUnits": [
{
"canonicalDenomination": "MW",
"alternativeDenomination": [
"megawatts",
"megawatt"
],
"human": {
"en": " megawatts",
"nl": " megawatt",
"fr": " megawatts",
"de": " Megawatt",
"eo": " megavatoj",
"it": " megawatt",
"ru": " мегаватт",
"zh_Hant": " 百萬瓦",
"id": " megawat",
"hu": " megawatt",
"ca": " megavats"
}
},
{
"canonicalDenomination": "kW",
"alternativeDenomination": [
"kilowatts",
"kilowatt"
],
"human": {
"en": " kilowatts",
"nl": " kilowatt",
"fr": " kilowatts",
"de": " Kilowatt",
"eo": " kilovatoj",
"it": " kilowatt",
"nb_NO": " kilowatt",
"ru": " киловатт",
"zh_Hant": " 千瓦",
"id": " kilowat",
"hu": " kilowatt",
"ca": " quilovats"
}
},
{
"canonicalDenomination": "W",
"alternativeDenomination": [
"watts",
"watt"
],
"human": {
"en": " watts",
"nl": " watt",
"fr": " watts",
"de": " Watt",
"eo": " vatoj",
"it": " watt",
"ru": " ватт",
"zh_Hant": " 瓦",
"id": " watt",
"hu": " watt",
"ca": " vats"
}
},
{
"canonicalDenomination": "GW",
"alternativeDenomination": [
"gigawatts",
"gigawatt"
],
"human": {
"en": " gigawatts",
"nl": " gigawatt",
"fr": " gigawatts",
"de": " Gigawatt",
"eo": " gigavatoj",
"it": " gigawatt",
"ru": " гигаватт",
"zh_Hant": " 千兆瓦",
"id": " gigawatt",
"hu": " gigawatt",
"ca": " gigavats"
}
}
],
"eraseInvalidValues": true
},
{
"appliesToKey": [
"height",
"rotor:diameter"
],
"applicableUnits": [
{
"canonicalDenomination": "m",
"alternativeDenomination": [
"meter"
],
"human": {
"en": " meter",
"nl": " meter",
"fr": " mètres",
"de": " Meter",
"eo": " metro",
"it": " metri",
"ru": " метр",
"zh_Hant": " 公尺",
"id": " meter",
"hu": " méter",
"ca": " metre"
}
}
]
}
],
"mapRendering": [
{
"icon": "./assets/themes/openwindpowermap/wind_turbine.svg",
"label": {
"mappings": [
{
"if": "generator:output:electricity~^[0-9]+.*[W]$",
"then": "<div style='background-color: rgba(0,0,0,0.3); color: white; font-size: 8px; padding: 0.25em; border-radius:0.5em'>{generator:output:electricity}</div>"
}
]
},
"iconSize": "40, 40, bottom",
"location": [
"point",
"centroid"
]
}
]
}
"windturbine"
],
"defaultBackgroundId": "CartoDB.Voyager"
}