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.

285 lines
8.0 KiB

7 years ago
  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Formaciones naturales",
  5. "cs": "Přírodní úkazy",
  6. "de": "Naturformationen",
  7. "el": "Φυσικοί Σχηματισμοί",
  8. "en": "Natural Formations",
  9. "fr": "Éléments naturels",
  10. "hu": "Természeti képződmények",
  11. "it": "Natura",
  12. "ja": "自然地層",
  13. "nl": "Natuurlijke Formaties",
  14. "pt": "Formações naturais",
  15. "pt-br": "Formações naturais",
  16. "ru": "Природные образования",
  17. "uk": "Природне середовище"
  18. },
  19. "query": {
  20. "9": [
  21. "(",
  22. "node[natural~\"^(peak|volcano|valley)$\"];",
  23. ")"
  24. ],
  25. "13": [
  26. "(",
  27. "nwr[natural~\"^(peak|volcano|wood|glacier|cape|peninsula|beach|coastline|reef|hill|valley|ridge|arete|saddle|sinkhole|cave_entrance|isthmus)$\"];",
  28. ")"
  29. ],
  30. "16": [
  31. "(",
  32. "nwr[natural][natural!~\"^(water|divide|bay|strait|spring|hot_spring|geyser|tree)$\"];",
  33. ")"
  34. ],
  35. "18": [
  36. "(",
  37. "nwr[natural][natural!~\"^(water|divide|bay|strait|spring|hot_spring|geyser)$\"];",
  38. ")"
  39. ]
  40. },
  41. "feature": {
  42. "title": [
  43. "{{ localizedTag(tags, 'name') | default(trans('unnamed')) }}",
  44. "{% if tags.natural == 'peak' and tags.ele %}({{ tags.ele }}m){% endif %}"
  45. ],
  46. "description": "{{ tagTrans('natural', tags.natural) }}",
  47. "style": {
  48. "color": "{{ const[tags.natural].color|default('#f2756a') }}"
  49. },
  50. "markerSign": "<span style='color: white'>{{ const[tags.natural].sign|raw }}</span>",
  51. "markerSymbol": "{{ markerPointer({ fillColor: const[tags.natural].color|default('#f2756a') })|raw }}",
  52. "listMarkerSymbol": "{{ markerCircle({ fillColor: const[tags.natural].color|default('#f2756a') })|raw }}"
  53. },
  54. "filter": {
  55. "type": {
  56. "name": "{{ trans('filter:type') }}",
  57. "key": "natural",
  58. "type": "select",
  59. "show_default": "true",
  60. "values": "{% set list = [] %}{% for k, v in const %}<option value=\"{{ k }}\">{% set list = list|merge([ k ]) %}{{ tagTrans('natural', k) }}</option>{% endfor %}<option weight='1' value='other' query='nwr[natural][natural!~\"^(|.*;)({{ list|join('|') }})(|;.*)$\"]'>{{ trans('other') }}</option>",
  61. "sort": "natsort",
  62. "op": "has"
  63. }
  64. },
  65. "const": {
  66. "wood": {
  67. "zoom": 13,
  68. "sign": "<i class='fas fa-tree'></i>",
  69. "color": "darkgreen",
  70. "group": "vegetation"
  71. },
  72. "tree_row": {
  73. "zoom": 16,
  74. "sign": "<i class='fas fa-tree'></i>",
  75. "color": "darkgreen",
  76. "group": "vegetation"
  77. },
  78. "tree": {
  79. "zoom": 18,
  80. "sign": "<i class='fas fa-tree'></i>",
  81. "color": "darkgreen",
  82. "group": "vegetation"
  83. },
  84. "scrub": {
  85. "zoom": 16,
  86. "sign": "",
  87. "color": "green",
  88. "group": "vegetation"
  89. },
  90. "heath": {
  91. "zoom": 16,
  92. "sign": "",
  93. "color": "green",
  94. "group": "vegetation"
  95. },
  96. "moor": {
  97. "zoom": 13,
  98. "sign": "",
  99. "color": "#8aba50",
  100. "group": "vegetation"
  101. },
  102. "grassland": {
  103. "zoom": 16,
  104. "sign": "",
  105. "color": "#00dd24",
  106. "group": "vegetation"
  107. },
  108. "fell": {
  109. "zoom": 16,
  110. "sign": "",
  111. "color": "#49ba91",
  112. "group": "vegetation"
  113. },
  114. "bare_rock": {
  115. "zoom": 16,
  116. "sign": "",
  117. "color": "#6f6f6f",
  118. "group": "vegetation"
  119. },
  120. "scree": {
  121. "zoom": 16,
  122. "sign": "",
  123. "color": "#6f6f6f",
  124. "group": "vegetation"
  125. },
  126. "shingle": {
  127. "zoom": 16,
  128. "sign": "",
  129. "color": "#6f6f6f",
  130. "group": "vegetation"
  131. },
  132. "sand": {
  133. "zoom": 16,
  134. "sign": "",
  135. "color": "#f9d199",
  136. "group": "vegetation"
  137. },
  138. "mud": {
  139. "zoom": 16,
  140. "sign": "<img data-src='maki:wetland?fill=white'>",
  141. "color": "#988b00",
  142. "group": "vegetation"
  143. },
  144. "wetland": {
  145. "zoom": 16,
  146. "sign": "<img data-src='maki:wetland?fill=white'>",
  147. "color": "#00baff",
  148. "group": "water"
  149. },
  150. "glacier": {
  151. "zoom": 13,
  152. "sign": "<i style='color: black;' class='fas fa-icicles'></i>",
  153. "color": "white",
  154. "group": "water"
  155. },
  156. "cape": {
  157. "zoom": 13,
  158. "sign": "",
  159. "color": "#1d7500",
  160. "group": "water"
  161. },
  162. "peninsula": {
  163. "zoom": 13,
  164. "sign": "",
  165. "color": "#1d7500",
  166. "group": "water"
  167. },
  168. "beach": {
  169. "zoom": 13,
  170. "sign": "<i class='fas fa-umbrella-beach'></i>",
  171. "color": "#ff7f50",
  172. "group": "water"
  173. },
  174. "coastline": {
  175. "zoom": 13,
  176. "sign": "",
  177. "color": "blue",
  178. "group": "water"
  179. },
  180. "reef": {
  181. "zoom": 13,
  182. "sign": "",
  183. "color": "#005fbd",
  184. "group": "water"
  185. },
  186. "peak": {
  187. "zoom": 9,
  188. "sign": "<i class='fas fa-mountain'></i>",
  189. "color": "#4f4f4f",
  190. "group": "landform"
  191. },
  192. "hill": {
  193. "zoom": 13,
  194. "sign": "",
  195. "color": "#4f4f4f",
  196. "group": "landform"
  197. },
  198. "volcano": {
  199. "zoom": 9,
  200. "sign": "",
  201. "color": "#cf3a00",
  202. "group": "landform"
  203. },
  204. "valley": {
  205. "zoom": 9,
  206. "sign": "",
  207. "color": "#1d7500",
  208. "group": "landform"
  209. },
  210. "river_terrace": {
  211. "zoom": 16,
  212. "sign": "",
  213. "color": "#a0a500",
  214. "group": "landform"
  215. },
  216. "ridge": {
  217. "zoom": 13,
  218. "sign": "",
  219. "color": "#4f4f4f",
  220. "group": "landform"
  221. },
  222. "arete": {
  223. "zoom": 13,
  224. "sign": "",
  225. "color": "#4f4f4f",
  226. "group": "landform"
  227. },
  228. "cliff": {
  229. "zoom": 16,
  230. "sign": "",
  231. "color": "#4f4f4f",
  232. "group": "landform"
  233. },
  234. "saddle": {
  235. "zoom": 13,
  236. "sign": "",
  237. "color": "#4f4f4f",
  238. "group": "landform"
  239. },
  240. "rock": {
  241. "zoom": 16,
  242. "sign": "",
  243. "color": "#4f4f4f",
  244. "group": "landform"
  245. },
  246. "stone": {
  247. "zoom": 16,
  248. "sign": "",
  249. "color": "#4f4f4f",
  250. "group": "landform"
  251. },
  252. "sinkhole": {
  253. "zoom": 13,
  254. "sign": "",
  255. "color": "#a0a500",
  256. "group": "landform"
  257. },
  258. "cave_entrance": {
  259. "zoom": 13,
  260. "sign": "",
  261. "color": "#000000",
  262. "group": "landform"
  263. },
  264. "isthmus": {
  265. "zoom": 13,
  266. "sign": "",
  267. "color": "#1d7500",
  268. "group": "landform"
  269. }
  270. },
  271. "info": [
  272. "<table>",
  273. " {% for k, data in const %}",
  274. " {% if data.zoom <= map.zoom %}",
  275. " <tr>",
  276. " <td>",
  277. " {{ markerCircle({ fillColor: data.color })|raw }}<div class='sign'>{{ data.sign|raw }}</div>",
  278. " </td>",
  279. " <td>{{ tagTrans('natural', k) }}</td>",
  280. " </tr>",
  281. " {% endif %}",
  282. " {% endfor %}",
  283. "</table>"
  284. ]
  285. }