Skip to content

Commit

Permalink
Add preset for Parcel Pickup Locker
Browse files Browse the repository at this point in the history
(closes #5260)
  • Loading branch information
bhousel committed Sep 6, 2018
1 parent a6b3265 commit b75e32b
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 9 deletions.
11 changes: 8 additions & 3 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2460,11 +2460,16 @@ en:
name: Newspaper Vending Machine
# 'terms: newspaper'
terms: '<translate with synonyms or related terms for ''Newspaper Vending Machine'', separated by commas>'
amenity/vending_machine/parcel_pickup:
# 'amenity=vending_machine, vending=parcel_pickup'
name: Parcel Pickup Locker
# 'terms: amazon,locker,mail,parcel,pickup'
terms: '<translate with synonyms or related terms for ''Parcel Pickup Locker'', separated by commas>'
amenity/vending_machine/parcel_pickup_dropoff:
# 'amenity=vending_machine, vending=parcel_pickup;parcel_mail_in'
name: Parcel Pickup/Dropoff Vending Machine
# 'terms: parcel,mail,pickup'
terms: '<translate with synonyms or related terms for ''Parcel Pickup/Dropoff Vending Machine'', separated by commas>'
name: Parcel Pickup/Dropoff Locker
# 'terms: mail,parcel,pickup'
terms: '<translate with synonyms or related terms for ''Parcel Pickup/Dropoff Locker'', separated by commas>'
amenity/vending_machine/parking_tickets:
# 'amenity=vending_machine, vending=parking_tickets'
name: Parking Ticket Vending Machine
Expand Down
3 changes: 2 additions & 1 deletion data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@
"amenity/vending_machine/fuel": {"icon": "maki-fuel", "fields": ["vending", "operator", "payment_multi", "currency_multi"], "geometry": ["point"], "terms": ["petrol", "fuel", "gasoline", "propane", "diesel", "lng", "cng", "biodiesel"], "tags": {"amenity": "vending_machine", "vending": "fuel"}, "reference": {"key": "vending", "value": "fuel"}, "name": "Gas Pump"},
"amenity/vending_machine/ice_cream": {"icon": "temaki-vending_machine", "fields": ["vending", "operator", "payment_multi", "currency_multi"], "geometry": ["point"], "terms": ["chocolate", "ice cream", "frozen", "popsicle", "vanilla"], "tags": {"amenity": "vending_machine", "vending": "ice_cream"}, "reference": {"key": "vending", "value": "ice_cream"}, "name": "Ice Cream Vending Machine"},
"amenity/vending_machine/newspapers": {"icon": "temaki-vending_machine", "fields": ["vending", "operator", "fee", "payment_multi", "currency_multi"], "geometry": ["point"], "terms": ["newspaper"], "tags": {"amenity": "vending_machine", "vending": "newspapers"}, "reference": {"key": "vending", "value": "newspapers"}, "name": "Newspaper Vending Machine"},
"amenity/vending_machine/parcel_pickup_dropoff": {"icon": "temaki-vending_machine", "fields": ["vending", "operator", "payment_multi", "currency_multi"], "geometry": ["point"], "terms": ["parcel", "mail", "pickup"], "tags": {"amenity": "vending_machine", "vending": "parcel_pickup;parcel_mail_in"}, "reference": {"key": "vending", "value": "parcel_pickup;parcel_mail_in"}, "name": "Parcel Pickup/Dropoff Vending Machine"},
"amenity/vending_machine/parcel_pickup_dropoff": {"icon": "temaki-vending_machine", "fields": ["vending", "operator", "payment_multi", "currency_multi"], "geometry": ["point"], "terms": ["mail", "parcel", "pickup"], "tags": {"amenity": "vending_machine", "vending": "parcel_pickup;parcel_mail_in"}, "reference": {"key": "vending", "value": "parcel_pickup;parcel_mail_in"}, "name": "Parcel Pickup/Dropoff Locker"},
"amenity/vending_machine/parcel_pickup": {"icon": "temaki-vending_machine", "fields": ["vending", "operator"], "geometry": ["point"], "terms": ["amazon", "locker", "mail", "parcel", "pickup"], "tags": {"amenity": "vending_machine", "vending": "parcel_pickup"}, "reference": {"key": "vending", "value": "parcel_pickup"}, "name": "Parcel Pickup Locker"},
"amenity/vending_machine/parking_tickets": {"icon": "temaki-vending_machine", "fields": ["vending", "operator", "payment_multi", "currency_multi"], "geometry": ["point"], "terms": ["parking", "ticket"], "tags": {"amenity": "vending_machine", "vending": "parking_tickets"}, "reference": {"key": "vending", "value": "parking_tickets"}, "matchScore": 0.94, "name": "Parking Ticket Vending Machine"},
"amenity/vending_machine/public_transport_tickets": {"icon": "temaki-vending_machine", "fields": ["vending", "operator", "payment_multi", "currency_multi"], "geometry": ["point"], "terms": ["bus", "train", "ferry", "rail", "ticket", "transportation"], "tags": {"amenity": "vending_machine", "vending": "public_transport_tickets"}, "reference": {"key": "vending", "value": "public_transport_tickets"}, "name": "Transit Ticket Vending Machine"},
"amenity/vending_machine/stamps": {"icon": "temaki-vending_machine", "fields": ["vending", "operator", "payment_multi", "currency_multi"], "geometry": ["point"], "terms": ["mail", "postage", "stamp"], "tags": {"amenity": "vending_machine", "vending": "stamps"}, "reference": {"key": "vending", "value": "stamps"}, "name": "Postage Vending Machine"},
Expand Down
26 changes: 26 additions & 0 deletions data/presets/presets/amenity/vending_machine/parcel_pickup.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"icon": "temaki-vending_machine",
"fields": [
"vending",
"operator"
],
"geometry": [
"point"
],
"terms": [
"amazon",
"locker",
"mail",
"parcel",
"pickup"
],
"tags": {
"amenity": "vending_machine",
"vending": "parcel_pickup"
},
"reference": {
"key": "vending",
"value": "parcel_pickup"
},
"name": "Parcel Pickup Locker"
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"point"
],
"terms": [
"parcel",
"mail",
"parcel",
"pickup"
],
"tags": {
Expand All @@ -22,5 +22,5 @@
"key": "vending",
"value": "parcel_pickup;parcel_mail_in"
},
"name": "Parcel Pickup/Dropoff Vending Machine"
"name": "Parcel Pickup/Dropoff Locker"
}
9 changes: 8 additions & 1 deletion data/taginfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,14 @@
{
"key": "vending",
"value": "parcel_pickup;parcel_mail_in",
"description": "Parcel Pickup/Dropoff Vending Machine",
"description": "Parcel Pickup/Dropoff Locker",
"object_types": ["node"],
"icon_url": "https://raw.githubusercontent.com/bhousel/temaki/master/icons/vending_machine.svg?sanitize=true"
},
{
"key": "vending",
"value": "parcel_pickup",
"description": "Parcel Pickup Locker",
"object_types": ["node"],
"icon_url": "https://raw.githubusercontent.com/bhousel/temaki/master/icons/vending_machine.svg?sanitize=true"
},
Expand Down
8 changes: 6 additions & 2 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3573,8 +3573,12 @@
"terms": "newspaper"
},
"amenity/vending_machine/parcel_pickup_dropoff": {
"name": "Parcel Pickup/Dropoff Vending Machine",
"terms": "parcel,mail,pickup"
"name": "Parcel Pickup/Dropoff Locker",
"terms": "mail,parcel,pickup"
},
"amenity/vending_machine/parcel_pickup": {
"name": "Parcel Pickup Locker",
"terms": "amazon,locker,mail,parcel,pickup"
},
"amenity/vending_machine/parking_tickets": {
"name": "Parking Ticket Vending Machine",
Expand Down

0 comments on commit b75e32b

Please sign in to comment.