Main categories of OpenStreetBrowser with public transport zoom level
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.
 
 

77 lines
3.0 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)$\"];",
")"
]
},
"feature": {
"pre": [
"{% if tags.landuse == 'cemetery' %}",
"{% set key = 'landuse' %}",
"{% set value = tags.landuse %}",
"{% 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 %}"
]
}
}