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.

82 lines
2.2 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Hestoria",
  5. "cs": "Historické",
  6. "de": "Geschichte",
  7. "el": "Ιστορικά",
  8. "en": "Historic",
  9. "et": "Ajalooline",
  10. "fr": "Histoire",
  11. "hu": "Historikus",
  12. "it": "Storia",
  13. "ja": "記念",
  14. "nl": "Historisch",
  15. "pl": "Miejsca Historyczne",
  16. "ro": "Istoric",
  17. "ru": "Историческое",
  18. "uk": "Історія"
  19. },
  20. "query": {
  21. "11": [
  22. "(",
  23. "node[historic~\"^(castle|archaeological_site|battlefield|monument)$\"];",
  24. "way[historic~\"^(castle|archaeological_site|battlefield|monument)$\"];",
  25. "relation[historic~\"^(castle|archaeological_site|battlefield|monument)$\"];",
  26. ")"
  27. ],
  28. "14": [
  29. "(",
  30. "node[historic];",
  31. "way[historic];",
  32. "relation[historic];",
  33. ")"
  34. ]
  35. },
  36. "feature": {
  37. "description": "{{ tagTransList('historic', tags.historic) }}",
  38. "markerSign": "{{ const[tags.historic].sign|raw }}"
  39. },
  40. "info": [
  41. "<table>",
  42. "{% for value, data in const %}",
  43. "{% if data.zoom <= map.zoom %}",
  44. " <tr>",
  45. " <td>{{ markerCircle({})|raw }}<div class='sign'>{{ data.sign|raw }}</div></td>",
  46. " <td>{{ tagTrans('historic', value) }}</td>",
  47. " </tr>",
  48. "{% endif %}",
  49. "{% endfor %}",
  50. "</table>"
  51. ],
  52. "const": {
  53. "archaeological_site": {
  54. "sign": "",
  55. "zoom": 11
  56. },
  57. "battlefield": {
  58. "sign": "",
  59. "zoom": 11
  60. },
  61. "castle": {
  62. "sign": "<img src='maki:castle'>",
  63. "zoom": 11
  64. },
  65. "aircraft": {
  66. "sign": "<img src='maki:airport'>",
  67. "zoom": 14
  68. },
  69. "memorial": {
  70. "sign": "<img src='maki:monument?size=11'>",
  71. "zoom": 14
  72. },
  73. "monument": {
  74. "sign": "<img src='maki:monument?size=15'>",
  75. "zoom": 11
  76. },
  77. "other": {
  78. "sign": "",
  79. "zoom": 14
  80. }
  81. }
  82. }