From 642e651f5da8ec2b70259f3bb9691d40015a31b7 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Thu, 23 May 2019 14:08:20 -0400 Subject: [PATCH] Add Field Hockey Pitch preset --- data/presets.yaml | 5 +++++ data/presets/presets.json | 1 + .../presets/leisure/pitch/field_hockey.json | 19 +++++++++++++++++++ data/taginfo.json | 1 + dist/locales/en.json | 4 ++++ 5 files changed, 30 insertions(+) create mode 100644 data/presets/presets/leisure/pitch/field_hockey.json diff --git a/data/presets.yaml b/data/presets.yaml index dab26245b..6b5ed5ff5 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -5154,6 +5154,11 @@ en: name: Riding Arena # 'terms: dressage,equestrian,horse,horseback,riding' terms: '' + leisure/pitch/field_hockey: + # 'leisure=pitch, sport=field_hockey' + name: Field Hockey Pitch + # 'terms: landhockey' + terms: '' leisure/pitch/horseshoes: # 'leisure=pitch, sport=horseshoes' name: Horseshoes Pit diff --git a/data/presets/presets.json b/data/presets/presets.json index 886c52688..efd176fcf 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -643,6 +643,7 @@ "leisure/pitch/bowls": {"icon": "maki-pitch", "geometry": ["point", "area"], "tags": {"leisure": "pitch", "sport": "bowls"}, "reference": {"key": "sport", "value": "bowls"}, "terms": [], "name": "Bowling Green"}, "leisure/pitch/cricket": {"icon": "maki-cricket", "geometry": ["point", "area"], "tags": {"leisure": "pitch", "sport": "cricket"}, "reference": {"key": "sport", "value": "cricket"}, "terms": [], "name": "Cricket Field"}, "leisure/pitch/equestrian": {"icon": "maki-horse-riding", "fields": ["{leisure/pitch}", "building"], "geometry": ["point", "area"], "tags": {"leisure": "pitch", "sport": "equestrian"}, "reference": {"key": "sport", "value": "equestrian"}, "terms": ["dressage", "equestrian", "horse", "horseback", "riding"], "name": "Riding Arena"}, + "leisure/pitch/field_hockey": {"icon": "maki-pitch", "geometry": ["point", "area"], "tags": {"leisure": "pitch", "sport": "field_hockey"}, "reference": {"key": "sport", "value": "field_hockey"}, "terms": ["landhockey"], "name": "Field Hockey Pitch"}, "leisure/pitch/horseshoes": {"icon": "maki-pitch", "geometry": ["point", "area"], "tags": {"leisure": "pitch", "sport": "horseshoes"}, "reference": {"key": "sport", "value": "horseshoes"}, "terms": ["horse shoes"], "name": "Horseshoes Pit"}, "leisure/pitch/netball": {"icon": "maki-volleyball", "geometry": ["point", "area"], "tags": {"leisure": "pitch", "sport": "netball"}, "reference": {"key": "sport", "value": "netball"}, "terms": [], "name": "Netball Court"}, "leisure/pitch/rugby_league": {"icon": "maki-american-football", "geometry": ["point", "area"], "tags": {"leisure": "pitch", "sport": "rugby_league"}, "reference": {"key": "sport", "value": "rugby_league"}, "terms": [], "name": "Rugby League Field"}, diff --git a/data/presets/presets/leisure/pitch/field_hockey.json b/data/presets/presets/leisure/pitch/field_hockey.json new file mode 100644 index 000000000..7ac2a0bf9 --- /dev/null +++ b/data/presets/presets/leisure/pitch/field_hockey.json @@ -0,0 +1,19 @@ +{ + "icon": "maki-pitch", + "geometry": [ + "point", + "area" + ], + "tags": { + "leisure": "pitch", + "sport": "field_hockey" + }, + "reference": { + "key": "sport", + "value": "field_hockey" + }, + "terms": [ + "landhockey" + ], + "name": "Field Hockey Pitch" +} diff --git a/data/taginfo.json b/data/taginfo.json index 16fd50cdd..c3bebe7c2 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -621,6 +621,7 @@ {"key": "sport", "value": "bowls", "description": "🄿 Bowling Green", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/pitch-15.svg?sanitize=true"}, {"key": "sport", "value": "cricket", "description": "🄿 Cricket Field", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/cricket-15.svg?sanitize=true"}, {"key": "sport", "value": "equestrian", "description": "🄿 Riding Arena, 🄵 Dressage Riding", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/horse-riding-15.svg?sanitize=true"}, + {"key": "sport", "value": "field_hockey", "description": "🄿 Field Hockey Pitch", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/pitch-15.svg?sanitize=true"}, {"key": "sport", "value": "horseshoes", "description": "🄿 Horseshoes Pit", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/pitch-15.svg?sanitize=true"}, {"key": "sport", "value": "netball", "description": "🄿 Netball Court", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/volleyball-15.svg?sanitize=true"}, {"key": "sport", "value": "rugby_league", "description": "🄿 Rugby League Field", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/american-football-15.svg?sanitize=true"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index 3ac2bdecd..409656fbd 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -6875,6 +6875,10 @@ "name": "Riding Arena", "terms": "dressage,equestrian,horse,horseback,riding" }, + "leisure/pitch/field_hockey": { + "name": "Field Hockey Pitch", + "terms": "landhockey" + }, "leisure/pitch/horseshoes": { "name": "Horseshoes Pit", "terms": "horse shoes"