Main categories of OpenStreetBrowser with support for whitewater
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.

105 lines
3.1 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Dineru",
  5. "cs": "Finanční služby",
  6. "de": "Finanzen",
  7. "el": "Χρήμα",
  8. "en": "Financial",
  9. "fr": "Finance",
  10. "hu": "Pénzügyek",
  11. "it": "Finanze",
  12. "ja": "金融",
  13. "nl": "Financieel",
  14. "pl": "Finasowe",
  15. "pt": "Finanças",
  16. "pt-br": "Finanças",
  17. "ro": "Financiar",
  18. "ru": "Финансы",
  19. "uk": "Фінанси"
  20. },
  21. "query": {
  22. "14": [
  23. "(",
  24. "node[amenity~\"^(bank)$\"];",
  25. "way[amenity~\"^(bank)$\"];",
  26. "relation[amenity~\"^(bank)$\"];",
  27. ")"
  28. ],
  29. "15": [
  30. "(",
  31. "node[amenity~\"^(bank|bureau_de_change|atm)$\"];",
  32. "way[amenity~\"^(bank|bureau_de_change|atm)$\"];",
  33. "relation[amenity~\"^(bank|bureau_de_change|atm)$\"];",
  34. "node[office~\"^(financial|accountant|insurance|tax|tax_advisor)$\"];",
  35. "way[office~\"^(financial|accountant|insurance|tax|tax_advisor)$\"];",
  36. "relation[office~\"^(financial|accountant|insurance|tax|tax_advisor)$\"];",
  37. ")"
  38. ]
  39. },
  40. "feature": {
  41. "pre": [
  42. "{% if tags.amenity %}",
  43. " {% set key = 'amenity' %}",
  44. " {% set value = tags.amenity %}",
  45. "{% else %}",
  46. " {% set key = 'office' %}",
  47. " {% set value = tags.office %}",
  48. "{% endif %}"
  49. ],
  50. "description": "{{ tagTrans(key, value) }}",
  51. "markerSign": "{{ const[key ~ '=' ~ value].sign|raw }}"
  52. },
  53. "info": [
  54. "<table>",
  55. "{% for kv, data in const %}",
  56. "{% if data.zoom <= map.zoom %}",
  57. " <tr>",
  58. " <td>{{ markerCircle({})|raw }}<div class='sign'>{{ data.sign|raw }}</div></td>",
  59. " <td>",
  60. " {{ tagTrans(kv|split('=')[0], kv|split('=')[1]) }}",
  61. " </td>",
  62. " </tr>",
  63. "{% endif %}",
  64. "{% endfor %}",
  65. "</table>"
  66. ],
  67. "const": {
  68. "amenity=atm": {
  69. "sign": "<img data-src='maki:bank?size=11'>",
  70. "zoom": 15
  71. },
  72. "amenity=bank": {
  73. "sign": "<img data-src='maki:building'>",
  74. "zoom": 14
  75. },
  76. "amenity=bureau_de_change": {
  77. "sign": "⇄",
  78. "zoom": 15
  79. },
  80. "office=financial": {
  81. "sign": "<i class=\"fas fa-coins\"></i>",
  82. "zoom": 15
  83. },
  84. "office=accountant": {
  85. "sign": "<i class=\"fas fa-book\"></i>",
  86. "zoom": 15
  87. },
  88. "office=insurance": {
  89. "sign": "<i class=\"fas fa-file-signature\"></i>",
  90. "zoom": 15
  91. },
  92. "office=tax": {
  93. "sign": "%",
  94. "zoom": 15
  95. },
  96. "office=tax_advisor": {
  97. "sign": "<span style='color: green'>%</span>",
  98. "zoom": 15
  99. },
  100. "office=cooperative": {
  101. "sign": "<i class=\"fas fa-piggy-bank\"></i>",
  102. "zoom": 15
  103. }
  104. }
  105. }