Add Cycling Track preset

This commit is contained in:
Quincy Morgan
2019-03-20 15:29:05 -04:00
parent 9d940fffdb
commit 4c97f981ed
5 changed files with 47 additions and 0 deletions
+5
View File
@@ -4891,6 +4891,11 @@ en:
name: Racetrack (Non-Motorsport)
# 'terms: cycle,dog,greyhound,horse,race*,track'
terms: '<translate with synonyms or related terms for ''Racetrack (Non-Motorsport)'', separated by commas>'
leisure/track/cycling:
# 'leisure=track, sport=cycling'
name: Cycling Track
# 'terms: bicycle track,bicycling track,cycle racetrack,velodrome'
terms: '<translate with synonyms or related terms for ''Cycling Track'', separated by commas>'
leisure/track/horse_racing:
# 'leisure=track, sport=horse_racing'
name: Horse Racing Track
+1
View File
@@ -609,6 +609,7 @@
"leisure/stadium": {"icon": "maki-pitch", "fields": ["name", "sport", "address"], "moreFields": ["website", "phone", "email", "fax"], "geometry": ["point", "area"], "tags": {"leisure": "stadium"}, "name": "Stadium"},
"leisure/swimming_pool": {"icon": "maki-swimming", "fields": ["name", "access_simple", "lit", "location_pool", "length", "swimming_pool"], "moreFields": ["operator", "address"], "geometry": ["point", "area"], "terms": ["dive", "water", "aquatics"], "tags": {"leisure": "swimming_pool"}, "name": "Swimming Pool"},
"leisure/track": {"icon": "iD-other-line", "fields": ["surface", "sport_racing_nonmotor", "lit", "width", "lanes"], "geometry": ["point", "line", "area"], "tags": {"leisure": "track"}, "terms": ["cycle", "dog", "greyhound", "horse", "race*", "track"], "name": "Racetrack (Non-Motorsport)"},
"leisure/track/cycling": {"icon": "maki-bicycle", "fields": ["surface", "sport_racing_nonmotor", "lit", "width", "lanes"], "geometry": ["point", "line", "area"], "tags": {"leisure": "track", "sport": "cycling"}, "addTags": {"leisure": "track", "sport": "cycling", "highway": "cycleway"}, "removeTags": {"leisure": "track", "sport": "cycling", "highway": "cycleway"}, "terms": ["bicycle track", "bicycling track", "cycle racetrack", "velodrome"], "name": "Cycling Track"},
"leisure/track/horse_racing": {"icon": "maki-horse-riding", "fields": ["surface", "sport_racing_nonmotor", "lit", "width", "lanes"], "geometry": ["point", "line", "area"], "tags": {"leisure": "track", "sport": "horse_racing"}, "addTags": {"leisure": "track", "sport": "horse_racing", "highway": "bridleway"}, "removeTags": {"leisure": "track", "sport": "horse_racing", "highway": "bridleway"}, "terms": ["equestrian race track", "horse race betting", "horseracing", "horsetrack", "horse racetrack"], "name": "Horse Racing Track"},
"leisure/track/running": {"icon": "maki-pitch", "fields": ["surface", "sport_racing_nonmotor", "lit", "width", "lanes"], "geometry": ["point", "line", "area"], "tags": {"leisure": "track", "sport": "running"}, "addTags": {"leisure": "track", "sport": "running", "highway": "footway"}, "removeTags": {"leisure": "track", "sport": "running", "highway": "footway"}, "terms": ["athletics track", "decathlon", "foot race", "long distance running", "marathon", "middle distance running", "racetrack", "running", "sprint", "track", "walking"], "name": "Running Track"},
"leisure/water_park": {"icon": "maki-swimming", "fields": ["name", "operator", "address"], "moreFields": ["payment_multi", "brand", "website", "phone", "email", "fax"], "geometry": ["point", "area"], "terms": ["swim", "pool", "dive"], "tags": {"leisure": "water_park"}, "name": "Water Park"},
@@ -0,0 +1,36 @@
{
"icon": "maki-bicycle",
"fields": [
"surface",
"sport_racing_nonmotor",
"lit",
"width",
"lanes"
],
"geometry": [
"point",
"line",
"area"
],
"tags": {
"leisure": "track",
"sport": "cycling"
},
"addTags": {
"leisure": "track",
"sport": "cycling",
"highway": "cycleway"
},
"removeTags": {
"leisure": "track",
"sport": "cycling",
"highway": "cycleway"
},
"terms": [
"bicycle track",
"bicycling track",
"cycle racetrack",
"velodrome"
],
"name": "Cycling Track"
}
+1
View File
@@ -589,6 +589,7 @@
{"key": "leisure", "value": "stadium", "description": "🄿 Stadium", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/pitch-15.svg?sanitize=true"},
{"key": "leisure", "value": "swimming_pool", "description": "🄿 Swimming Pool", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/swimming-15.svg?sanitize=true"},
{"key": "leisure", "value": "track", "description": "🄿 Racetrack (Non-Motorsport)", "object_types": ["node", "way", "area"], "icon_url": "https://raw.githubusercontent.com/openstreetmap/iD/master/svg/iD-sprite/presets/other-line.svg?sanitize=true"},
{"key": "sport", "value": "cycling", "description": "🄿 Cycling Track", "object_types": ["node", "way", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/bicycle-15.svg?sanitize=true"},
{"key": "sport", "value": "horse_racing", "description": "🄿 Horse Racing Track", "object_types": ["node", "way", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/horse-riding-15.svg?sanitize=true"},
{"key": "sport", "value": "running", "description": "🄿 Running Track", "object_types": ["node", "way", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/pitch-15.svg?sanitize=true"},
{"key": "leisure", "value": "water_park", "description": "🄿 Water Park", "object_types": ["node", "area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/swimming-15.svg?sanitize=true"},
+4
View File
@@ -6374,6 +6374,10 @@
"name": "Racetrack (Non-Motorsport)",
"terms": "cycle,dog,greyhound,horse,race*,track"
},
"leisure/track/cycling": {
"name": "Cycling Track",
"terms": "bicycle track,bicycling track,cycle racetrack,velodrome"
},
"leisure/track/horse_racing": {
"name": "Horse Racing Track",
"terms": "equestrian race track,horse race betting,horseracing,horsetrack,horse racetrack"