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.

136 lines
4.5 KiB

1 year ago
  1. name:
  2. ca: Instal·lacions de Rem
  3. en: Paddling Amenities
  4. fr: Équipements de pagayage
  5. it: Equipaggiamento per la navigazione a remo
  6. pl: Udogodnienia związane z wiosłowaniem
  7. pt-br: Equipamentos
  8. tr: Kürek Tesisleri
  9. type: overpass
  10. query:
  11. '14': |-
  12. (
  13. node["canoe"~"^(put_in|egress|put_in;egress)$"];
  14. node["leisure"="slipway"];
  15. way["canoe"="portage"];
  16. nwr[shop~"^(boat)$"]["boat:type"~"^(.*;|)canoe|kayak|standup_paddleboard|dinghy|pedalboat(|;.*)$"];
  17. nwr[rental~"^(boat)$"]["boat:type"~"^(.*;|)canoe|kayak|standup_paddleboard|dinghy|pedalboat(|;.*)$"];
  18. nwr["canoe_rental"="yes"];
  19. nwr["kayak_rental"="yes"];
  20. nwr["standup_paddleboard_rental"="yes"];
  21. nwr["dinghy_rental"="yes"];
  22. nwr["pedalboat_rental"="yes"];
  23. )
  24. feature:
  25. pre: |-
  26. {% if tags.canoe == 'portage' and ( not attribute(tags, 'surface') or attribute(tags, 'surface') == 'water' ) %}
  27. {% set key = 'waterway' %}
  28. {% set value = 'portage' %}
  29. {% elseif tags.canoe %}
  30. {% set key = 'canoe' %}
  31. {% set value = tags.canoe %}
  32. {% elseif tags.leisure %}
  33. {% set key = 'leisure' %}
  34. {% set value = tags.leisure %}
  35. {% elseif tags.shop %}
  36. {% set key = 'shop' %}
  37. {% set value = 'shop' %}
  38. {% elseif tags.rental or tags.canoe_rental or tags.kayak_rental or tags.standup_paddleboard_rental or tags.dingy_rental or tags.pedalboat_rental %}
  39. {% set key = 'shop' %}
  40. {% set value = 'rental' %}
  41. {% endif %}
  42. {% set constIndex = (key ~ "=" ~ value) %}
  43. {% set item = const[constIndex] %}
  44. title: |
  45. {{ localizedTag(tags, 'name') }}
  46. {% if attribute(tags, 'ref') %}
  47. ( {{ localizedTag(tags, 'ref') }} )
  48. {% endif %}
  49. description: |
  50. {{ tagTrans(key, value) }}
  51. body: |-
  52. {% if constIndex in ['canoe=put_in', 'canoe=egress', 'canoe=put_in;egress', 'leisure=slipway','canoe=portage'] %}
  53. <ul>
  54. {% if attribute(tags, 'surface') %}
  55. <li class='hasSymbol'>
  56. <i class='fa fa-window-minimize'></i>
  57. {{ keyTrans('Surface') }}:
  58. <span class='value'>{{ attribute(tags, 'surface') ? tagTrans('surface', attribute(tags, 'surface')) : '' }}</span>
  59. </li>
  60. {% endif %}
  61. {% if attribute(tags, 'operator') %}
  62. <li class='hasSymbol'>
  63. <i class='fa fa-drivers-license-o'></i>
  64. {{ keyTrans('Operator') }}:
  65. <span class='value'>{{ attribute(tags, 'operator') ? tagTrans('operator', attribute(tags, 'operator')) : '' }}</span>
  66. </li>
  67. {% endif %}
  68. {% if attribute(tags, 'access') %}
  69. <li class='hasSymbol'>
  70. <i class='fa fa-unlock'></i>
  71. {{ keyTrans('Access') }}:
  72. <span class='value'>{{ attribute(tags, 'access') ? tagTrans('access', attribute(tags, 'access')) : '' }}</span>
  73. </li>
  74. {% endif %}
  75. {% if attribute(tags, 'fee') %}
  76. <li class='hasSymbol'>
  77. <i class='fa fa-money'></i>
  78. {{ keyTrans('Fee') }}:
  79. <span class='value'>{{ attribute(tags, 'fee') ? tagTrans('fee', attribute(tags, 'fee')) : '' }}</span>
  80. </li>
  81. {% endif %}
  82. {% if attribute(tags, 'mapillary') %}
  83. <li class='hasSymbol'>
  84. <i class='fa fa-camera'></i>
  85. {{ trans('Photos') }}:
  86. <span class='value'>
  87. <a href="https://www.mapillary.com/app/?focus=photo&pKey={{ attribute(tags, 'mapillary') }}" rel="noreferrer" target="_blank">Mapillary</a>
  88. </span>
  89. </li>
  90. {% endif %}
  91. </ul>
  92. {% endif %}
  93. <!-- Description and Wheelchair rendered from detailsBody.html. -->
  94. markerSign: '{{ item[''sign''] | raw }}'
  95. markerSymbol: |
  96. {% if item['sign'] %}{{ markerPointer({ fillColor: '#FFFFFF' }) }}{% endif %}
  97. listMarkerSymbol: |
  98. {% if item['sign'] %}{{ markerCircle({ fillColor: '#FFFFFF' }) }}{% endif %}
  99. priority: |-
  100. {% if item is defined %}
  101. {{ item['priority'] }}
  102. {% else %}
  103. 10
  104. {% endif %}
  105. const:
  106. canoe=portage:
  107. sign:
  108. priority: 2
  109. canoe=put_in:
  110. sign: <i class="fas fa-long-arrow-alt-down"></i>
  111. priority: 0
  112. canoe=egress:
  113. sign: <i class="fas fa-long-arrow-alt-up"></i>
  114. priority: 0
  115. canoe=put_in;egress:
  116. sign: <i class="fas fa-arrows-alt-v"></i>
  117. priority: 0
  118. leisure=slipway:
  119. sign: <i class="fas fa-ship"></i>
  120. priority: 1
  121. shop=shop:
  122. sign: <i class="fas fa-store-alt"></i>
  123. priority: 3
  124. shop=rental:
  125. sign: <i class="fas fa-store"></i>
  126. priority: 3
  127. waterway=portage:
  128. sign:
  129. priority: 2