Skip to content

Commit

Permalink
add toilets field as optional field of more POI presets & add toilets…
Browse files Browse the repository at this point in the history
…:wheelchair field (#325)
  • Loading branch information
tyrasd authored Oct 17, 2022
1 parent 2358f85 commit a2615ce
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 0 deletions.
16 changes: 16 additions & 0 deletions data/fields/toilets/wheelchair.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"key": "toilets/wheelchair",
"type": "radio",
"strings": {
"options": {
"yes": "Yes",
"limited": "Limited",
"no": "No"
}
},
"label": "Wheelchair Accessible Toilet",
"prerequisiteTag": {
"key": "toilets",
"valueNot": "no"
}
}
2 changes: 2 additions & 0 deletions data/presets/amenity/cafe.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
"reservation",
"smoking",
"takeaway",
"toilets",
"toilets/wheelchair",
"wheelchair",
"highchair"
],
Expand Down
2 changes: 2 additions & 0 deletions data/presets/amenity/pub.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
"ref/FR/siret-FR",
"real_fire-GB-IE",
"sport_pub",
"toilets",
"toilets/wheelchair",
"wheelchair"
],
"geometry": [
Expand Down
2 changes: 2 additions & 0 deletions data/presets/amenity/restaurant.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
"sport_pub",
"stars",
"takeaway",
"toilets",
"toilets/wheelchair",
"wheelchair",
"highchair"
],
Expand Down
2 changes: 2 additions & 0 deletions data/presets/shop.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
"ref/FR/siret-FR",
"second_hand",
"stroller",
"toilets",
"toilets/wheelchair",
"wheelchair"
],
"geometry": [
Expand Down
2 changes: 2 additions & 0 deletions data/presets/tourism/aquarium.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"phone",
"ref/vatin",
"smoking",
"toilets",
"toilets/wheelchair",
"wheelchair"
],
"geometry": [
Expand Down
2 changes: 2 additions & 0 deletions data/presets/tourism/gallery.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
"payment_multi",
"phone",
"ref/vatin",
"toilets",
"toilets/wheelchair",
"wheelchair"
],
"geometry": [
Expand Down
2 changes: 2 additions & 0 deletions data/presets/tourism/information/office.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
"height_building",
"internet_access/ssid",
"phone",
"toilets",
"toilets/wheelchair",
"wheelchair"
],
"geometry": [
Expand Down
2 changes: 2 additions & 0 deletions data/presets/tourism/museum.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
"opening_hours/covid19",
"payment_multi",
"phone",
"toilets",
"toilets/wheelchair",
"wheelchair"
],
"geometry": [
Expand Down
2 changes: 2 additions & 0 deletions data/presets/tourism/zoo.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
"opening_hours/covid19",
"phone",
"ref/vatin",
"toilets",
"toilets/wheelchair",
"wheelchair"
],
"geometry": [
Expand Down
11 changes: 11 additions & 0 deletions interim/source_strings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3656,6 +3656,17 @@ en:
# toilets:position=*
label: Positions
terms: '[translate with synonyms or related terms for ''Positions'', separated by commas]'
toilets/wheelchair:
# toilets/wheelchair=*
label: Wheelchair Accessible Toilet
options:
# toilets/wheelchair=limited
limited: Limited
# toilets/wheelchair=no
'no': 'No'
# toilets/wheelchair=yes
'yes': 'Yes'
terms: '[translate with synonyms or related terms for ''Wheelchair Accessible Toilet'', separated by commas]'
toll:
# toll=*
label: Toll
Expand Down

0 comments on commit a2615ce

Please sign in to comment.