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.

282 lines
7.9 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. "details": "{% if tags.natural == 'peak' and tags.ele %}{{ tags.ele }}m{% endif %}",
  43. "description": "{{ tagTrans('natural', tags.natural) }}",
  44. "style": {
  45. "color": "{{ const[tags.natural].color|default('#f2756a') }}"
  46. },
  47. "markerSign": "<span style='color: white'>{{ const[tags.natural].sign|raw }}</span>",
  48. "markerSymbol": "{{ markerPointer({ fillColor: const[tags.natural].color|default('#f2756a') })|raw }}",
  49. "listMarkerSymbol": "{{ markerCircle({ fillColor: const[tags.natural].color|default('#f2756a') })|raw }}"
  50. },
  51. "filter": {
  52. "type": {
  53. "name": "{{ trans('filter:type') }}",
  54. "key": "natural",
  55. "type": "select",
  56. "show_default": "true",
  57. "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>",
  58. "sort": "natsort",
  59. "op": "has"
  60. }
  61. },
  62. "const": {
  63. "wood": {
  64. "zoom": 13,
  65. "sign": "<i class='fas fa-tree'></i>",
  66. "color": "darkgreen",
  67. "group": "vegetation"
  68. },
  69. "tree_row": {
  70. "zoom": 16,
  71. "sign": "<i class='fas fa-tree'></i>",
  72. "color": "darkgreen",
  73. "group": "vegetation"
  74. },
  75. "tree": {
  76. "zoom": 18,
  77. "sign": "<i class='fas fa-tree'></i>",
  78. "color": "darkgreen",
  79. "group": "vegetation"
  80. },
  81. "scrub": {
  82. "zoom": 16,
  83. "sign": "",
  84. "color": "green",
  85. "group": "vegetation"
  86. },
  87. "heath": {
  88. "zoom": 16,
  89. "sign": "",
  90. "color": "green",
  91. "group": "vegetation"
  92. },
  93. "moor": {
  94. "zoom": 13,
  95. "sign": "",
  96. "color": "#8aba50",
  97. "group": "vegetation"
  98. },
  99. "grassland": {
  100. "zoom": 16,
  101. "sign": "",
  102. "color": "#00dd24",
  103. "group": "vegetation"
  104. },
  105. "fell": {
  106. "zoom": 16,
  107. "sign": "",
  108. "color": "#49ba91",
  109. "group": "vegetation"
  110. },
  111. "bare_rock": {
  112. "zoom": 16,
  113. "sign": "",
  114. "color": "#6f6f6f",
  115. "group": "vegetation"
  116. },
  117. "scree": {
  118. "zoom": 16,
  119. "sign": "",
  120. "color": "#6f6f6f",
  121. "group": "vegetation"
  122. },
  123. "shingle": {
  124. "zoom": 16,
  125. "sign": "",
  126. "color": "#6f6f6f",
  127. "group": "vegetation"
  128. },
  129. "sand": {
  130. "zoom": 16,
  131. "sign": "",
  132. "color": "#f9d199",
  133. "group": "vegetation"
  134. },
  135. "mud": {
  136. "zoom": 16,
  137. "sign": "<img data-src='maki:wetland?fill=white'>",
  138. "color": "#988b00",
  139. "group": "vegetation"
  140. },
  141. "wetland": {
  142. "zoom": 16,
  143. "sign": "<img data-src='maki:wetland?fill=white'>",
  144. "color": "#00baff",
  145. "group": "water"
  146. },
  147. "glacier": {
  148. "zoom": 13,
  149. "sign": "<i style='color: black;' class='fas fa-icicles'></i>",
  150. "color": "white",
  151. "group": "water"
  152. },
  153. "cape": {
  154. "zoom": 13,
  155. "sign": "",
  156. "color": "#1d7500",
  157. "group": "water"
  158. },
  159. "peninsula": {
  160. "zoom": 13,
  161. "sign": "",
  162. "color": "#1d7500",
  163. "group": "water"
  164. },
  165. "beach": {
  166. "zoom": 13,
  167. "sign": "<i class='fas fa-umbrella-beach'></i>",
  168. "color": "#ff7f50",
  169. "group": "water"
  170. },
  171. "coastline": {
  172. "zoom": 13,
  173. "sign": "",
  174. "color": "blue",
  175. "group": "water"
  176. },
  177. "reef": {
  178. "zoom": 13,
  179. "sign": "",
  180. "color": "#005fbd",
  181. "group": "water"
  182. },
  183. "peak": {
  184. "zoom": 9,
  185. "sign": "<i class='fas fa-mountain'></i>",
  186. "color": "#4f4f4f",
  187. "group": "landform"
  188. },
  189. "hill": {
  190. "zoom": 13,
  191. "sign": "",
  192. "color": "#4f4f4f",
  193. "group": "landform"
  194. },
  195. "volcano": {
  196. "zoom": 9,
  197. "sign": "",
  198. "color": "#cf3a00",
  199. "group": "landform"
  200. },
  201. "valley": {
  202. "zoom": 9,
  203. "sign": "",
  204. "color": "#1d7500",
  205. "group": "landform"
  206. },
  207. "river_terrace": {
  208. "zoom": 16,
  209. "sign": "",
  210. "color": "#a0a500",
  211. "group": "landform"
  212. },
  213. "ridge": {
  214. "zoom": 13,
  215. "sign": "",
  216. "color": "#4f4f4f",
  217. "group": "landform"
  218. },
  219. "arete": {
  220. "zoom": 13,
  221. "sign": "",
  222. "color": "#4f4f4f",
  223. "group": "landform"
  224. },
  225. "cliff": {
  226. "zoom": 16,
  227. "sign": "",
  228. "color": "#4f4f4f",
  229. "group": "landform"
  230. },
  231. "saddle": {
  232. "zoom": 13,
  233. "sign": "",
  234. "color": "#4f4f4f",
  235. "group": "landform"
  236. },
  237. "rock": {
  238. "zoom": 16,
  239. "sign": "",
  240. "color": "#4f4f4f",
  241. "group": "landform"
  242. },
  243. "stone": {
  244. "zoom": 16,
  245. "sign": "",
  246. "color": "#4f4f4f",
  247. "group": "landform"
  248. },
  249. "sinkhole": {
  250. "zoom": 13,
  251. "sign": "",
  252. "color": "#a0a500",
  253. "group": "landform"
  254. },
  255. "cave_entrance": {
  256. "zoom": 13,
  257. "sign": "",
  258. "color": "#000000",
  259. "group": "landform"
  260. },
  261. "isthmus": {
  262. "zoom": 13,
  263. "sign": "",
  264. "color": "#1d7500",
  265. "group": "landform"
  266. }
  267. },
  268. "info": [
  269. "<table>",
  270. " {% for k, data in const %}",
  271. " {% if data.zoom <= map.zoom %}",
  272. " <tr>",
  273. " <td>",
  274. " {{ markerCircle({ fillColor: data.color })|raw }}<div class='sign'>{{ data.sign|raw }}</div>",
  275. " </td>",
  276. " <td>{{ tagTrans('natural', k) }}</td>",
  277. " </tr>",
  278. " {% endif %}",
  279. " {% endfor %}",
  280. "</table>"
  281. ]
  282. }