Skip to content

Commit

Permalink
Add a natural features category, fixes #2843
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajith Ranka committed Jan 13, 2017
1 parent cb26859 commit 69a6f1c
Show file tree
Hide file tree
Showing 8 changed files with 91 additions and 0 deletions.
6 changes: 6 additions & 0 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ en:
name: Golf Features
category-landuse:
name: Land Use Features
category-natual-line:
name: Natural Features
category-natural-area:
name: Natural Features
category-natural-point:
name: Natural Features
category-path:
name: Path Features
category-rail:
Expand Down
37 changes: 37 additions & 0 deletions data/presets/categories.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,43 @@
"landuse/military"
]
},
"category-natual-line": {
"geometry": "line",
"name": "Natural Features",
"icon": "natural",
"members": [
"natural/coastline",
"natural/tree_row"
]
},
"category-natural-area": {
"geometry": "area",
"name": "Natural Features",
"icon": "natural",
"members": [
"natural/water",
"natural/wood",
"natural/scrub",
"natural/wetland",
"natural/grassland",
"natural/heath",
"natural/bare_rock",
"natural/beach",
"natural/cave_entrance",
"natural/glacier"
]
},
"category-natural-point": {
"geometry": "point",
"name": "Natural Features",
"icon": "natural",
"members": [
"natural/peak",
"natural/cliff",
"natural/beach",
"natural/cave_entrance"
]
},
"category-path": {
"geometry": "line",
"name": "Path Features",
Expand Down
9 changes: 9 additions & 0 deletions data/presets/categories/natual-line.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"geometry": "line",
"name": "Natural Features",
"icon": "natural",
"members": [
"natural/coastline",
"natural/tree_row"
]
}
17 changes: 17 additions & 0 deletions data/presets/categories/natural-area.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"geometry": "area",
"name": "Natural Features",
"icon": "natural",
"members": [
"natural/water",
"natural/wood",
"natural/scrub",
"natural/wetland",
"natural/grassland",
"natural/heath",
"natural/bare_rock",
"natural/beach",
"natural/cave_entrance",
"natural/glacier"
]
}
11 changes: 11 additions & 0 deletions data/presets/categories/natural-point.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"geometry": "point",
"name": "Natural Features",
"icon": "natural",
"members": [
"natural/peak",
"natural/cliff",
"natural/beach",
"natural/cave_entrance"
]
}
1 change: 1 addition & 0 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -7827,6 +7827,7 @@
"name": "Cave Entrance"
},
"natural/cliff": {
"icon": "triangle",
"geometry": [
"point",
"vertex",
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/natural/cliff.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"icon": "triangle",
"geometry": [
"point",
"vertex",
Expand Down
9 changes: 9 additions & 0 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,15 @@
"category-landuse": {
"name": "Land Use Features"
},
"category-natual-line": {
"name": "Natural Features"
},
"category-natural-area": {
"name": "Natural Features"
},
"category-natural-point": {
"name": "Natural Features"
},
"category-path": {
"name": "Path Features"
},
Expand Down

0 comments on commit 69a6f1c

Please sign in to comment.