Skip to content

Commit da2c88b

Browse files
committed
more detailed wetland presets (closes #281)
add presets for all categories currently documented at https://wiki.openstreetmap.org/wiki/Key:wetland also drop the tidal/salt fields where they do not apply to the more specific wetland presets
1 parent 889821d commit da2c88b

File tree

12 files changed

+244
-27
lines changed

12 files changed

+244
-27
lines changed

data/fields/wetland.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
{
22
"key": "wetland",
33
"type": "combo",
4-
"label": "Type"
4+
"label": "Type",
5+
"strings": {
6+
"options": {
7+
"marsh": "Marsh",
8+
"reedbed": "Reed Bed",
9+
"saltmarsh": "Coastal Salt Marsh",
10+
"tidalflat": "Tidal Flat",
11+
"wet_meadow": "Wet Meadow",
12+
"swamp": "Swamp",
13+
"mangrove": "Mangrove",
14+
"bog": "Bog",
15+
"fen": "Fen",
16+
"string_bog": "String Bog"
17+
}
18+
}
519
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"icon": "maki-wetland",
3+
"fields": [],
4+
"geometry": [
5+
"area"
6+
],
7+
"tags": {
8+
"natural": "wetland",
9+
"wetland": "bog"
10+
},
11+
"reference": {
12+
"key": "wetland",
13+
"value": "bog"
14+
},
15+
"terms": [],
16+
"name": "Bog"
17+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"icon": "maki-wetland",
3+
"fields": [],
4+
"geometry": [
5+
"area"
6+
],
7+
"tags": {
8+
"natural": "wetland",
9+
"wetland": "fen"
10+
},
11+
"reference": {
12+
"key": "wetland",
13+
"value": "fen"
14+
},
15+
"terms": [
16+
"groundwater"
17+
],
18+
"name": "Fen"
19+
}
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"icon": "maki-wetland",
33
"fields": [
4-
"wetland",
54
"salt",
65
"tidal"
76
],
@@ -10,8 +9,12 @@
109
],
1110
"tags": {
1211
"natural": "wetland",
13-
"wetland": "swamp"
12+
"wetland": "mangrove"
13+
},
14+
"reference": {
15+
"key": "wetland",
16+
"value": "mangrove"
1417
},
1518
"terms": [],
16-
"name": "Swamp"
19+
"name": "Mangrove"
1720
}
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"icon": "maki-wetland",
3-
"fields": [
4-
"wetland",
5-
"salt",
6-
"tidal"
7-
],
3+
"fields": [],
84
"geometry": [
95
"area"
106
],
117
"tags": {
128
"natural": "wetland",
139
"wetland": "marsh"
1410
},
11+
"reference": {
12+
"key": "wetland",
13+
"value": "marsh"
14+
},
1515
"terms": [],
1616
"name": "Marsh"
1717
}
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"icon": "maki-wetland",
3-
"fields": [
4-
"wetland",
5-
"salt",
6-
"tidal"
7-
],
3+
"fields": [],
84
"geometry": [
95
"area"
106
],
117
"tags": {
128
"natural": "wetland",
139
"wetland": "reedbed"
1410
},
11+
"reference": {
12+
"key": "wetland",
13+
"value": "reedbed"
14+
},
1515
"terms": [
1616
"reeds",
1717
"bulrushes",
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"icon": "maki-wetland",
3+
"fields": [
4+
"salt",
5+
"tidal"
6+
],
7+
"geometry": [
8+
"area"
9+
],
10+
"tags": {
11+
"natural": "wetland",
12+
"wetland": "saltmarsh"
13+
},
14+
"reference": {
15+
"key": "wetland",
16+
"value": "saltmarsh"
17+
},
18+
"terms": [
19+
"saltmarsh",
20+
"tidal"
21+
],
22+
"name": "Coastal Salt Marsh"
23+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"icon": "maki-wetland",
3+
"fields": [],
4+
"geometry": [
5+
"area"
6+
],
7+
"tags": {
8+
"natural": "wetland",
9+
"wetland": "string_bog"
10+
},
11+
"reference": {
12+
"key": "wetland",
13+
"value": "string_bog"
14+
},
15+
"terms": [
16+
"aapa moore",
17+
"strangemoore"
18+
],
19+
"aliases": [
20+
"Strong Mire"
21+
],
22+
"name": "String Bog"
23+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"icon": "maki-wetland",
3+
"fields": [],
4+
"moreFields": [
5+
"tidal"
6+
],
7+
"geometry": [
8+
"area"
9+
],
10+
"tags": {
11+
"natural": "wetland",
12+
"wetland": "swamp"
13+
},
14+
"reference": {
15+
"key": "wetland",
16+
"value": "swamp"
17+
},
18+
"terms": [
19+
"waterlogged"
20+
],
21+
"name": "Swamp"
22+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"icon": "maki-wetland",
3+
"fields": [
4+
"salt",
5+
"tidal"
6+
],
7+
"geometry": [
8+
"area"
9+
],
10+
"tags": {
11+
"natural": "wetland",
12+
"wetland": "tidalflat"
13+
},
14+
"reference": {
15+
"key": "wetland",
16+
"value": "tidalflat"
17+
},
18+
"terms": [
19+
"tidal"
20+
],
21+
"aliases": [
22+
"Mudflat"
23+
],
24+
"name": "Tidal Flat"
25+
}

0 commit comments

Comments
 (0)