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.

71 lines
2.3 KiB

5 years ago
5 years ago
  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Cultura",
  5. "ca": "Cultura",
  6. "cs": "Kultura",
  7. "de": "Kultur",
  8. "el": "Πολιτισμός",
  9. "en": "Culture",
  10. "es": "Cultura",
  11. "et": "Kultuur",
  12. "fr": "Culture",
  13. "hu": "Kultúra",
  14. "it": "Cultura",
  15. "ja": "文化",
  16. "nl": "Cultuur",
  17. "pl": "Kultura",
  18. "pt": "Cultura",
  19. "pt-br": "Cultura",
  20. "ro": "Cultura",
  21. "ru": "Культура",
  22. "uk": "Культура "
  23. },
  24. "query": {
  25. "13": [
  26. "(",
  27. "node[amenity~\"^(arts_centre|cinema|community_centre|fountain|studio|theatre)$\"];",
  28. "way[amenity~\"^(arts_centre|cinema|community_centre|fountain|studio|theatre)$\"];",
  29. "relation[amenity~\"^(arts_centre|cinema|community_centre|fountain|studio|theatre)$\"];",
  30. "node[tourism~\"^(artwork|gallery|museum|theme_park)$\"];",
  31. "way[tourism~\"^(artwork|gallery|museum|theme_park)$\"];",
  32. "relation[tourism~\"^(artwork|gallery|museum|theme_park)$\"];",
  33. ")"
  34. ]
  35. },
  36. "feature": {
  37. "pre": [
  38. "{% if tags.amenity in [ 'arts_centre', 'cinema', 'community_centre', 'fountain', 'studio', 'theatre' ] %}",
  39. "{% set key = 'amenity' %}",
  40. "{% set value = tags.amenity %}",
  41. "{% elseif tags.tourism %}",
  42. "{% set key = 'tourism' %}",
  43. "{% set value = tags.tourism %}",
  44. "{% endif %}"
  45. ],
  46. "description": "{{ tagTrans(key, value) }}",
  47. "markerSign": "{{ attribute(const, key ~ '=' ~ value) }}"
  48. },
  49. "const": {
  50. "amenity=arts_centre": "🎨",
  51. "amenity=cinema": "🎦",
  52. "amenity=community_centre": "",
  53. "amenity=fountain": "⛲",
  54. "amenity=studio": "",
  55. "amenity=theatre": "🎭",
  56. "tourism=artwork": "🎨 ",
  57. "tourism=gallery": "🖼",
  58. "tourism=museum": "🏛 ",
  59. "tourism=theme_park": ""
  60. },
  61. "info": [
  62. "<table>",
  63. "{% for value, sign in const %}",
  64. " <tr>",
  65. " <td>{{ markerCircle({})|raw }}<div class='sign'>{{ sign }}</div></td>",
  66. " <td>{{ tagTrans(value|split('=')[0], value|split('=')[1]) }}</td>",
  67. " </tr>",
  68. "{% endfor %}",
  69. "</table>"
  70. ]
  71. }