Open Postal Code Data

Lessons from Represent

Represent is a web service run by Open North that allows Canadian citizens to find their elected officials by postal code for free. Canadian nonprofits use Represent to help their supporters send letters to their representatives about important issues.

In order to provide this service, we need access to accurate information about postal codes. Both the United States and the United Kingdom release their postal code databases into the public domain. In Canada, on the other hand, Canada Post claims copyright over postal codes and charges over $5,500 for its postal code data products.

Postal codes are not only useful to Represent. For example, your local Internet provider may determine whether they provide service to your area by asking you for your postal code. In general, postal codes are an easy way to identify where a person is, and are used by businesses, nonprofits, researchers, demographers, and governments among others. According to David Eaves, who sits on the federal government’s Advisory Panel on Open Government, postal code data is the dataset most requested by the public.

Low-cost access to postal code data would benefit a great number of organizations and people in Canada. This post explores the history and origins of postal codes and describes the progress we’ve made in making this data widely available.

What are postal codes and where do they come from?

The first three characters of a postal code indicate the forward sortation area (FSA), which represents either a part of a large city like Toronto, an entire municipality or a collection of municipalities. The last three indicate the local delivery unit (LDU), which often represents a single building or a range of addresses on one street. As a municipality grows, it creates new addresses and shares its address data with Canada Post for free. Canada Post then assigns postal codes to those addresses.

The authorship and ownership of postal codes is a matter of recent controversy. In early 2012, Canada Post took legal action against two postal code data providers, Geocoder.ca and PopularData.com, claiming copyright over any database of postal codes, regardless of how the database was put together. CIPPIC’s defense of Geocoder.ca argues that the Copyright Act does not apply to postal codes and that, even if so, Geocoder.ca did not infringe on Canada Post’s copyright. No decision on the case has been made yet.

Getting postal code data for Represent

Represent’s postal code data is obtained from official government sources and Geocoder.ca.

We previously explained the process of obtaining electoral boundary data from municipalities. We follow a similar, simple process to obtain postal code concordances from the provinces. (A concordance is a file that matches each postal code with one or more provincial ridings.) When a province denies access to its data, it’s important to understanding why. Does the province license the data from a third-party? Who can we contact from the data provider about obtaining access? Following further discussion, it is sometimes possible to negotiate access to the data through a license agreement. Here is a summary of our progress thus far:

  • We have successfully obtained and published concordances for QuebecNew Brunswick and Newfoundland and Labrador

  • In many cases, the provinces cannot share their postal code data, because their license agreements with Canada Post or DMTI Spatial prevent it. (DMTI Spatial gives access to LDU boundaries for a quoted $11,275.) Saskatchewan, Alberta and British Columbia fall into this category.

  • Elections Ontario used to publish its concordances online. In May 2012, however, Elections Ontario removed this file from its website following a request from Canada Post.

  • Elections Quebec publishes its concordances on its website, which it creates using voter information and without relying on data from Canada Post.

  • Manitoba, Nova Scotia and Prince Edward Island do not generate concordances, because voters in those provinces often receive mail a significant distance from where they live, such that a postal code is not a good predictor of which electoral district a voter lives in.

The road ahead

It is possible to think of postal codes as a public good, which should be released to the commons without copyright. In February 2013, Canada Post released FSA boundaries through Statistics Canada for free, but retained copyright and official mark over postal codes. It’s a step in the right direction, but the LDU boundaries are what Canadians are really after.

In the coming months, we will be comparing the postal code data from third-parties, like Geocoder.ca, to the data from DMTI Spatial and Canada Post, so that Canadians can make informed decisions as to which low-cost provider provides the best balance of price versus quality for their use case. We look forward to sharing the results!