Change all buildings Color to Red

To change all buildings Color to Red, open /usr/local/share/maps/style/OSMBright/OSMBright.xml file and then

1. In line 966 where style name building is defined (Style name=”buildings” filter-mode=”first”), change the fill colour to red i.e. #FF0000 at every zoom level.

2. Change it for polygonsymbolizer, buildingSymbolizer etc.

3. Then perform re-rendering, if needed remove the old tiles in <code>/var/lib/mod_tile </code>folder and re-generate all.

4. Now, check the result on the browser.



Published by


I am the one who discover myself daily through reading, writing, interacting with people and expressing my thoughts to inspire them if I would be able to bring a little change to the society through my work. I write blogs, participate in various social activities and want to be a Professional Speaker. Currently, I am pursuing my post graduation in Computer Applications from Guru Nanak Dev Engineering College, Ludhiana and I’m very much active in many technical & social communities.

One thought on “Change all buildings Color to Red”

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s