| 47 | | {{{ |
| 48 | | #!style type="mapcss" |
| 49 | | meta |
| 50 | | { |
| 51 | | title: "Coloured Buildings.es"; |
| 52 | | author: "geozeisig, dcapillae"; |
| 53 | | version: "1.1[[revision]]_[[date]]"; |
| 54 | | description: "Style to classify buildings (Spanish)"; |
| 55 | | link: "https://josm.openstreetmap.de/wiki/Styles/Coloured_buildings"; |
| 56 | | } |
| 57 | | meta[lang=es] |
| 58 | | { |
| 59 | | title: "Coloured Buildings.es"; |
| 60 | | description: "Estilo para clasificar edificios"; |
| 61 | | link: "https://josm.openstreetmap.de/wiki/Es:Styles/Coloured_buildings"; |
| 62 | | } |
| 63 | | area[building=residential] |
| 64 | | { |
| 65 | | text: eval("Residencial"); |
| 66 | | text-color: black; |
| 67 | | font-size: 9; |
| 68 | | z-index: 1; |
| 69 | | color: #FFFFFF; |
| 70 | | fill-color: #FFFFFF; |
| 71 | | width: 3; |
| 72 | | dashes: 10,2; |
| 73 | | } |
| 74 | | |
| 75 | | area[building=house] |
| 76 | | { |
| 77 | | text: eval("Casa"); |
| 78 | | text-color: black; |
| 79 | | font-size: 9; |
| 80 | | z-index: 1; |
| 81 | | color: #FFF88B; |
| 82 | | fill-color: #FFF88B; |
| 83 | | width: 3; |
| 84 | | dashes: 10,2; |
| 85 | | } |
| 87 | | area[building=detached] |
| 88 | | { |
| 89 | | text: eval("Vivienda unifamiliar"); |
| 90 | | text-color: black; |
| 91 | | font-size: 9; |
| 92 | | z-index: 1; |
| 93 | | color: #FFFD36; |
| 94 | | fill-color: #FFFD36; |
| 95 | | width: 3; |
| 96 | | } |
| 97 | | |
| 98 | | area[building=terrace] |
| 99 | | { |
| 100 | | text: eval("Adosados"); |
| 101 | | text-color: black; |
| 102 | | font-size: 9; |
| 103 | | z-index: 1; |
| 104 | | color: #FFFC00; |
| 105 | | fill-color: #FFFC00; |
| 106 | | width: 3; |
| 107 | | } |
| 108 | | |
| 109 | | area[building=apartments] |
| 110 | | { |
| 111 | | text: eval("Apartamentos"); |
| 112 | | text-color: black; |
| 113 | | font-size: 9; |
| 114 | | z-index: 1; |
| 115 | | color: #FF9E00; |
| 116 | | fill-color: #FF9E00; |
| 117 | | width: 3; |
| 118 | | } |
| 119 | | |
| 120 | | area[building=garage] |
| 121 | | { |
| 122 | | text: eval("Garaje"); |
| 123 | | text-color: black; |
| 124 | | font-size: 9; |
| 125 | | z-index: 1; |
| 126 | | color: #A37237; |
| 127 | | fill-color: #A37237; |
| 128 | | width: 3; |
| 129 | | } |
| 130 | | |
| 131 | | area[building=garages] |
| 132 | | { |
| 133 | | text: eval("Garajes"); |
| 134 | | text-color: black; |
| 135 | | font-size: 9; |
| 136 | | z-index: 1; |
| 137 | | color: #A37237; |
| 138 | | fill-color: #A37237; |
| 139 | | width: 3; |
| 140 | | } |
| 141 | | |
| 142 | | area[building=hotel] |
| 143 | | { |
| 144 | | text: eval("Hotel"); |
| 145 | | text-color: black; |
| 146 | | font-size: 9; |
| 147 | | z-index: 1; |
| 148 | | color: #F26100; |
| 149 | | fill-color: #F26100; |
| 150 | | width: 3; |
| 151 | | } |
| 152 | | |
| 153 | | area[building=commercial] |
| 154 | | { |
| 155 | | text: eval("Comercial"); |
| 156 | | text-color: black; |
| 157 | | font-size: 9; |
| 158 | | z-index: 1; |
| 159 | | color: #D76EFF; |
| 160 | | fill-color: #D76EFF; |
| 161 | | width: 3; |
| 162 | | } |
| 163 | | |
| 164 | | area[building=industrial] |
| 165 | | { |
| 166 | | text: eval("Industrial"); |
| 167 | | text-color: black; |
| 168 | | font-size: 9; |
| 169 | | z-index: 1; |
| 170 | | color: #C224FF; |
| 171 | | fill-color: #C224FF; |
| 172 | | width: 3; |
| 173 | | } |
| 174 | | |
| 175 | | area[building=church] |
| 176 | | { |
| 177 | | text: eval("Iglesia"); |
| 178 | | text-color: black; |
| 179 | | font-size: 9; |
| 180 | | z-index: 1; |
| 181 | | color: #9224FF; |
| 182 | | fill-color: #9224FF; |
| 183 | | width: 3; |
| 184 | | } |
| 185 | | |
| 186 | | area[building=cathedral] |
| 187 | | { |
| 188 | | text: eval("Catedral"); |
| 189 | | text-color: black; |
| 190 | | font-size: 9; |
| 191 | | z-index: 1; |
| 192 | | color: #7D1DDD; |
| 193 | | fill-color: #7D1DDD; |
| 194 | | width: 3; |
| 195 | | } |
| 196 | | |
| 197 | | area[building=retail] |
| 198 | | { |
| 199 | | text: eval("Tiendas"); |
| 200 | | text-color: black; |
| 201 | | font-size: 9; |
| 202 | | z-index: 1; |
| 203 | | color: #A5FC4E; |
| 204 | | fill-color: #A5FC4E; |
| 205 | | width: 3; |
| 206 | | } |
| 207 | | |
| 208 | | area[building=roof] |
| 209 | | { |
| 210 | | text: eval("Tejado"); |
| 211 | | text-color: black; |
| 212 | | font-size: 9; |
| 213 | | z-index: 1; |
| 214 | | color: #CBA371; |
| 215 | | fill-color: #CBA371; |
| 216 | | width: 3; |
| 217 | | } |
| 218 | | |
| 219 | | area[building=hospital] |
| 220 | | { |
| 221 | | text: eval("Hospital"); |
| 222 | | text-color: black; |
| 223 | | font-size:10; |
| 224 | | z-index: 1; |
| 225 | | color: #FF5566; |
| 226 | | fill-color: #FF5566; |
| 227 | | width: 3; |
| 228 | | } |
| 229 | | area[amenity=hospital] |
| 230 | | { |
| 231 | | color: #FF5566; |
| 232 | | width: 3; |
| 233 | | } |
| 234 | | area[building=school] |
| 235 | | { |
| 236 | | text: eval("Escuela"); |
| 237 | | text-color: black; |
| 238 | | font-size: 9; |
| 239 | | z-index: 1; |
| 240 | | color: #884CFF; |
| 241 | | fill-color: #884CFF; |
| 242 | | width: 3; |
| 243 | | } |
| 244 | | area[amenity=school] |
| 245 | | { |
| 246 | | color: #884CFF; |
| 247 | | width: 3; |
| 248 | | } |
| 249 | | area[building=university] |
| 250 | | { |
| 251 | | text: eval("Universidad"); |
| 252 | | text-color: black; |
| 253 | | font-size: 9; |
| 254 | | z-index: 1; |
| 255 | | color: #7834FF; |
| 256 | | fill-color: #7834FF; |
| 257 | | width: 2; |
| 258 | | } |
| 259 | | area[amenity=university] |
| 260 | | { |
| 261 | | color: #7834FF; |
| 262 | | width: 3; |
| 263 | | } |
| 264 | | area[building=public] |
| 265 | | { |
| 266 | | text: eval("Público"); |
| 267 | | text-color: black; |
| 268 | | font-size: 9; |
| 269 | | z-index: 1; |
| 270 | | color: #FF2238; |
| 271 | | fill-color: #FF2238; |
| 272 | | width: 3; |
| 273 | | } |
| 274 | | |
| 275 | | |
| 276 | | area[building=dormitory] |
| 277 | | { |
| 278 | | text: eval("Residencia"); |
| 279 | | text-color: black; |
| 280 | | font-size: 9; |
| 281 | | z-index: 1; |
| 282 | | color: #F07B2D; |
| 283 | | fill-color: #F07B2D; |
| 284 | | width: 3; |
| 285 | | } |
| 286 | | |
| 287 | | area[building][amenity][building!=church][building!=cathedral] |
| 288 | | { |
| 289 | | text: "Equipamiento"; |
| 290 | | text-color: black; |
| 291 | | dashes: 20,4; |
| 292 | | font-size: 10; |
| 293 | | z-index: 1; |
| 294 | | color: #FF2238; |
| 295 | | fill-color: #FF2238; |
| 296 | | width: 3; |
| 297 | | } |
| 298 | | |
| 299 | | area[building][shop] |
| 300 | | { |
| 301 | | text: "Comercio"; |
| 302 | | text-color: black; |
| 303 | | dashes: 20,4; |
| 304 | | font-size: 10; |
| 305 | | z-index: 1; |
| 306 | | color: #3E43D2; |
| 307 | | fill-color: #3E43D2; |
| 308 | | width: 3; |
| 309 | | } |
| 310 | | |
| 311 | | area[building][office] |
| 312 | | { |
| 313 | | text: "Oficina"; |
| 314 | | text-color: black; |
| 315 | | font-size: 10; |
| 316 | | z-index: 1; |
| 317 | | color: #39D237; |
| 318 | | fill-color: #39D237; |
| 319 | | width: 3; |
| 320 | | dashes: 20,4; |
| 321 | | } |
| 322 | | /* highlight wrong schoolbuildings */ |
| 323 | | way[building=yes][amenity=school] |
| 324 | | { |
| 325 | | text: eval("Establecer como builing=school"); |
| 326 | | font-size: 12; |
| 327 | | z-index: 1; |
| 328 | | color: red; |
| 329 | | width: 5; |
| 330 | | dashes: 20,4; |
| 331 | | dashes-background-color: #FFFF00; |
| 332 | | } |
| 333 | | |
| 334 | | /* highlight wrong church */ |
| 335 | | way[building=yes][amenity=place_of_worship] |
| 336 | | { |
| 337 | | text: eval("Establecer como builing=church"); |
| 338 | | font-size: 12; |
| 339 | | z-index: 1; |
| 340 | | color: red; |
| 341 | | width: 5; |
| 342 | | dashes: 20,4; |
| 343 | | dashes-background-color: #FFFF00; |
| 344 | | } |
| 345 | | }}} |
| | 48 | [[wiki:Styles/Coloured_buildings]] |