From b6615d2c34083282c098dc9ec1f043e56732e2bf Mon Sep 17 00:00:00 2001
From: Evan Siroky <evan.siroky@yahoo.com>
Date: Fri, 11 Sep 2020 12:57:10 -0700
Subject: [PATCH] Update children.json

Not sure if I did this right, but I updated the query for children's changing table to use the [changing_table](https://wiki.openstreetmap.org/wiki/Key:changing_table) key instead of the now deprecated [diaper](https://wiki.openstreetmap.org/wiki/Key:diaper) key.
---
 children.json | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/children.json b/children.json
index fa2efec..03332fe 100644
--- a/children.json
+++ b/children.json
@@ -16,8 +16,7 @@
             "node[shop~'^(baby_goods|toys)$'];",
             "way[shop~'^(baby_goods|toys)$'];",
             "relation[shop~'^(baby_goods|toys)$'];",
-            "node[amenity=toilets][diaper];",
-            "way[amenity=toilets][diaper];relation[amenity=toilets][diaper];",
+            "nwr[amenity=toilets][changing_table][changing_table!=no];",
             "node[kids_area];",
             "way[kids_area];",
             "relation[kids_area];",
@@ -36,7 +35,7 @@
             "{{ keyTrans('kids_area') }}",
             "{% elseif tags.shop=='baby_goods' or tags.shop=='toys' %}",
             "{{ keyTrans('shop') }}: {{ tagTrans('shop', tags.shop) }}",
-            "{% elseif tags.amenity=='toilets' and tags.diaper %}",
+            "{% elseif tags.amenity=='toilets' and tags.changing_table and tags.changing_table!='no' %}",
             "{{ tagTrans('amenity', 'toilets diaper=yes') }}",
             "{% endif %}"
         ],
@@ -49,7 +48,7 @@
             "🏠",
             "{% elseif tags.shop=='baby_goods' or tags.shop=='toys' %}",
             "<i class=\"fa fa-shopping-cart\"></i>",
-            "{% elseif tags.amenity=='toilets' and tags.diaper %}",
+            "{% elseif tags.amenity=='toilets' and tags.changing_table and tags.changing_table!='no' %}",
             "🚽🚼",
             "{% endif %}"
         ]
@@ -114,7 +113,7 @@
                 },
                 "toilets": {
                     "name": "{{ tagTrans('amenity', 'toilets diaper=yes') }}",
-                    "query": "nwr[amenity=toilets][diaper]"
+                    "query": "nwr[amenity=toilets][changing_table][changing_table!=no]"
                 }
             }
         }