Browse Source

children: re-add 'diaper=yes', add changing_table/diaper without toilets

cycle_infrastructure
parent
commit
45a266db26
  1. 13
      children.json

13
children.json

@ -16,7 +16,8 @@
"node[shop~'^(baby_goods|toys)$'];", "node[shop~'^(baby_goods|toys)$'];",
"way[shop~'^(baby_goods|toys)$'];", "way[shop~'^(baby_goods|toys)$'];",
"relation[shop~'^(baby_goods|toys)$'];", "relation[shop~'^(baby_goods|toys)$'];",
"nwr[amenity=toilets][changing_table][changing_table!=no];",
"nwr[changing_table][changing_table!=no];",
"nwr[diaper][diaper!=no];",
"node[kids_area];", "node[kids_area];",
"way[kids_area];", "way[kids_area];",
"relation[kids_area];", "relation[kids_area];",
@ -35,8 +36,10 @@
"{{ keyTrans('kids_area') }}", "{{ keyTrans('kids_area') }}",
"{% elseif tags.shop=='baby_goods' or tags.shop=='toys' %}", "{% elseif tags.shop=='baby_goods' or tags.shop=='toys' %}",
"{{ keyTrans('shop') }}: {{ tagTrans('shop', tags.shop) }}", "{{ keyTrans('shop') }}: {{ tagTrans('shop', tags.shop) }}",
"{% elseif tags.amenity=='toilets' and tags.changing_table and tags.changing_table!='no' %}",
"{{ tagTrans('amenity', 'toilets diaper=yes') }}",
"{% elseif tags.amenity=='toilets' and ((tags.changing_table and tags.changing_table != 'no') or (tags.diaper and tags.diaper != no')) %}",
"{{ tagTrans('amenity', 'toilets changing_table=yes') }}",
"{% elseif (tags.changing_table and tags.changing_table != 'no') or (tags.diaper and tags.diaper != no') %}",
"{{ keyTrans('changing_table') }}",
"{% endif %}" "{% endif %}"
], ],
"markerSign": [ "markerSign": [
@ -77,7 +80,7 @@
" </tr>", " </tr>",
" <tr>", " <tr>",
" <td>{{ markerCircle({})|raw }}<div class='sign'>🚽🚼</div></td>", " <td>{{ markerCircle({})|raw }}<div class='sign'>🚽🚼</div></td>",
" <td>{{ tagTrans('amenity', 'toilets diaper=yes') }}</td>",
" <td>{{ tagTrans('amenity', 'toilets changing_table=yes') }}</td>",
" </tr>", " </tr>",
"</table>" "</table>"
], ],
@ -112,7 +115,7 @@
"query": "nwr[shop=toys]" "query": "nwr[shop=toys]"
}, },
"toilets": { "toilets": {
"name": "{{ tagTrans('amenity', 'toilets diaper=yes') }}",
"name": "{{ tagTrans('amenity', 'toilets changing_table=yes') }}",
"query": "nwr[amenity=toilets][changing_table][changing_table!=no]" "query": "nwr[amenity=toilets][changing_table][changing_table!=no]"
} }
} }

Loading…
Cancel
Save