forked from OpenStreetBrowser/main
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.
96 lines
3.9 KiB
96 lines
3.9 KiB
{
|
|
"type": "overpass",
|
|
"name": {
|
|
"ast": "Relixón",
|
|
"cs": "Religion",
|
|
"de": "Religion",
|
|
"el": "Θρησκεία",
|
|
"en": "Religion",
|
|
"et": "Religioon",
|
|
"fr": "Religion",
|
|
"hu": "Vallás",
|
|
"it": "Religione",
|
|
"ja": "宗教",
|
|
"nl": "Religie",
|
|
"pt": "Religião",
|
|
"pt-br": "Religião",
|
|
"ro": "Religie",
|
|
"ru": "Религия",
|
|
"uk": "Релігія"
|
|
},
|
|
"query": {
|
|
"13": [
|
|
"(",
|
|
"node[amenity~\"^(place_of_worship|grave_yard|crematorium)$\"];",
|
|
"way[amenity~\"^(place_of_worship|grave_yard|crematorium)$\"];",
|
|
"relation[amenity~\"^(place_of_worship|grave_yard|crematorium)$\"];",
|
|
"way[landuse~\"^(cemetery)$\"];",
|
|
"relation[landuse~\"^(cemetery)$\"];",
|
|
")"
|
|
],
|
|
"14": [
|
|
"(",
|
|
"node[amenity~\"^(place_of_worship|grave_yard|crematorium)$\"];",
|
|
"way[amenity~\"^(place_of_worship|grave_yard|crematorium)$\"];",
|
|
"relation[amenity~\"^(place_of_worship|grave_yard|crematorium)$\"];",
|
|
"way[landuse~\"^(cemetery)$\"];",
|
|
"relation[landuse~\"^(cemetery)$\"];",
|
|
"node[historic~\"^wayside_(cross|shrine|chapel)$\"];",
|
|
"way[historic~\"^wayside_(cross|shrine|chapel)$\"];",
|
|
"relation[historic~\"^wayside_(cross|shrine|chapel)$\"];",
|
|
"nwr[office~\"^(parish|religion)$\"];",
|
|
")"
|
|
]
|
|
},
|
|
"feature": {
|
|
"pre": [
|
|
"{% if tags.landuse == 'cemetery' %}",
|
|
"{% set key = 'landuse' %}",
|
|
"{% set value = tags.landuse %}",
|
|
"{% elseif tags.historic in [ 'wayside_cross', 'wayside_shrine', 'wayside_chapel' ] %}",
|
|
"{% set key = 'historic' %}",
|
|
"{% set value = tags.historic %}",
|
|
"{% elseif tags.office %}",
|
|
"{% set key = 'office' %}",
|
|
"{% set value = tags.office %}",
|
|
"{% else %}",
|
|
"{% set key = 'amenity' %}",
|
|
"{% set value = tags.amenity %}",
|
|
"{% endif %}"
|
|
],
|
|
"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) }}{% if tags.religion %}: {{ tagTransList('religion', tags.religion) }}{% endif %}",
|
|
" {% else %}",
|
|
" {{ tagTrans(key, value) }}: {{ tagTransList('religion', tags.religion) }}",
|
|
" {% endif %}",
|
|
"{% else %}",
|
|
" {{ tagTrans(key, value) }}{% if tags.religion %}: {{ tagTransList('religion', tags.religion) }}{% endif %}",
|
|
"{% endif %}"
|
|
],
|
|
"popupDescription": "{{ tagTrans(key, value) }}",
|
|
"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": [
|
|
"{% if tags.religion == 'christian' %}✝",
|
|
"{% elseif tags.religion == 'muslim' %}☪",
|
|
"{% elseif tags.religion == 'buddhist' %}☸",
|
|
"{% elseif tags.religion == 'hindu' %}ॐ",
|
|
"{% elseif tags.religion == 'jewish' %}✡",
|
|
"{% elseif tags.religion == 'pagan' %}☆",
|
|
"{% endif %}"
|
|
]
|
|
}
|
|
}
|