Skip to content

Commit

Permalink
add "toilets:menstrual_products" field also to pois with toilet tag
Browse files Browse the repository at this point in the history
see #1116
  • Loading branch information
tyrasd committed Feb 15, 2024
1 parent 5d31e7e commit 7d42b9c
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 7 deletions.
10 changes: 10 additions & 0 deletions data/fields/toilets/menstrual_products_poi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"key": "toilets:menstrual_products",
"type": "radio",
"stringsCrossReference": "{toilets/menstrual_products}",
"label": "{toilets/menstrual_products}",
"prerequisiteTag": {
"key": "toilets",
"valueNot": "no"
}
}
1 change: 1 addition & 0 deletions data/presets/amenity/cafe.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"takeaway",
"toilets",
"toilets/wheelchair",
"toilets/menstrual_products_poi",
"fhrs/id-GB",
"website/menu"
],
Expand Down
1 change: 1 addition & 0 deletions data/presets/amenity/pub.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"sport/sport_pub",
"toilets",
"toilets/wheelchair",
"toilets/menstrual_products_poi",
"website/menu"
],
"geometry": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/amenity/research_institute.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"gnis/feature_id-US",
"toilets",
"toilets/wheelchair",
"toilets/menstrual_products_poi",
"wheelchair"
],
"geometry": [
Expand Down
1 change: 1 addition & 0 deletions data/presets/amenity/restaurant.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"takeaway",
"toilets",
"toilets/wheelchair",
"toilets/menstrual_products_poi",
"website/menu"
],
"geometry": [
Expand Down
2 changes: 1 addition & 1 deletion data/presets/natural/beach.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"fields": [
"name",
"surface",
"lifeguard",
"lifeguard_check",
"supervised"
],
"geometry": [
Expand Down
3 changes: 2 additions & 1 deletion data/presets/shop.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"second_hand",
"stroller",
"toilets",
"toilets/wheelchair"
"toilets/wheelchair",
"toilets/menstrual_products_poi"
],
"geometry": [
"point",
Expand Down
3 changes: 2 additions & 1 deletion data/presets/tourism/aquarium.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"fee",
"smoking",
"toilets",
"toilets/wheelchair"
"toilets/wheelchair",
"toilets/menstrual_products_poi"
],
"geometry": [
"point",
Expand Down
3 changes: 2 additions & 1 deletion data/presets/tourism/gallery.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"{@templates/internet_access}",
"{@templates/poi}",
"toilets",
"toilets/wheelchair"
"toilets/wheelchair",
"toilets/menstrual_products_poi"
],
"geometry": [
"point",
Expand Down
3 changes: 2 additions & 1 deletion data/presets/tourism/information/office.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"building/levels_building",
"height_building",
"toilets",
"toilets/wheelchair"
"toilets/wheelchair",
"toilets/menstrual_products_poi"
],
"geometry": [
"point",
Expand Down
3 changes: 2 additions & 1 deletion data/presets/tourism/museum.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"fee",
"height_building",
"toilets",
"toilets/wheelchair"
"toilets/wheelchair",
"toilets/menstrual_products_poi"
],
"geometry": [
"point",
Expand Down
3 changes: 2 additions & 1 deletion data/presets/tourism/zoo.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"{@templates/internet_access}",
"{@templates/poi}",
"toilets",
"toilets/wheelchair"
"toilets/wheelchair",
"toilets/menstrual_products_poi"
],
"geometry": [
"point",
Expand Down

0 comments on commit 7d42b9c

Please sign in to comment.