Skip to content

Commit

Permalink
add (hidden) presets for healthcare=yes and traffic_calming=yes
Browse files Browse the repository at this point in the history
closes #547
  • Loading branch information
tyrasd committed Jul 22, 2022
1 parent b220c70 commit e32aa71
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 3 deletions.
3 changes: 2 additions & 1 deletion data/presets/healthcare.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,6 @@
"surgery",
"wellness"
],
"name": "Healthcare Facility"
"name": "Healthcare Facility",
"matchScore": 0.4
}
18 changes: 18 additions & 0 deletions data/presets/healthcare/_yes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"icon": "maki-hospital",
"fields": [
"name",
"healthcare",
"{healthcare}"
],
"geometry": [
"point",
"area"
],
"tags": {
"healthcare": "yes"
},
"searchable": false,
"matchScore": 0.5,
"name": "Healthcare Facility (Unspecified Type)"
}
3 changes: 2 additions & 1 deletion data/presets/office.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@
"terms": [
"administration"
],
"name": "Office"
"name": "Office",
"matchScore": 0.4
}
3 changes: 2 additions & 1 deletion data/presets/traffic_calming.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
"slow",
"speed"
],
"name": "Traffic Calming"
"name": "Traffic Calming",
"matchScore": 0.4
}
18 changes: 18 additions & 0 deletions data/presets/traffic_calming/_yes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"icon": "temaki-diamond",
"fields": [
"traffic_calming",
"{traffic_calming}"
],
"geometry": [
"vertex",
"line",
"area"
],
"tags": {
"traffic_calming": "yes"
},
"name": "Traffic Calming (Unspecified Type)",
"searchable": false,
"matchScore": 0.5
}

0 comments on commit e32aa71

Please sign in to comment.