Wednesday, December 7, 2011

Choosing Colors for Your Maps

There are a number of factors we need to consider when choosing colors for the maps we create using QGIS or any other software.  This is especially true if we are creating maps on behalf of a local unit of government.  The information on the maps must be accessible to everybody, especially to the estimated 10% of the male population that have conditions that we collectively call "color blindness."

Check out the website  Among other things, this lets you upload an image (of your map, for example) to simulate what a color-blind person sees.  The results will surprise you!

Other color-related factors we need to consider include:

  • the number of colors to use (too many may overwhelm the senses)
  • using distinct colors
  • choosing colors so they look good when printed
  • choosing colors so information is not lost when photocopied

All these are classical conundrums (conundra?) that plague modern cartographers.  (See Designing Better Maps, A Guide for GIS Users by Cynthia Brewer, an awesome Penn State cartography professor.)

One tool you definitely need to consult while cranking out your GIS map is Color Brewer ( by Cynthia Brewer and her crew at Penn State.  It'll help you select color schemes that take into account as many of the above factors as you'd like.  (Note that as you take more of these factors into account, your choice of color schemes starts getting severely curtailed...)

Once you've chosen a color scheme from Color Brewer, you'd normally have to manually input the color scheme as a "color ramp" into QGIS to assign the colors to the various multi-featured polygons in your map.  But fear not:  Anita Graser, an Austrian QGIS contributor who blogs as "Underdark" in Free and Open Source GIS Ramblings, has published a very simple methodology to import into QGIS, wholesale, the color schemes that are recommended in Color Brewer.

In her blog entry, Graser presents an XML file (as a listing which you can copy into a text editor like Notepad and then save it as "colors.xml" or something like that) which you can import into QGIS to form many color ramps.  Just follow the instructions in the blog after you've saved the xml file.  She has done all the work of transcribing the colors in the various Color Brewer color schemes into hex codes that QGIS can understand, and has made them into continuous color ramps.  This means you can use a color scheme on a polygon that has numerous features without having to worry about among exactly how many features you have to split the colors.  Happy Map Coloring!

A final thought: Check out the QGIS blogs listed in the Resources > QGIS page of our Open Source Township GIS Page!  Many of these are chock full of hints, tips and tricks like those that Anita Graser has given us!

Tuesday, December 6, 2011

An Outstanding QGIS Tutorial/Workshop

One of the great things about QGIS is the incredible array of educational resources available to learn the software (and pick up some basic GIS along the way).  This morning, via today's entry by Tim Sutton (a South Africa-based QGIS developer and guru)in his Linfiniti Geo Blog, I became aware of yet another outstanding QGIS tutorial, web-based with embedded videos. It's actually brand-new, and uses QGIS 1.7.  This means that what you see in the tutorials will closely resemble what you see on your QGIS screen, for a change!  (For now, anyway --- QGIS 1.8 or 1.9 will be out soon, followed by 2.0 next year?)

Anyway, the tutorial site is Lex Berman's QGIS Workshop.  Click on the image at left at left (or on the text link above) and check it out.  Each of the subject areas has web page text and/or embedded YouTube video.  The videos are pretty short; I will be using some of them them as a preliminary viewing in some of the tutorials I have planned for our Open Source Township GIS website.

Lex Berman is on the faculty of the Center for Geographic Analysis (CGA) of Harvard University.  I contacted him today to request permission to list, and ask him how to attribute, his site on our website.  He told me that we're free to use and link to his tutorials or mirror them, provided we follow his Creative Commons license.  He also asks that the Township GIS project participants contact him with any suggestions on "extending and improving the tutorial website."  If you feel he should add topics and/or beef up his explanations, feel free to contact him! (Use the "Lex Berman" link to get his e-mail.)

He also thinks that your GIS maps and webmaps are really great!  Keep up the good work, folks!

Saturday, November 19, 2011

A New Blog

Hello, Township GIS folks!

I thought I'd start this blog to keep you posted of the various changes and additions to our store of GIS products and web maps that have come out of our project.  It will also let you know of any additional pages and tutorials that may have been added to our project website.

If the Blogger software I'm using here works as advertised, then you should have been notified by e-mail about this blog entry.  You can subscribe to the blog by clicking on the link below this text.  You can also get to our website by clicking on the graphic at the top of the right-hand panel.

No new entries on our website yet... this blog post is just to announce this blog site!