Main categories of OpenStreetBrowser
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

139 lines
3.8 KiB

type: overpass
name:
ast: Relixón
ca: Religió
cs: Náboženství
de: Religion
el: Θρησκεία
en: Religion
es: Religión
et: Religioon
fr: Religion
gl: Relixión
hu: Vallás
it: Religione
ja: 宗教
nb: Religion
nl: Religie
oc: Religion
pl: Religia
pt: Religião
pt-br: Religião
ro: Religie
ru: Религия
sr: Религија
tr: Din
uk: Релігія
query:
13: |-
(
nwr[amenity~"^(.*;|)(place_of_worship|grave_yard|crematorium)(;.*|)$"];
nwr[landuse~"^(.*;|)(cemetery)(;.*|)$"];
)
14: |-
(
nwr[amenity~"^(.*;|)(place_of_worship|grave_yard|crematorium)(;.*|)$"];
nwr[landuse~"^(.*;|)(cemetery)(;.*|)$"];
nwr[historic~"^(.*;|)wayside_(cross|shrine|chapel)(;.*|)$"];
nwr[office~"^(.*;|)(parish|religion)(;.*|)$"];
)
feature:
pre: |-
{% set key = null %}
{% set value = null %}
{% for k, d in const.types %}
{% set kv = k|split('=') %}
{% if attribute(tags, kv[0]) and kv[1] in attribute(tags, kv[0])|split(';') %}
{% set key = kv[0] %}
{% set value = kv[1] %}
{% endif %}
{% endfor %}
description: |-
{% if tags.building and tags.religion %}
{% if isTranslated('tag:building=' ~ tags.building ~ ' religion=' ~ tags.religion) %}
{{ trans('tag:building=' ~ tags.building ~ ' religion=' ~ tags.religion) }}
{% elseif tags.building != 'yes' %}
{{ trans('tag:building=' ~ tags.building) }}
{% else %}
{{ tagTransList(key, attribute(tags, key)) }}
{% endif %}
{% else %}
{{ tagTransList(key, attribute(tags, key)) }}
{% endif %}
listDetails: '{{ tagTransList("religion", tags.religion) }}{% if tags.denomination %} - {{ tagTransList("denomination", tags.denomination) }}{% endif %}'
body: |-
{% if tags.building %}
{{ keyTrans('building') }}: {{ tagTrans('building', tags.building) }}<br/>
{% endif %}
{% if tags.religion %}
{{ keyTrans('religion') }}: {{ tagTransList('religion', tags.religion) }}<br/>
{% endif %}
{% if tags.denomination %}
{{ keyTrans('denomination') }}: {{ tagTransList('denomination', tags.denomination) }}<br/>
{% endif %}
markerSign: '{{ const.religion[tags.religion] }}'
const:
types:
landuse=cemetery:
zoom: 13
historic=wayside_cross:
zoom: 14
historic=wayside_shrine:
zoom: 14
historic=wayside_chapel:
zoom: 14
amenity=place_of_worship:
zoom: 13
amenity=grave_yard:
zoom: 13
amenity=crematorium:
zoom: 13
office=parish:
zoom: 14
office=religion:
zoom: 14
religion:
christian:
muslim:
buddhist:
shinto: ''
hindu:
jewish:
taoist: ''
sikh: ''
none: ''
multifaith: ''
unitarian_universialist: ''
spiritualist: ''
jain: ''
voodoo: ''
confucian: ''
bahai: ''
caodaism: ''
tenrikyo: ''
vietnamese_folk: ''
pagan:
scientologist: ''
zoroastrian: ''
pentecostal: ''
shamanic: ''
filter:
type:
name: '{{ trans("filter:type") }}'
show_default: 'true'
query: nwr[{{ value }}]
type: select
values: |-
{% for k, v in const.types %}
<option value="{{ k }}" query="nwr[{{ k|replace({ '=': '^' }) }}]" minzoom="{{ v.zoom }}">
{{ tagTrans(k) }}
</option>
{% endfor %}
religion:
name: '{{ keyTrans("religion") }}'
show_default: 'true'
type: select
valueName: '{{ tagTrans("religion", value) }}'
values: '{% set list = [] %}{% for t, v in const.religion %}<option value="{{ t }}">{% set list = list|merge([ t ]) %}{{ tagTrans("religion", t) }}</option>{% endfor %}<option value="other" query="nwr[religion][religion!~"^({{ list|join("|") }})$"]">{{ trans("other") }}</option>'
op: has