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.

255 lines
5.8 KiB

  1. name:
  2. ca: Serveis per a peatons
  3. en: Walking Amenities
  4. it: Servizi per i pedoni
  5. pl: Użyteczne w ruchu pieszym
  6. tr: Yürüyüş Olanakları
  7. query:
  8. '13': |-
  9. (
  10. node[highway~"^(elevator)$"];
  11. node[information];
  12. node[tourism~"^(viewpoint)$"];
  13. node[man_made~"^(cairn)$"];
  14. nwr[amenity~"^(shelter)$"];
  15. way[highway~'^(footway|steps)$'][conveying];
  16. )
  17. '16': |-
  18. (
  19. node[highway~"^(crossing|elevator)$"];
  20. node[information];
  21. node[tourism~"^(viewpoint)$"];
  22. node[man_made~"^(cairn)$"];
  23. nwr[amenity~"^(bench|shelter|waste_basket|drinking_water)$"];
  24. node[leisure~"^(picnic_table)$"];
  25. way[highway~'^(footway|steps)$'][conveying];
  26. )
  27. feature:
  28. pre: |-
  29. {% if tags.information %}
  30. {% set key = 'information' %}
  31. {% set value = tags.information %}
  32. {% elseif tags.amenity in [ 'bench', 'shelter', 'waste_basket', 'drinking_water' ] %}
  33. {% set key = 'amenity' %}
  34. {% set value = tags.amenity %}
  35. {% elseif tags.leisure in [ 'picnic_table' ] %}
  36. {% set key = 'leisure' %}
  37. {% set value = tags.leisure %}
  38. {% elseif tags.man_made in [ 'cairn' ] %}
  39. {% set key = 'man_made' %}
  40. {% set value = tags.man_made %}
  41. {% elseif tags.tourism in [ 'viewpoint'] %}
  42. {% set key = 'tourism' %}
  43. {% set value = tags.tourism %}
  44. {% elseif tags.conveying and tags.highway %}
  45. {% set key = 'highway' %}
  46. {% set value = tags.highway ~ ' conveying' %}
  47. {% else %}
  48. {% set key = 'highway' %}
  49. {% set value = tags.highway %}
  50. {% endif %}
  51. {% set type_data = const[key ~ '=' ~ value] %}
  52. {% set classify = '#0000ff' %}
  53. {% for k in type_data.optional %}
  54. {% if not attribute(tags, k) %}
  55. {% set classify = '#00ffff' %}
  56. {% endif %}
  57. {% endfor %}
  58. {% for k in type_data.require %}
  59. {% if not attribute(tags, k) %}
  60. {% set classify = '#ff0000' %}
  61. {% endif %}
  62. {% endfor %}
  63. description: |-
  64. {{ tagTrans(key, value) }}
  65. markerSymbol: |
  66. {{ markerPointer({ fillColor: classify }) }}
  67. listMarkerSymbol: |
  68. {{ markerCircle({ fillColor: classify }) }}
  69. markerSign: |-
  70. {{ type_data.sign|raw }}
  71. priority: |-
  72. {{ type_data.priority }}
  73. body: |-
  74. Strongly recommended tags:
  75. <ul>
  76. {% for k in type_data.require %}
  77. <li class='hasSymbol'>
  78. {{ attribute(tags, k) ? '✓' : '✕' }}
  79. <a target='_blank' href='https://wiki.openstreetmap.org/wiki/Key:{{ k }}'>{{ k }}</a>: {{ attribute(tags, k) }}
  80. </li>
  81. {% endfor %}
  82. </ul>
  83. Further recommended tags:
  84. <ul>
  85. {% for k in type_data.optional %}
  86. <li class='hasSymbol'>
  87. {{ attribute(tags, k) ? '✓' : '✕' }}
  88. <a target='_blank' href='https://wiki.openstreetmap.org/wiki/Key:{{ k }}'>{{ k }}</a>: {{ attribute(tags, k) }}
  89. </li>
  90. {% endfor %}
  91. </ul>
  92. filter:
  93. type:
  94. name: |
  95. {{ trans('filter:type') }}
  96. type: select
  97. show_default: true
  98. values: |-
  99. {% for kv, d in const %}
  100. <option value='{{ kv }}' query='{{ d.query|default("nwr[" ~ kv ~"]") }}'>{{ tagTrans(kv|split('=')[0], kv|split('=')[1]) }}</option>
  101. {% endfor %}
  102. const:
  103. highway=crossing:
  104. priority: 10
  105. sign: <img data-src='temaki:pedestrian_crosswalk'>
  106. require:
  107. - crossing
  108. optional:
  109. - crossing:island
  110. - crossing:markings
  111. - lit
  112. highway=elevator:
  113. priority: 2
  114. sign: <img data-src='maki:elevator'>
  115. require:
  116. - level
  117. - wheelchair
  118. - operator
  119. - maxweight
  120. - capacity:person
  121. optional:
  122. - level:ref
  123. - fee
  124. - bicycle
  125. - goods
  126. - display
  127. - door
  128. - door:width
  129. - door:height
  130. - handrail
  131. - lit
  132. - height
  133. - length
  134. - width
  135. - speech_output
  136. - tactile_writing:braille:de
  137. - tactile_writing:embossed_printed_letters:de
  138. information=guidepost:
  139. priority: 2
  140. sign: <i class='fa fa-map-signs' aria-hidden='true'></i>
  141. require:
  142. - tourism
  143. optional:
  144. - guidepost
  145. - guide_type
  146. - name
  147. - ele
  148. - ref
  149. information=map:
  150. priority: 2
  151. sign: <i class='fa fa-map' aria-hidden='true'></i>
  152. require:
  153. - map_type
  154. optional:
  155. - map_size
  156. - map_source
  157. information=board:
  158. priority: 2
  159. sign: <img data-src='temaki:info_board'>
  160. optional:
  161. - board_type
  162. - board:title
  163. information=office:
  164. priority: 1
  165. sign: <i class='fa fa-info-circle' aria-hidden='true'></i>
  166. require:
  167. - name
  168. optional:
  169. - operator
  170. - opening_hours
  171. - wheelchair
  172. amenity=bench:
  173. priority: 3
  174. sign: <img data-src='temaki:bench'>
  175. require:
  176. - backrest
  177. - capacity
  178. - material
  179. optional:
  180. - bench:type
  181. - covered
  182. - length
  183. - seats
  184. - two_sided
  185. leisure=picnic_table:
  186. priority: 3
  187. sign: <img data-src='maki:picnic-site'>
  188. require:
  189. - backrest
  190. - capacity
  191. - material
  192. optional:
  193. - bench:type
  194. - covered
  195. - length
  196. - two_sided
  197. man_made=cairn:
  198. priority: 2
  199. sign: <img data-src='temaki:cairn'>
  200. amenity=shelter:
  201. priority: 1
  202. sign: <img data-src='maki:shelter'>
  203. require:
  204. - shelter_type
  205. - bench
  206. - bin
  207. optional:
  208. - table
  209. - picnic_table
  210. - access
  211. - lockable
  212. amenity=waste_basket:
  213. priority: 2
  214. sign: 🗑
  215. require:
  216. - waste
  217. optional:
  218. - drive_through
  219. amenity=drinking_water:
  220. priority: 3
  221. sign: <img data-src='maki:drinking-water'>
  222. require:
  223. optional:
  224. - man_made
  225. - fountain
  226. - dog
  227. - pump
  228. - fee
  229. - bottle
  230. highway=steps conveying:
  231. sign: /
  232. query: nwr[highway=steps][conveying]
  233. priority: 2
  234. require:
  235. - level
  236. - incline
  237. optional:
  238. - level:ref
  239. - width
  240. - tactile_paving
  241. - duration
  242. highway=footway conveying:
  243. sign: /
  244. query: nwr[highway=footway][conveying]
  245. priority: 2
  246. require:
  247. - level
  248. - incline
  249. optional:
  250. - level:ref
  251. - width
  252. - tactile_paving
  253. - duration