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.

43 lines
2.0 KiB

7 years ago
7 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. "ro": "Cultura",
  19. "ru": "Культура",
  20. "uk": "Культура "
  21. },
  22. "query": {
  23. "13": "(\nnode[amenity~\"^(arts_centre|cinema|community_centre|fountain|studio|theatre)$\"];\nway[amenity~\"^(arts_centre|cinema|community_centre|fountain|studio|theatre)$\"];\nrelation[amenity~\"^(arts_centre|cinema|community_centre|fountain|studio|theatre)$\"];\nnode[tourism~\"^(artwork|gallery|museum|theme_park)$\"];\nway[tourism~\"^(artwork|gallery|museum|theme_park)$\"];\nrelation[tourism~\"^(artwork|gallery|museum|theme_park)$\"];\n)"
  24. },
  25. "feature": {
  26. "pre": "{% if tags.amenity in [ 'arts_centre', 'cinema', 'community_centre', 'fountain', 'studio', 'theatre' ] %}\n{% set key = 'amenity' %}\n{% set value = tags.amenity %}\n{% elseif tags.tourism %}\n{% set key = 'tourism' %}\n{% set value = tags.tourism %}\n{% endif %}",
  27. "description": "{{ tagTrans(key, value) }}",
  28. "markerSign": "{{ attribute(const, key ~ '=' ~ value) }}"
  29. },
  30. "const": {
  31. "amenity=arts_centre": "🎨",
  32. "amenity=cinema": "🎦",
  33. "amenity=community_centre": "",
  34. "amenity=fountain": "⛲",
  35. "amenity=studio": "",
  36. "amenity=theatre": "🎭",
  37. "tourism=artwork": "🎨 ",
  38. "tourism=gallery": "🖼",
  39. "tourism=museum": "🏛 ",
  40. "tourism=theme_park": ""
  41. },
  42. "info": "<table>\n{% for value, sign in const %}\n <tr>\n <td>{{ markerCircle({})|raw }}<div class='sign'>{{ sign }}</div></td>\n <td>{{ tagTrans(value|split('=')[0], value|split('=')[1]) }}</td>\n </tr>\n{% endfor %}\n</table>"
  43. }