mirror of
https://github.com/openstreetmap/id-tagging-schema.git
synced 2025-10-27 04:43:52 +01:00
refine power generation presets (#624)
* add values of the "generator:method" tag https://wiki.openstreetmap.org/w/index.php?title=Key:generator:method&oldid=2315464 * add strings for power generation sources and method and refine some presets accordingly
This commit is contained in:
parent
b91bbcecc4
commit
15a02ada3e
22 changed files with 308 additions and 33 deletions
|
|
@ -1,5 +1,7 @@
|
|||
{
|
||||
"key": "plant:method",
|
||||
"type": "combo",
|
||||
"label": "Generation Method"
|
||||
"label": "Generation Method",
|
||||
"stringsCrossReference": "{generator/method}",
|
||||
"autoSuggestions": false
|
||||
}
|
||||
|
|
|
|||
16
data/fields/plant/method/hydro.json
Normal file
16
data/fields/plant/method/hydro.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"key": "plant:method",
|
||||
"type": "combo",
|
||||
"label": "{plant/method}",
|
||||
"stringsCrossReference": "{generator/method}",
|
||||
"options": [
|
||||
"water-storage",
|
||||
"water-pumped-storage",
|
||||
"run-of-the-river"
|
||||
],
|
||||
"autoSuggestions": false,
|
||||
"prerequisiteTag": {
|
||||
"key": "plant:source",
|
||||
"value": "hydro"
|
||||
}
|
||||
}
|
||||
15
data/fields/plant/method/solar.json
Normal file
15
data/fields/plant/method/solar.json
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"key": "plant:method",
|
||||
"type": "combo",
|
||||
"label": "{plant/method}",
|
||||
"stringsCrossReference": "{generator/method}",
|
||||
"options": [
|
||||
"thermal",
|
||||
"photovoltaic"
|
||||
],
|
||||
"autoSuggestions": false,
|
||||
"prerequisiteTag": {
|
||||
"key": "plant:source",
|
||||
"value": "solar"
|
||||
}
|
||||
}
|
||||
15
data/fields/plant/method/waste.json
Normal file
15
data/fields/plant/method/waste.json
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"key": "plant:method",
|
||||
"type": "combo",
|
||||
"label": "{plant/method}",
|
||||
"stringsCrossReference": "{generator/method}",
|
||||
"options": [
|
||||
"combustion",
|
||||
"gasification"
|
||||
],
|
||||
"autoSuggestions": false,
|
||||
"prerequisiteTag": {
|
||||
"key": "plant:source",
|
||||
"value": "waste"
|
||||
}
|
||||
}
|
||||
18
data/fields/plant/output.json
Normal file
18
data/fields/plant/output.json
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"key": "plant:output",
|
||||
"type": "multiCombo",
|
||||
"label": "Form of Power Output",
|
||||
"strings": {
|
||||
"options": {
|
||||
"electricity": "Electricity",
|
||||
"hot_water": "Hot Water",
|
||||
"hot_air": "Hot Air",
|
||||
"cold_water": "Cold Water",
|
||||
"cold_air": "Cold Air",
|
||||
"compressed_air": "Compressed Air",
|
||||
"steam": "Steam",
|
||||
"vacuum": "Vacuum"
|
||||
}
|
||||
},
|
||||
"autoSuggestions": false
|
||||
}
|
||||
|
|
@ -1,7 +1,11 @@
|
|||
{
|
||||
"key": "plant:output:electricity",
|
||||
"type": "typeCombo",
|
||||
"label": "Power Output",
|
||||
"label": "Electric Power Output",
|
||||
"placeholder": "500 MW, 1000 MW, 2000 MW...",
|
||||
"snake_case": false
|
||||
"snake_case": false,
|
||||
"prerequisiteTag": {
|
||||
"key": "plant:output:electricity",
|
||||
"valueNot": "no"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"key": "plant:source",
|
||||
"type": "combo",
|
||||
"label": "Energy Source"
|
||||
"label": "Energy Source",
|
||||
"stringsCrossReference": "{generator/source}"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue