Update hailhydrant.json

Improve question text. Improve icon sizes. Add some questions for the rescue_station layer.
This commit is contained in:
Win Olario 2021-04-12 13:15:05 +08:00 committed by GitHub
parent 620376446d
commit acc09db587
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -181,7 +181,7 @@
"render": "8" "render": "8"
}, },
"iconSize": { "iconSize": {
"render": "15,15,center" "render": "20,20,center"
}, },
"color": { "color": {
"render": "#00f" "render": "#00f"
@ -317,26 +317,37 @@
"en": "Map layer to show fire stations." "en": "Map layer to show fire stations."
}, },
"tagRenderings": [ "tagRenderings": [
{
"freeform": {
"key": "name"
},
"question": {
"en": "What is the name of this station?"
},
"render": {
"en": "This station is called {name}."
}
},
{ {
"freeform": { "freeform": {
"key": "addr:street" "key": "addr:street"
}, },
"question": { "question": {
"en": " What street is the station located?" "en": " What is the street name where the station located?"
}, },
"render": { "render": {
"en": "The station is along a highway called {addr:street}." "en": "This station is along a highway called {addr:street}."
} }
}, },
{ {
"question": { "question": {
"en": "In what place is the station located? (e.g. name of neighborhood, villlage, or town)" "en": "Where is the station located? (e.g. name of neighborhood, villlage, or town)"
}, },
"freeform": { "freeform": {
"key": "addr:place" "key": "addr:place"
}, },
"render": { "render": {
"en": "The station is to be found within {addr:place}." "en": "Th isstation is to be found within {addr:place}."
} }
}, },
{ {
@ -344,7 +355,7 @@
"en": "What agency operates this station?" "en": "What agency operates this station?"
}, },
"render": { "render": {
"en": "Operator: {operator}" "en": "This station is operated by {operator}."
}, },
"freeform": { "freeform": {
"key": "operator" "key": "operator"
@ -354,7 +365,7 @@
"if": { "if": {
"and": [ "and": [
"operator=Bureau of Fire Protection", "operator=Bureau of Fire Protection",
"operator:type=public" "operator:type=government"
] ]
}, },
"then": { "then": {
@ -365,10 +376,10 @@
}, },
{ {
"question": { "question": {
"en": "How would you classifiy the operator of this station?" "en": "How is the station operator classified??"
}, },
"render": { "render": {
"en": "Operator type: {operator:type}" "en": "The operator is a(n) {operator:type} entity."
}, },
"freeform": { "freeform": {
"key": "operator:type" "key": "operator:type"
@ -377,21 +388,11 @@
{ {
"if": { "if": {
"and": [ "and": [
"operator:type=public" "operator:type=government"
] ]
}, },
"then": { "then": {
"en": "Public" "en": "The station is operated by the government."
}
},
{
"if": {
"and": [
"operator:type=ngo"
]
},
"then": {
"en": "Volunteer"
} }
}, },
{ {
@ -401,7 +402,17 @@
] ]
}, },
"then": { "then": {
"en": "Community-based, or informal organization" "en": "The station is operated by a community-based, or informal organization."
}
},
{
"if": {
"and": [
"operator:type=ngo"
]
},
"then": {
"en": "The station is operated by a formal group of volunteers."
} }
}, },
{ {
@ -411,7 +422,7 @@
] ]
}, },
"then": { "then": {
"en": "Private" "en": "The station is privately operated."
} }
} }
] ]
@ -425,7 +436,7 @@
"render": "8" "render": "8"
}, },
"iconSize": { "iconSize": {
"render": "20,20,center" "render": "35,35,center"
}, },
"color": { "color": {
"render": "#00f" "render": "#00f"
@ -470,7 +481,30 @@
"description": { "description": {
"en": "Map layer to show rescue stations." "en": "Map layer to show rescue stations."
}, },
"tagRenderings": [], "tagRenderings": [
{
"freeform": {
"key": "image"
},
"render": {
"en": "{all_tags()}"
},
"question": {
"en": "Available images."
}
},
{
"question": {
"en": "What is this service called?"
},
"freeform": {
"key": "name"
},
"render": {
"en": "This service is called {name}."
}
}
],
"hideUnderlayingFeaturesMinPercentage": 0, "hideUnderlayingFeaturesMinPercentage": 0,
"icon": { "icon": {
"render": "https://upload.wikimedia.org/wikipedia/commons/e/eb/Twemoji12_26d1.svg" "render": "https://upload.wikimedia.org/wikipedia/commons/e/eb/Twemoji12_26d1.svg"
@ -479,7 +513,7 @@
"render": "8" "render": "8"
}, },
"iconSize": { "iconSize": {
"render": "20,20,center" "render": "35,35,center"
}, },
"color": { "color": {
"render": "#00f" "render": "#00f"