Building Colors
Description
This mappaint style colors buildings depending on their type (building=* tag).
The building type classification is the same as OsmAnd's "Color building depending on type" setting.
Code
meta { title: "Building Colors"; description: "Colors buildings depending on their building=* tag."; version: "3_2024-03-13"; author: "whatismoss"; icon: "buildingcolors.png"; link: "https://josm.openstreetmap.de/wiki/Styles/BuildingColors"; } meta[lang=fr] { title: "Bâtiments colorés"; description: "Met en couleur les bâtiments en fonction de leur clé building=*."; } meta[lang=ca] { title: "Edificis de Colors"; description: "Acoloreix els edificis en funció de la seva clau building=*."; } area[building], area[building=yes] { fill-color: #e3ac81; } area[building=garage], area[building=garages], area[building=industrial], area[building=transportation], area[building=warehouse], area[building=hangar], area[building=factory], area[building=manufacture], area[building=farm_auxiliary], area[building=shed], area[building=barn], area[building=outbuilding], area[building=service] { fill-color: #8c79a8; } area[building=residential], area[building=house], area[building=hut], area[building=cabin], area[building=detached], area[building=farm], area[building=hotel] { fill-color: #e87e51; } area[building=civic], area[building=hall], area[building=administrative], area[building=public], area[building=school], area[building=kindergarten], area[building=university], area[building=college], area[building=stadium], area[building=sports_centre] { fill-color: #edd772; } area[building=hospital] { fill-color: #f274a0; } area[building=commercial], area[building=retail] { fill-color: #f7a1d6; } area[building=bunker], area[building=barracks] { fill-color: #e66565; } area[building=collapsed], area[building=disused], area[abandoned:building], area[disused:building] { fill-color: #787878; } area[building=construction] { fill-color: #B6AE82; } area[building=roof], area[building=carport] { fill-color: #C2CAD8; } area[building=static_caravan], area[building=tent], area[building=beach_hut] { fill-color: #97b3e8; } area[building=office] { fill-color: #73e6d4; }
Styles_BuildingColors-style.mapcss, Styles_BuildingColors.zip
Last modified
9 months ago
Last modified on 2024-03-13T16:59:47+01:00
Attachments (1)
- buildingcolors.png (9.1 KB ) - added by 11 months ago.
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.