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.

70 lines
2.3 KiB

6 years ago
6 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-br": "Cultura",
  19. "ro": "Cultura",
  20. "ru": "Культура",
  21. "uk": "Культура "
  22. },
  23. "query": {
  24. "13": [
  25. "(",
  26. "node[amenity~\"^(arts_centre|cinema|community_centre|fountain|studio|theatre)$\"];",
  27. "way[amenity~\"^(arts_centre|cinema|community_centre|fountain|studio|theatre)$\"];",
  28. "relation[amenity~\"^(arts_centre|cinema|community_centre|fountain|studio|theatre)$\"];",
  29. "node[tourism~\"^(artwork|gallery|museum|theme_park)$\"];",
  30. "way[tourism~\"^(artwork|gallery|museum|theme_park)$\"];",
  31. "relation[tourism~\"^(artwork|gallery|museum|theme_park)$\"];",
  32. ")"
  33. ]
  34. },
  35. "feature": {
  36. "pre": [
  37. "{% if tags.amenity in [ 'arts_centre', 'cinema', 'community_centre', 'fountain', 'studio', 'theatre' ] %}",
  38. "{% set key = 'amenity' %}",
  39. "{% set value = tags.amenity %}",
  40. "{% elseif tags.tourism %}",
  41. "{% set key = 'tourism' %}",
  42. "{% set value = tags.tourism %}",
  43. "{% endif %}"
  44. ],
  45. "description": "{{ tagTrans(key, value) }}",
  46. "markerSign": "{{ attribute(const, key ~ '=' ~ value) }}"
  47. },
  48. "const": {
  49. "amenity=arts_centre": "🎨",
  50. "amenity=cinema": "🎦",
  51. "amenity=community_centre": "",
  52. "amenity=fountain": "⛲",
  53. "amenity=studio": "",
  54. "amenity=theatre": "🎭",
  55. "tourism=artwork": "🎨 ",
  56. "tourism=gallery": "🖼",
  57. "tourism=museum": "🏛 ",
  58. "tourism=theme_park": ""
  59. },
  60. "info": [
  61. "<table>",
  62. "{% for value, sign in const %}",
  63. " <tr>",
  64. " <td>{{ markerCircle({})|raw }}<div class='sign'>{{ sign }}</div></td>",
  65. " <td>{{ tagTrans(value|split('=')[0], value|split('=')[1]) }}</td>",
  66. " </tr>",
  67. "{% endfor %}",
  68. "</table>"
  69. ]
  70. }