Merge pull request #5862 from chadrockey/golf_paths

Presets for golf paths and cartpaths and driving ranges
This commit is contained in:
Bryan Housel
2019-02-06 21:17:30 -05:00
committed by GitHub
8 changed files with 118 additions and 4 deletions
+14 -2
View File
@@ -29,7 +29,7 @@
"building/residential"
]
},
"category-golf": {
"category-golf-area": {
"icon": "maki-golf",
"geometry": "area",
"name": "Golf Features",
@@ -40,7 +40,19 @@
"golf/rough",
"golf/bunker",
"golf/tee",
"golf/water_hazard_area"
"golf/water_hazard_area",
"golf/driving_range"
]
},
"category-golf-line": {
"icon": "maki-golf",
"geometry": "line",
"name": "Golf Features",
"members": [
"golf/hole",
"golf/cartpath",
"golf/cartpath_multipurpose",
"golf/path"
]
},
"category-landuse": {
@@ -9,6 +9,7 @@
"golf/rough",
"golf/bunker",
"golf/tee",
"golf/water_hazard_area"
"golf/water_hazard_area",
"golf/driving_range"
]
}
+11
View File
@@ -0,0 +1,11 @@
{
"icon": "maki-golf",
"geometry": "line",
"name": "Golf Features",
"members": [
"golf/hole",
"golf/cartpath",
"golf/cartpath_multipurpose",
"golf/path"
]
}
+23
View File
@@ -0,0 +1,23 @@
{
"icon": "maki-golf",
"fields": [
"name",
"surface",
"width",
"structure",
"access",
"incline"
],
"geometry": [
"line"
],
"tags": {
"golf": "cartpath",
"golf_cart": "designated"
},
"reference": {
"key": "golf",
"value": "cartpath"
},
"name": "Golf Cartpath"
}
@@ -0,0 +1,24 @@
{
"icon": "maki-golf",
"fields": [
"name",
"surface",
"width",
"structure",
"access",
"incline"
],
"geometry": [
"line"
],
"tags": {
"highway": "service",
"golf": "cartpath",
"golf_cart": "designated"
},
"reference": {
"key": "golf",
"value": "cartpath"
},
"name": "Golf Cartpath Multipurpose"
}
@@ -0,0 +1,18 @@
{
"icon": "maki-golf",
"fields": [
"name"
],
"geometry": [
"area"
],
"tags": {
"golf": "driving_range",
"landuse": "grass"
},
"reference": {
"key": "golf",
"value": "driving_range"
},
"name": "Driving Range"
}
+23
View File
@@ -0,0 +1,23 @@
{
"icon": "maki-golf",
"fields": [
"name",
"surface",
"width",
"structure",
"access",
"incline"
],
"geometry": [
"line"
],
"tags": {
"golf": "path",
"foot": "designated"
},
"reference": {
"key": "golf",
"value": "path"
},
"name": "Golf Walking Path"
}
+3 -1
View File
@@ -375,9 +375,11 @@
{"key": "entrance", "description": "🄿 Entrance/Exit, 🄵 Type", "object_types": ["node"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/entrance-alt1-15.svg?sanitize=true"},
{"key": "ford", "value": "yes", "description": "🄿 Ford", "object_types": ["node"]},
{"key": "natural", "value": "sand", "description": "🄿 Sand Trap, 🄿 Sand", "object_types": ["area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/golf-15.svg?sanitize=true"},
{"key": "landuse", "value": "grass", "description": "🄿 Fairway, 🄿 Rough, 🄿 Tee Box, 🄿 Grass", "object_types": ["area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/golf-15.svg?sanitize=true"},
{"key": "landuse", "value": "grass", "description": "🄿 Fairway, 🄿 Rough, 🄿 Tee Box, 🄿 Driving Range, 🄿 Grass", "object_types": ["area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/golf-15.svg?sanitize=true"},
{"key": "sport", "value": "golf", "description": "🄿 Putting Green", "object_types": ["area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/golf-15.svg?sanitize=true"},
{"key": "golf", "value": "hole", "description": "🄿 Golf Hole", "object_types": ["way"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/golf-15.svg?sanitize=true"},
{"key": "golf", "value": "cartpath", "description": "🄿 Golf CartPath", "object_types": ["way"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/golf-15.svg?sanitize=true"},
{"key": "golf", "value": "path", "description": "🄿 Golf Walking Path", "object_types": ["way"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/golf-15.svg?sanitize=true"},
{"key": "natural", "value": "water", "description": "🄿 Lateral Water Hazard, 🄿 Water Hazard, 🄿 Water", "object_types": ["area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/golf-15.svg?sanitize=true"},
{"key": "golf", "value": "lateral_water_hazard", "description": "🄿 Lateral Water Hazard", "object_types": ["way"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/golf-15.svg?sanitize=true"},
{"key": "golf", "value": "water_hazard", "description": "🄿 Water Hazard", "object_types": ["way"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/golf-15.svg?sanitize=true"},