diff --git a/recycling.json b/recycling.json new file mode 100644 index 0000000..510acfb --- /dev/null +++ b/recycling.json @@ -0,0 +1,73 @@ +{ + "type": "overpass", + "en": "Recycling", + "ru": "Переработка отходов" + }, + "query": { + "13": [ + "(", + "node[amenity=recycling][recycling_type=centre];", + "way[amenity=recycling][recycling_type=centre];", + "relation[amenity=recycling][recycling_type=centre];", + ")" + ], + "15": [ + "(", + "node[amenity=recycling];", + "way[amenity=recycling];", + "relation[amenity=recycling];", + ")" + ], + "18": [ + "(", + "node[amenity=recycling];", + "way[amenity=recycling];", + "relation[amenity=recycling];", + ")" + ] + }, + "feature": { + "pre": [ + "{% if tags.amenity == 'recycling' %}", + " {% set key = 'amenity' %}", + " {% set value = tags.amenity %}", + "{% endif %}", + "{% set kv = key ~ '=' ~ value %}" + ], + "description": "{{ tagTrans(key, value) }}", + "body": [ + "{% if tags.recycling_type %}", + "{{ keyTrans('recycling_type') }}: {{ tagTrans('recycling_type', tags.recycling_type) }}", + "{% endif %}" + ], + "markerSign": [ + "{% if const[kv] %}", + "{{ const[kv].sign|raw }}", + "{% endif %}" + ] + }, + "info": [ + "
{{ markerCircle({})|raw }} {{ data.sign|raw }} | ",
+ " {{ tagTrans('leisure', value) }} | ", + "
{{ markerCircle({})|raw }} | ", + "{{ trans('other') }} | ", + "