Skip to content
14 changes: 14 additions & 0 deletions data/fields/barrier_planter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"key": "barrier",
"type": "defaultCheck",
"label": "Barrier",
"geometry": [
"vertex"
],
"strings": {
"options": {
"undefined": "No",
"planter": "Yes"
}
}
}
6 changes: 6 additions & 0 deletions data/fields/maxwidth.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"key": "maxwidth",
"type": "roadheight",
"label": "Max Width",
"snake_case": false
}
11 changes: 11 additions & 0 deletions data/presets/barrier/_ditch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"icon": "maki-roadblock",
"geometry": [
"line"
],
"tags": {
"barrier": "ditch"
},
"name": "Ditch",
"searchable": false
}
11 changes: 11 additions & 0 deletions data/presets/barrier/_handrail.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"icon": "temaki-railing",
"geometry": [
"line"
],
"tags": {
"barrier": "handrail"
},
"name": "Handrail",
"searchable": false
}
15 changes: 15 additions & 0 deletions data/presets/barrier/_log.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"icon": "maki-roadblock",
"fields": [
"access"
],
"geometry": [
"vertex",
"line"
],
"tags": {
"barrier": "log"
},
"name": "Fallen Tree",
"searchable": false
}
16 changes: 16 additions & 0 deletions data/presets/barrier/_planter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"icon": "maki-garden",
"fields": [
"access",
"material"
],
"geometry": [
"vertex"
],
"tags": {
"barrier": "planter",
"man_made": "planter"
},
"name": "Planter (Barrier)",
"searchable": false
}
16 changes: 16 additions & 0 deletions data/presets/barrier/bump_gate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"icon": "maki-roadblock",
"fields": [
"access"
],
"geometry": [
"vertex"
],
"terms": [
"drive-through gate"
],
"tags": {
"barrier": "bump_gate"
},
"name": "Bump Gate"
}
19 changes: 19 additions & 0 deletions data/presets/barrier/bus_trap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"icon": "maki-roadblock",
"fields": [
"access"
],
"moreFields": [
"maxwidth"
],
"geometry": [
"vertex"
],
"terms": [
"car trap"
],
"tags": {
"barrier": "bus_trap"
},
"name": "Bus Trap"
}
18 changes: 18 additions & 0 deletions data/presets/barrier/cable_barrier.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"icon": "maki-roadblock",
"fields": [
"height",
"material"
],
"geometry": [
"line"
],
"tags": {
"barrier": "cable_barrier"
},
"terms": [
"guard cable",
"wire rope safety barrier"
],
"name": "Cable Barrier"
}
17 changes: 17 additions & 0 deletions data/presets/barrier/full-height_turnstile.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"icon": "maki-roadblock",
"fields": [
"access"
],
"geometry": [
"vertex"
],
"terms": [
"baffle gate",
"turnstyle"
],
"tags": {
"barrier": "full-height_turnstile"
},
"name": "Full-height Turnstile"
Comment thread
arch0345 marked this conversation as resolved.
}
17 changes: 17 additions & 0 deletions data/presets/barrier/hampshire_gate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"icon": "temaki-gate",
"fields": [
"access"
],
"geometry": [
"vertex"
],
"tags": {
"barrier": "hampshire_gate"
},
"terms": [
"new zealand gate",
"wire gate"
],
"name": "Hampshire Gate"
Comment thread
arch0345 marked this conversation as resolved.
Comment thread
arch0345 marked this conversation as resolved.
}
29 changes: 29 additions & 0 deletions data/presets/barrier/jersey_barrier.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"icon": "maki-roadblock",
"fields": [
"height",
"material"
],
"moreFields": [
"access"
],
"geometry": [
"point",
"line"
],
"tags": {
"barrier": "jersey_barrier"
},
"terms": [
"concrete median",
"concrete barrier",
"constant-slope barrier",
"f-shape barrier",
"k-rail",
"median",
"new jersey wall",
"ontario tall wall",
"plastic barrier"
],
"name": "Jersey Barrier"
}
16 changes: 16 additions & 0 deletions data/presets/barrier/motorcycle_barrier.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"icon": "maki-roadblock",
"fields": [
"access"
],
Comment thread
arch0345 marked this conversation as resolved.
"moreFields": [
"wheelchair"
],
"geometry": [
"vertex"
],
"tags": {
"barrier": "motorcycle_barrier"
},
"name": "Motorcycle Barrier"
}
14 changes: 14 additions & 0 deletions data/presets/barrier/rope.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"icon": "temaki-rope_fence",
"fields": [
"access"
],
"geometry": [
"vertex",
"line"
],
"tags": {
"barrier": "rope"
},
"name": "Rope Fence"
}
17 changes: 17 additions & 0 deletions data/presets/barrier/wicket_gate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"icon": "temaki-gate",
"geometry": [
"vertex",
"line"
],
"fields": [
"access"
],
"moreFields": [
"entrance"
],
"tags": {
"barrier": "wicket_gate"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this tag refer to the way the gate is constructed (small), its purpose (pedestrian access), or its location (secondary), or some combination? I’m finding the preset difficult to translate due to this ambiguity.

Copy link
Copy Markdown
Member

@tyrasd tyrasd Jul 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I understand, the term refers only to a secondary gate for pedestrians near (or in1) a larger gate.

Footnotes

  1. I would say that in OSM the barrier=wicket_gate probably only applies to the situation where the wicket is actually a separate entrance (as in this example), and not for wicket doors which are built directly into a large gate (example). The latter should probably be modeled as an attribute of the main gate (e.g. barrier=gate + wicket=yes), I assume.

},
"name": "Wicket Gate"
}
17 changes: 17 additions & 0 deletions data/presets/man_made/planter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"icon": "maki-garden",
"geometry": [
"point",
"vertex",
"area"
],
"fields": [
"material",
"barrier_planter"
],
"tags": {
"man_made": "planter"
},
"matchScore": 0.9,
"name": "Planter"
}