Cartographic tricks and tips– making text readable.

I was playing recently with techniques for making text/labels in maps more readable in a map.  We can use simple buffers to do this, but this isn’t always adequate.  Take this example:


which is a label on top of contours.  It is adequately readable.  If we show 2 ft contours as well, the map becomes somewhat cluttered:

2ft contours

So, we apply the common technique of halo or buffer, which in this case we’ll do in QGIS:


and so we get an adequate result:


If we color the halo the same as our background color, we achieve a subtle but effective result:

image006Overall, I’m pretty pleased with this result. But note the contour lines running through the “O” and “G”, etc.  This would be more readable if we blocked more of the contour linework.  Enter convex polygons:




Overall, I like this effect a lot. It can be subtle but quite powerful.  It would also may a nice addition to existing rendering pipelines as a labeling option, in middleware such as GeoServer, MapServer, or the Mapnik family.

golf_orig ——–>golf_final

Irony here– I’m absolutely awful at anything but mini-golf (putt-putt).

4 thoughts on “Cartographic tricks and tips– making text readable.

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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.