|
@ -7,16 +7,17 @@ |
|
|
"query": { |
|
|
"query": { |
|
|
"16": [ |
|
|
"16": [ |
|
|
"(", |
|
|
"(", |
|
|
" way[building];", |
|
|
|
|
|
" relation[building];", |
|
|
|
|
|
|
|
|
" way[building][building!=no];", |
|
|
|
|
|
" relation[building][building!=no];", |
|
|
")" |
|
|
")" |
|
|
] |
|
|
] |
|
|
}, |
|
|
}, |
|
|
"feature": { |
|
|
"feature": { |
|
|
"pre": [ |
|
|
"pre": [ |
|
|
|
|
|
"{% set type = tags.building|split(';')[0] %}", |
|
|
"{% set color = const.other.color %}", |
|
|
"{% set color = const.other.color %}", |
|
|
"{% for cat, data in const %}", |
|
|
"{% for cat, data in const %}", |
|
|
" {% if tags.building in data.types %}", |
|
|
|
|
|
|
|
|
" {% if type in data.types %}", |
|
|
" {% set color = data.color %}", |
|
|
" {% set color = data.color %}", |
|
|
" {% endif %}", |
|
|
" {% endif %}", |
|
|
"{% endfor %}" |
|
|
"{% endfor %}" |
|
@ -25,7 +26,7 @@ |
|
|
"{% if tags.building == 'yes' %}", |
|
|
"{% if tags.building == 'yes' %}", |
|
|
"{{ keyTrans('building') }}", |
|
|
"{{ keyTrans('building') }}", |
|
|
"{% else %}", |
|
|
"{% else %}", |
|
|
"{{ tagTrans('building', tags.building) }}", |
|
|
|
|
|
|
|
|
"{{ tagTransList('building', tags.building) }}", |
|
|
"{% endif %}" |
|
|
"{% endif %}" |
|
|
], |
|
|
], |
|
|
"priority": [ |
|
|
"priority": [ |
|
|