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.
 
 

92 lines
3.7 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)$\"];",
"way[historic~\"^wayside_(cross|shrine)$\"];",
"relation[historic~\"^wayside_(cross|shrine)$\"];",
")"
]
},
"feature": {
"pre": [
"{% if tags.landuse == 'cemetery' %}",
"{% set key = 'landuse' %}",
"{% set value = tags.landuse %}",
"{% elseif tags.historic == 'wayside_cross' or tags.historic == 'wayside_shrine' %}",
"{% set key = 'historic' %}",
"{% set value = tags.historic %}",
"{% 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 %}"
]
}
}