mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-31 09:19:25 +02:00
Merge pull request #7832 from Nimisha94/portapotty-preset
Add portapotty preset
This commit is contained in:
@@ -3995,6 +3995,11 @@ en:
|
||||
name: Pit Latrine
|
||||
# 'terms: head,lavatory,long drop,outhouse,pit toilet,privy'
|
||||
terms: '<translate with synonyms or related terms for ''Pit Latrine'', separated by commas>'
|
||||
amenity/toilets/disposal/portapotty:
|
||||
# 'amenity=toilets, portable=yes'
|
||||
name: Portable Toilet
|
||||
# 'terms: restroom,privy,porta potty,chemical toilet'
|
||||
terms: '<translate with synonyms or related terms for ''Portable Toilet'', separated by commas>'
|
||||
amenity/townhall:
|
||||
# amenity=townhall
|
||||
name: Town Hall
|
||||
|
||||
@@ -244,6 +244,7 @@
|
||||
"amenity/toilets": {"icon": "maki-toilet", "fields": ["toilets/disposal", "access_simple", "gender", "changing_table", "wheelchair", "building_area"], "moreFields": ["charge_fee", "fee", "level", "opening_hours", "opening_hours/covid19", "operator", "payment_multi_fee", "toilets/handwashing", "toilets/position"], "geometry": ["point", "vertex", "area"], "terms": ["bathroom", "restroom", "outhouse", "privy", "head", "lavatory", "latrine", "water closet", "WC", "W.C."], "tags": {"amenity": "toilets"}, "name": "Toilets"},
|
||||
"amenity/toilets/disposal/flush": {"icon": "fas-toilet", "fields": ["toilets/disposal", "{amenity/toilets}"], "moreFields": ["{amenity/toilets}"], "geometry": ["point", "vertex", "area"], "terms": ["bathroom", "head", "lavatory", "privy", "restroom", "water closet", "WC", "W.C."], "tags": {"amenity": "toilets", "toilets:disposal": "flush"}, "reference": {"key": "toilets:disposal", "value": "flush"}, "name": "Flush Toilets"},
|
||||
"amenity/toilets/disposal/pitlatrine": {"icon": "tnp-2009541", "fields": ["toilets/disposal", "{amenity/toilets}", "toilets/handwashing"], "moreFields": ["{amenity/toilets}"], "geometry": ["point", "vertex", "area"], "terms": ["head", "lavatory", "long drop", "outhouse", "pit toilet", "privy"], "tags": {"amenity": "toilets", "toilets:disposal": "pitlatrine"}, "reference": {"key": "toilets:disposal", "value": "pitlatrine"}, "name": "Pit Latrine"},
|
||||
"amenity/toilets/disposal/portapotty": {"icon": "tnp-2009541", "fields": ["toilets/disposal", "{amenity/toilets}"], "moreFields": ["{amenity/toilets}"], "geometry": ["point", "area", "vertex"], "terms": ["restroom", "privy", "porta potty", "chemical toilet"], "addTags": {"amenity": "toilets", "toilets:disposal": "chemical", "portable": "yes"}, "tags": {"amenity": "toilets", "portable": "yes"}, "reference": {"key": "toilets:disposal", "value": "chemical"}, "name": "Portable Toilet"},
|
||||
"amenity/townhall": {"icon": "temaki-town_hall", "fields": ["name", "operator", "townhall/type", "address", "building_area"], "moreFields": ["baby_feeding", "email", "fax", "gnis/feature_id", "phone", "polling_station", "smoking", "website", "wheelchair"], "geometry": ["point", "area"], "terms": ["village", "city", "government", "courthouse", "municipal"], "tags": {"amenity": "townhall"}, "name": "Town Hall"},
|
||||
"amenity/townhall/city": {"icon": "temaki-capitol", "geometry": ["point", "area"], "terms": ["council", "courthouse", "government", "mayor", "municipality"], "tags": {"amenity": "townhall", "townhall:type": "city"}, "reference": {"key": "townhall:type", "value": "city"}, "name": "City Hall"},
|
||||
"amenity/toy_library": {"icon": "fas-chess-knight", "fields": ["operator", "address", "building_area", "opening_hours", "opening_hours/covid19"], "moreFields": ["level", "website", "wheelchair"], "geometry": ["point", "area"], "terms": ["game", "toy"], "tags": {"amenity": "toy_library"}, "name": "Toy Library"},
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"icon": "tnp-2009541",
|
||||
"fields": [
|
||||
"toilets/disposal",
|
||||
"{amenity/toilets}"
|
||||
],
|
||||
"moreFields": [
|
||||
"{amenity/toilets}"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
"area",
|
||||
"vertex"
|
||||
],
|
||||
"terms": [
|
||||
"restroom",
|
||||
"privy",
|
||||
"porta potty",
|
||||
"chemical toilet"
|
||||
],
|
||||
"addTags": {
|
||||
"amenity": "toilets",
|
||||
"toilets:disposal": "chemical",
|
||||
"portable": "yes"
|
||||
},
|
||||
"tags": {
|
||||
"amenity": "toilets",
|
||||
"portable": "yes"
|
||||
},
|
||||
"reference": {
|
||||
"key": "toilets:disposal",
|
||||
"value": "chemical"
|
||||
},
|
||||
"name": "Portable Toilet"
|
||||
}
|
||||
@@ -242,6 +242,7 @@
|
||||
{"key": "amenity", "value": "toilets", "description": "🄿 Toilets", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/toilet-15.svg"},
|
||||
{"key": "toilets:disposal", "value": "flush", "description": "🄿 Flush Toilets, 🄵 Disposal", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/fontawesome/fas-toilet.svg"},
|
||||
{"key": "toilets:disposal", "value": "pitlatrine", "description": "🄿 Pit Latrine, 🄵 Disposal", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/the-noun-project/2009541.svg"},
|
||||
{"key": "portable", "value": "yes", "description": "🄿 Portable Toilet", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/the-noun-project/2009541.svg"},
|
||||
{"key": "amenity", "value": "townhall", "description": "🄿 Town Hall", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/town_hall.svg"},
|
||||
{"key": "townhall:type", "value": "city", "description": "🄿 City Hall", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/capitol.svg"},
|
||||
{"key": "amenity", "value": "toy_library", "description": "🄿 Toy Library", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/fontawesome/fas-chess-knight.svg"},
|
||||
|
||||
4
dist/locales/en.json
vendored
4
dist/locales/en.json
vendored
@@ -6174,6 +6174,10 @@
|
||||
"name": "Pit Latrine",
|
||||
"terms": "head,lavatory,long drop,outhouse,pit toilet,privy"
|
||||
},
|
||||
"amenity/toilets/disposal/portapotty": {
|
||||
"name": "Portable Toilet",
|
||||
"terms": "restroom,privy,porta potty,chemical toilet"
|
||||
},
|
||||
"amenity/townhall": {
|
||||
"name": "Town Hall",
|
||||
"terms": "village,city,government,courthouse,municipal"
|
||||
|
||||
Reference in New Issue
Block a user