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.

222 lines
5.1 KiB

  1. name:
  2. ca: Tipologies d'edificació
  3. cs: typy budov
  4. de: Gebäudearten
  5. en: Building types
  6. es: Tipos de edificio
  7. fr: Type
  8. gl: Tipos de edificios
  9. hu: Épületek típusa
  10. it: Tipi di edificio
  11. ja: 建物の種類
  12. nb: Bygningstyper
  13. nl: Gebouwtypes
  14. oc: Tipe de bastissa
  15. pl: Rodzaje budynków
  16. pt-br: Tipologias
  17. pt: Tipos dos edifícios
  18. ro: Tipuri de clădiri
  19. ru: Типы зданий
  20. sr: Врста зграде
  21. tr: Bina tipleri
  22. query:
  23. 16: nwr[building][building!=no];
  24. feature:
  25. pre: |-
  26. {% set type = tags.building|split(';')[0] %}
  27. {% if tags.military %}{% set type = 'military' %}{% endif %}
  28. {% set color = const.other.color %}
  29. {% for cat, data in const %}
  30. {% if type in data.types %}
  31. {% set color = data.color %}
  32. {% endif %}
  33. {% endfor %}
  34. description: |-
  35. {% if tags.building == 'yes' and tags.military %}
  36. {{ tagTrans('building', 'military') }}
  37. {% elseif tags.building == 'yes' %}
  38. {{ keyTrans('building') }}
  39. {% else %}
  40. {{ tagTransList('building', tags.building) }}
  41. {% endif %}
  42. {% if tags.building == 'construction' and tags.construction %}
  43. ({{ tagTransList('building', tags.construction) }})
  44. {% endif %}
  45. {% if tags.building in [ 'yes', 'military' ] and tags.military %}
  46. ({{ tagTransList('military', tags.military) }})
  47. {% endif %}
  48. markerSymbol: ''
  49. listMarkerSymbol: |-
  50. {{ markerPolygon({"fillColor": color, "fillOpacity": 0.8, "width": 1, "color": "#000000" })|raw }}
  51. priority: |-
  52. {% set p = 100 %}
  53. {% if tags.name %}{% set p = p - 10 %}{% endif %}
  54. {% if tags.amenity %}{% set p = p - 1 %}{% endif %}
  55. {% if tags.historic %}{% set p = p - 1 %}{% endif %}
  56. {% if tags.culture %}{% set p = p - 1 %}{% endif %}
  57. {% if tags.highway %}{% set p = p - 1 %}{% endif %}
  58. {% if tags.railway %}{% set p = p - 1 %}{% endif %}
  59. {% if tags.aeroway %}{% set p = p - 1 %}{% endif %}
  60. {% if tags.amenity %}{% set p = p - 1 %}{% endif %}
  61. {% if tags.tourism %}{% set p = p - 1 %}{% endif %}
  62. {{ p }}
  63. style:
  64. width: 1
  65. color: '#000000'
  66. fillColor: |-
  67. {{ color }}
  68. fillOpacity: 0.8
  69. info: |-
  70. <table>
  71. {% for cat, data in const %}
  72. <tr>
  73. <td valign='top'>{{ markerPolygon({ "fillColor": data.color, "fillOpacity": "0.8", "width": 1, "color": "#000000" })|raw }}</td>
  74. <td onclick='this.classList.toggle("infoShowDetails")'><b>{{ trans(data.name) }}</b><span class='details'>:
  75. {% for i, type in data.types %}<span title='building={{ type }}'>{% if i > 0 %}, {% endif %}{{ tagTrans('building', type) }}</span>{% endfor %}
  76. </span>
  77. <span class='summary'><i class="fa fa-info-circle" aria-hidden="true"></i></span>
  78. </td>
  79. </tr>
  80. {% endfor %}
  81. </table>
  82. const:
  83. residential:
  84. name: tag:building=residential
  85. color: '#25a000'
  86. types:
  87. - house
  88. - apartments
  89. - block
  90. - flats
  91. - farm
  92. - detached
  93. - dormitory
  94. - terrace
  95. - houseboat
  96. - bungalow
  97. - static_caravan
  98. - residential
  99. - semidetached_house
  100. - ger
  101. - trullo
  102. tourism:
  103. name: tag:tourism
  104. color: '#814ce2'
  105. types:
  106. - hotel
  107. - ruins
  108. - conservatory
  109. commercial:
  110. name: tag:building=commercial
  111. color: '#ec5bcf'
  112. types:
  113. - commercial
  114. - office
  115. - industrial
  116. - retail
  117. - supermarket
  118. - warehouse
  119. - kiosk
  120. - mall
  121. - shop
  122. religious:
  123. name: tag:building=religious
  124. color: '#af29cc'
  125. types:
  126. - religious
  127. - cathedral
  128. - chapel
  129. - church
  130. - mosque
  131. - temple
  132. - synagogue
  133. - shrine
  134. - monastery
  135. amenity:
  136. name: tag:amenity
  137. color: '#2935cc'
  138. types:
  139. - kindergarten
  140. - civic
  141. - government
  142. - hospital
  143. - school
  144. - university
  145. - grandstand
  146. - public
  147. - toilets
  148. - college
  149. agriculture:
  150. name: tag:building=agriculture
  151. color: '#92e934'
  152. types:
  153. - bakehouse
  154. - barn
  155. - cowshed
  156. - farm_auxiliary
  157. - greenhouse
  158. - stable
  159. - sty
  160. - kitchen
  161. - slurry_tank
  162. - silo
  163. industrial:
  164. name: tag:landuse=industrial
  165. color: '#e2da1b'
  166. types:
  167. - construction
  168. - garbage_shed
  169. - transformer_tower
  170. - service
  171. - water_tower
  172. - industrial
  173. - warehouse
  174. - storage_tank
  175. transportation:
  176. name: tag:building=transportation
  177. color: '#1bb5e2'
  178. types:
  179. - carport
  180. - garage
  181. - garages
  182. - bridge
  183. - hangar
  184. - parking
  185. - train_station
  186. - transportation
  187. sport:
  188. name: tag:sport
  189. color: '#e21b66'
  190. types:
  191. - pavilion
  192. - riding_hall
  193. - stadium
  194. - sports_hall
  195. roof:
  196. name: tag:building=roof
  197. color: '#afafaf7f'
  198. types:
  199. - roof
  200. shelter:
  201. name: tag:amenity=shelter
  202. color: '#cc8725'
  203. types:
  204. - cabin
  205. - hut
  206. - shed
  207. military:
  208. name: tag:building=military
  209. color: '#4a7300'
  210. types:
  211. - bunker
  212. - military
  213. unspecified:
  214. name: tag:building=generic
  215. color: '#7f7f7f'
  216. types:
  217. - 'yes'
  218. - generic
  219. other:
  220. name: other
  221. color: '#ff0000'
  222. types: []