Merge pull request #4375 from openstreetmap/playground

Adding playground presets
This commit is contained in:
Bryan Housel
2017-09-26 14:33:25 -04:00
committed by GitHub
23 changed files with 578 additions and 0 deletions

View File

@@ -1041,6 +1041,15 @@ en:
label: Power Output
# plant/output/electricity field placeholder
placeholder: '500 MW, 1000 MW, 2000 MW...'
playground/baby:
# baby=*
label: Baby Seat
playground/max_age:
# max_age=*
label: Maximum Age
playground/min_age:
# max_age=*
label: Minimum Age
population:
# population=*
label: Population
@@ -3962,6 +3971,64 @@ en:
# place=village
name: Village
terms: '<translate with synonyms or related terms for ''Village'', separated by commas>'
playground/balance_beam:
# playground=balancebeam
name: Balance Beam
terms: '<translate with synonyms or related terms for ''Balance Beam'', separated by commas>'
playground/basket_spinner:
# playground=basketrotator
name: Basket Spinner
# 'terms: basket rotator'
terms: '<translate with synonyms or related terms for ''Basket Spinner'', separated by commas>'
playground/basket_swing:
# playground=basketswing
name: Basket Swing
terms: '<translate with synonyms or related terms for ''Basket Swing'', separated by commas>'
playground/climbing_frame:
# playground=climbingframe
name: Climbing Frame
terms: '<translate with synonyms or related terms for ''Climbing Frame'', separated by commas>'
playground/cushion:
# playground=cushion
name: Bouncy Cushion
terms: '<translate with synonyms or related terms for ''Bouncy Cushion'', separated by commas>'
playground/horizontal_bar:
# playground=horizontal_bar
name: Horizontal Bar
# 'terms: high bar'
terms: '<translate with synonyms or related terms for ''Horizontal Bar'', separated by commas>'
playground/rocker:
# playground=springy
name: Springy Rocker
terms: '<translate with synonyms or related terms for ''Springy Rocker'', separated by commas>'
playground/roundabout:
# playground=roundabout
name: Play Roundabout
terms: '<translate with synonyms or related terms for ''Play Roundabout'', separated by commas>'
playground/sandpit:
# playground=sandpit
name: Sandpit
terms: '<translate with synonyms or related terms for ''Sandpit'', separated by commas>'
playground/seesaw:
# playground=seesaw
name: Seesaw
terms: '<translate with synonyms or related terms for ''Seesaw'', separated by commas>'
playground/slide:
# playground=slide
name: Slide
terms: '<translate with synonyms or related terms for ''Slide'', separated by commas>'
playground/structure:
# playground=structure
name: Play Structure
terms: '<translate with synonyms or related terms for ''Play Structure'', separated by commas>'
playground/swing:
# playground=swing
name: Swing
terms: '<translate with synonyms or related terms for ''Swing'', separated by commas>'
playground/zipwire:
# playground=zipwire
name: Zip Wire
terms: '<translate with synonyms or related terms for ''Zip Wire'', separated by commas>'
point:
name: Point
terms: '<translate with synonyms or related terms for ''Point'', separated by commas>'

View File

@@ -1383,6 +1383,21 @@
"label": "Power Output",
"placeholder": "500 MW, 1000 MW, 2000 MW..."
},
"playground/baby": {
"key": "baby",
"type": "check",
"label": "Baby Seat"
},
"playground/max_age": {
"key": "max_age",
"type": "number",
"label": "Maximum Age"
},
"playground/min_age": {
"key": "max_age",
"type": "number",
"label": "Minimum Age"
},
"population": {
"key": "population",
"type": "text",

View File

@@ -0,0 +1,5 @@
{
"key": "baby",
"type": "check",
"label": "Baby Seat"
}

View File

@@ -0,0 +1,5 @@
{
"key": "max_age",
"type": "number",
"label": "Maximum Age"
}

View File

@@ -0,0 +1,5 @@
{
"key": "max_age",
"type": "number",
"label": "Minimum Age"
}

View File

@@ -9492,6 +9492,14 @@
},
"leisure/playground": {
"icon": "playground",
"fields": [
"name",
"operator",
"surface",
"playground/max_age",
"playground/min_age",
"access_simple"
],
"geometry": [
"point",
"area"
@@ -11476,6 +11484,170 @@
},
"name": "Village"
},
"playground/balance_beam": {
"icon": "playground",
"geometry": [
"point",
"line"
],
"tags": {
"playground": "balancebeam"
},
"name": "Balance Beam"
},
"playground/basket_spinner": {
"icon": "playground",
"geometry": [
"point"
],
"terms": [
"basket rotator"
],
"tags": {
"playground": "basketrotator"
},
"name": "Basket Spinner"
},
"playground/basket_swing": {
"icon": "playground",
"geometry": [
"point"
],
"tags": {
"playground": "basketswing"
},
"name": "Basket Swing"
},
"playground/climbing_frame": {
"icon": "playground",
"geometry": [
"point",
"area"
],
"tags": {
"playground": "climbingframe"
},
"name": "Climbing Frame"
},
"playground/cushion": {
"icon": "playground",
"geometry": [
"point",
"area"
],
"tags": {
"playground": "cushion"
},
"name": "Bouncy Cushion"
},
"playground/horizontal_bar": {
"icon": "pitch",
"fields": [
"height"
],
"geometry": [
"point"
],
"terms": [
"high bar"
],
"tags": {
"playground": "horizontal_bar"
},
"name": "Horizontal Bar"
},
"playground/rocker": {
"icon": "playground",
"geometry": [
"point"
],
"tags": {
"playground": "springy"
},
"name": "Springy Rocker"
},
"playground/roundabout": {
"icon": "stadium",
"fields": [
"bench"
],
"geometry": [
"point",
"area"
],
"tags": {
"playground": "roundabout"
},
"name": "Play Roundabout"
},
"playground/sandpit": {
"icon": "playground",
"geometry": [
"point",
"area"
],
"tags": {
"playground": "sandpit"
},
"name": "Sandpit"
},
"playground/seesaw": {
"icon": "playground",
"geometry": [
"point"
],
"tags": {
"playground": "seesaw"
},
"name": "Seesaw"
},
"playground/slide": {
"icon": "playground",
"geometry": [
"point",
"line"
],
"tags": {
"playground": "slide"
},
"name": "Slide"
},
"playground/structure": {
"icon": "pitch",
"geometry": [
"point",
"area"
],
"tags": {
"playground": "structure"
},
"name": "Play Structure"
},
"playground/swing": {
"icon": "playground",
"fields": [
"playground/baby",
"wheelchair"
],
"geometry": [
"point"
],
"tags": {
"playground": "swing"
},
"name": "Swing"
},
"playground/zipwire": {
"icon": "playground",
"geometry": [
"point",
"line"
],
"tags": {
"playground": "zipwire"
},
"name": "Zip Wire"
},
"point": {
"fields": [
"name"
@@ -56168,6 +56340,14 @@
"point",
"area"
],
"fields": [
"name",
"operator",
"surface",
"playground/max_age",
"playground/min_age",
"access_simple"
],
"suggestion": true
},
"leisure/playground/놀이터": {
@@ -56181,6 +56361,14 @@
"point",
"area"
],
"fields": [
"name",
"operator",
"surface",
"playground/max_age",
"playground/min_age",
"access_simple"
],
"suggestion": true
},
"leisure/sports_centre/Anytime Fitness": {

View File

@@ -1,5 +1,13 @@
{
"icon": "playground",
"fields": [
"name",
"operator",
"surface",
"playground/max_age",
"playground/min_age",
"access_simple"
],
"geometry": [
"point",
"area"

View File

@@ -0,0 +1,11 @@
{
"icon": "playground",
"geometry": [
"point",
"line"
],
"tags": {
"playground": "balancebeam"
},
"name": "Balance Beam"
}

View File

@@ -0,0 +1,13 @@
{
"icon": "playground",
"geometry": [
"point"
],
"terms": [
"basket rotator"
],
"tags": {
"playground": "basketrotator"
},
"name": "Basket Spinner"
}

View File

@@ -0,0 +1,10 @@
{
"icon": "playground",
"geometry": [
"point"
],
"tags": {
"playground": "basketswing"
},
"name": "Basket Swing"
}

View File

@@ -0,0 +1,11 @@
{
"icon": "playground",
"geometry": [
"point",
"area"
],
"tags": {
"playground": "climbingframe"
},
"name": "Climbing Frame"
}

View File

@@ -0,0 +1,11 @@
{
"icon": "playground",
"geometry": [
"point",
"area"
],
"tags": {
"playground": "cushion"
},
"name": "Bouncy Cushion"
}

View File

@@ -0,0 +1,16 @@
{
"icon": "pitch",
"fields": [
"height"
],
"geometry": [
"point"
],
"terms": [
"high bar"
],
"tags": {
"playground": "horizontal_bar"
},
"name": "Horizontal Bar"
}

View File

@@ -0,0 +1,10 @@
{
"icon": "playground",
"geometry": [
"point"
],
"tags": {
"playground": "springy"
},
"name": "Springy Rocker"
}

View File

@@ -0,0 +1,14 @@
{
"icon": "stadium",
"fields": [
"bench"
],
"geometry": [
"point",
"area"
],
"tags": {
"playground": "roundabout"
},
"name": "Play Roundabout"
}

View File

@@ -0,0 +1,11 @@
{
"icon": "playground",
"geometry": [
"point",
"area"
],
"tags": {
"playground": "sandpit"
},
"name": "Sandpit"
}

View File

@@ -0,0 +1,10 @@
{
"icon": "playground",
"geometry": [
"point"
],
"tags": {
"playground": "seesaw"
},
"name": "Seesaw"
}

View File

@@ -0,0 +1,11 @@
{
"icon": "playground",
"geometry": [
"point",
"line"
],
"tags": {
"playground": "slide"
},
"name": "Slide"
}

View File

@@ -0,0 +1,11 @@
{
"icon": "pitch",
"geometry": [
"point",
"area"
],
"tags": {
"playground": "structure"
},
"name": "Play Structure"
}

View File

@@ -0,0 +1,14 @@
{
"icon": "playground",
"fields": [
"playground/baby",
"wheelchair"
],
"geometry": [
"point"
],
"tags": {
"playground": "swing"
},
"name": "Swing"
}

View File

@@ -0,0 +1,11 @@
{
"icon": "playground",
"geometry": [
"point",
"line"
],
"tags": {
"playground": "zipwire"
},
"name": "Zip Wire"
}

View File

@@ -2220,6 +2220,62 @@
"key": "place",
"value": "village"
},
{
"key": "playground",
"value": "balancebeam"
},
{
"key": "playground",
"value": "basketrotator"
},
{
"key": "playground",
"value": "basketswing"
},
{
"key": "playground",
"value": "climbingframe"
},
{
"key": "playground",
"value": "cushion"
},
{
"key": "playground",
"value": "horizontal_bar"
},
{
"key": "playground",
"value": "springy"
},
{
"key": "playground",
"value": "roundabout"
},
{
"key": "playground",
"value": "sandpit"
},
{
"key": "playground",
"value": "seesaw"
},
{
"key": "playground",
"value": "slide"
},
{
"key": "playground",
"value": "structure"
},
{
"key": "playground",
"value": "swing"
},
{
"key": "playground",
"value": "zipwire"
},
{
"key": "power",
"value": "sub_station"

65
dist/locales/en.json vendored
View File

@@ -1955,6 +1955,15 @@
"label": "Power Output",
"placeholder": "500 MW, 1000 MW, 2000 MW..."
},
"playground/baby": {
"label": "Baby Seat"
},
"playground/max_age": {
"label": "Maximum Age"
},
"playground/min_age": {
"label": "Minimum Age"
},
"population": {
"label": "Population"
},
@@ -4572,6 +4581,62 @@
"name": "Village",
"terms": ""
},
"playground/balance_beam": {
"name": "Balance Beam",
"terms": ""
},
"playground/basket_spinner": {
"name": "Basket Spinner",
"terms": "basket rotator"
},
"playground/basket_swing": {
"name": "Basket Swing",
"terms": ""
},
"playground/climbing_frame": {
"name": "Climbing Frame",
"terms": ""
},
"playground/cushion": {
"name": "Bouncy Cushion",
"terms": ""
},
"playground/horizontal_bar": {
"name": "Horizontal Bar",
"terms": "high bar"
},
"playground/rocker": {
"name": "Springy Rocker",
"terms": ""
},
"playground/roundabout": {
"name": "Play Roundabout",
"terms": ""
},
"playground/sandpit": {
"name": "Sandpit",
"terms": ""
},
"playground/seesaw": {
"name": "Seesaw",
"terms": ""
},
"playground/slide": {
"name": "Slide",
"terms": ""
},
"playground/structure": {
"name": "Play Structure",
"terms": ""
},
"playground/swing": {
"name": "Swing",
"terms": ""
},
"playground/zipwire": {
"name": "Zip Wire",
"terms": ""
},
"point": {
"name": "Point",
"terms": ""