User:Pouletic
Jump to navigation
Jump to search
See also: biker, geek, hacker...
Alternate buildings rendering for Kosmos to display the building key content if it's not "yes". Good for showing building numbers on e.g. a campus...
Buildings
Rule Name | Targets | Selector | Template | Options | Comment |
---|---|---|---|---|---|
Building | building=* | ||||
.BuildingResidential | building=residential | Polygon (MinZoom=12, Color=#F3D6B6, BorderColor=#6B5B8E, BorderWidth=1) Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=16:6;17:10, TextMode=AreaCenter) |
Residential buildings are colored F3D6B6 and labeled with the value of name | ||
.BuildingYes | building=yes | Polygon (MinZoom=13, Color=thistle, BorderColor=#6B5B8E, BorderWidth=1) Text (MinZoom=16, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=16:6;17:10, TextMode=AreaCenter) |
Other buildings are colored "thistle" and labeled with the value of name | ||
.* | building=* | Polygon (MinZoom=13, Color=thistle, BorderColor=#6B5B8E, BorderWidth=1) Text (MinZoom=15.8, Color=gray, TagToUse=building, FontName=Arial, FontStyle=bold, FontSize=15.8:8;17:15, TextMode=AreaCenter) Text (MinZoom=16.9, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=16:5;17:9, TextMode=AreaCenter, TextLineOffset=-100%) |
Buildings with values besides yes or residential are labeled with the value in large print; name is printed offset below in slightly smaller font than otherwise |
Adapted from Kosmos_General_Purpose_Rules