mapcomplete/assets/themes/openwindpowermap/openwindpowermap.json

229 lines
No EOL
6.3 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"id": "openwindpowermap",
"title": {
"en": "OpenWindPowerMap",
"fr": "OpenWindPowerMap"
},
"maintainer": "Seppe Santens",
"icon": "./assets/themes/openwindpowermap/wind_turbine.svg",
"description": {
"en": "A map for showing and editing wind turbines.",
"fr": "Une carte indiquant les éoliennes et permettant leur édition."
},
"language": [
"en",
"fr",
"nl"
],
"version": "2021-06-18",
"startLat": 50.52,
"startLon": 4.643,
"startZoom": 8,
"clustering": {
"maxZoom": 8
},
"layers": [
{
"id": "windturbine",
"name": {
"en": "wind turbine",
"nl": "windturbine",
"fr": "Éolienne"
},
"source": {
"osmTags": "generator:source=wind"
},
"minzoom": 10,
"wayHandling": 1,
"title": {
"render": {
"en": "wind turbine",
"nl": "windturbine",
"fr": "éolienne"
},
"mappings": [
{
"if": "name~*",
"then": {
"en": "{name}",
"fr": "{name}"
}
}
]
},
"icon": "./assets/themes/openwindpowermap/wind_turbine.svg",
"iconSize": "40, 40, bottom",
"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>"
}
]
},
"tagRenderings": [
{
"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}."
},
"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 ?"
},
"freeform": {
"key": "generator:output:electricity",
"type": "pfloat"
}
},
{
"render": {
"en": "This wind turbine is operated by {operator}.",
"fr": "Cette éolienne est opérée par {operator}."
},
"question": {
"en": "Who operates this wind turbine?",
"fr": "Qui est lexploitant de cette éolienne ?"
},
"freeform": {
"key": "operator"
}
},
{
"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."
},
"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 ?"
},
"freeform": {
"key": "height",
"type": "pfloat"
}
},
{
"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."
},
"question": {
"en": "What is the rotor diameter of this wind turbine, in metres?",
"fr": "Quel est le diamètre du rotor en mètres ?"
},
"freeform": {
"key": "rotor:diameter",
"type": "float"
}
},
{
"render": {
"en": "This wind turbine went into operation on/in {start_date}.",
"fr": "Léolienne est active depuis {start_date}."
},
"question": {
"en": "When did this wind turbine go into operation?",
"fr": "Depuis quand léolienne est-elle en fonctionnement ?"
},
"freeform": {
"key": "start_date",
"type": "date"
}
},
"images"
],
"presets": [
{
"tags": [
"power=generator",
"generator:source=wind"
],
"title": {
"en": "wind turbine",
"nl": "windturbine",
"fr": "Éolienne"
}
}
],
"units": [
{
"appliesToKey": [
"generator:output:electricity"
],
"applicableUnits": [
{
"canonicalDenomination": "MW",
"alternativeDenomination": [
"megawatts",
"megawatt"
],
"human": {
"en": " megawatts",
"nl": " megawatt",
"fr": " megawatts"
}
},
{
"canonicalDenomination": "kW",
"alternativeDenomination": [
"kilowatts",
"kilowatt"
],
"human": {
"en": " kilowatts",
"nl": " kilowatt",
"fr": " kilowatts"
}
},
{
"canonicalDenomination": "W",
"alternativeDenomination": [
"watts",
"watt"
],
"human": {
"en": " watts",
"nl": " watt",
"fr": " watts"
}
},
{
"canonicalDenomination": "GW",
"alternativeDenomination": [
"gigawatts",
"gigawatt"
],
"human": {
"en": " gigawatts",
"nl": " gigawatt",
"fr": " gigawatts"
}
}
],
"eraseInvalidValues": true
},
{
"appliesToKey": [
"height",
"rotor:diameter"
],
"applicableUnits": [
{
"canonicalDenomination": "m",
"alternativeDenomination": [
"meter"
],
"human": {
"en": " meter",
"nl": " meter",
"fr": " mètres"
}
}
]
}
]
}
],
"defaultBackgroundId": "CartoDB.Voyager"
}