Monday, November 18, 2013

BC Electoral Redistribution and Population Dispersion

2013/01/09 Update: I have converted this blog post into a document and submitted it as a comment on the white paper.

I've been asked by my technical readers to stop writing so much about politics, but I cannot help myself, and this week I have the perfect opportunity to apply my technical skills to a local political topic.

History and Background

Like Britain and the USA (and very few other jurisdictions anymore), British Columbia has a first-past-the-post representative electoral system. The province is divided up into "electoral districts" (also known as "ridings" in the British tradition) and each district returns a single member to the Legislature. In each district, the candidate with the most votes wins the district, even if they only obtain a plurality. In the Legislature, the party with most seats forms government.

In such a system, the geographical layout of the districts has a great deal of importance, because it is possible for a party to win a majority of votes in the province, but a minority of seats in the legislature, if the votes are concentrated in particular seats. This actually happened in British Columbia in 1996. It also happened in the USA in the 2000 Presidential election, since their presidential Electoral College effectively acts like a weighted version of a first-past-the-post Legislature.

In a representative democracy, it's important that everyone's vote have the same weight, which means ensuring that the each district has approximately the same number of people in it. As relative populations grow in some regions and shrink in others, districts can become unbalanced, and districts need to be redrawn. In the USA, this "redistricting" process is often driven by partisan considerations, and can lead to districts like this (try out this awesome gerrymandered districts puzzle game):

Fortunately, since 1989 British Columbia's districts have been drawn every 10 years by non-partisan "Electoral Boundaries Commissions", and the primary consideration has been creating districts that are as equal in population as possible while allowing for effective representation.

Effective Representation

BC is a big place and a place of extremes. The smallest district in BC is in downtown Vancouver (Vancouver-West End), with an area of under 500 hectares: it takes less than 30 minutes to walk across it and 48,500 people live there.

The largest district is in the north-west of the province (Stikine), with an area of almost 20,000,000 hectares: about the size of Ireland, Switzerland, Denmark and the Netherlands, combined. Just over 20,000 people live in it. When you're dealing with areas this sparsely populated "effectiveness of representation" begins to have some concrete meaning.

On the other hand, the principle of "one person, one vote" is the corner-stone of democracy, and the goal of an electoral boundary re-distribution is to try to achieve it, as far as possible. There is a tension inherent in the process.

2008 Commission Catastrophe

Population growth in BC over the last generation has been concentrated in the south: mostly in Vancouver and its suburbs, with some in Vancouver Island and Kelowna. Commissions have dealt with this growth through a combination of increasing the number of seats in the Legislature (to suppress the growth of the average seat size), and slowly increasing the size of the rural districts (to keep defensibly close to the average).

In 2008, this process reached a tipping point, as the Commission recommended two new seats, and the transfer of three seats from rural areas to urban areas. Rural BC exploded in anger, and the government of the day rushed in legislation directing the Commission to add more seats than recommended and to avoid removing seats from certain rural areas.

At this point, though the process remained non-partisan (both parties in the Legislature supported the new plan), it had become thoroughly politicized (the carefully considered deliberations of the Commission had been hastily overturned by politicians for public relations purposes).

Formalization of Politicization

No doubt remembering the tumult of the 2008 experience, the current government of BC has released a proposal for the rules governing the next Electoral Boundary commission. The proposal aims to avoid a messy politicization of the process at the end, by politicizing quietly it in advance:

  • The Commission may not recommend adding any further seats to the Legislature
  • The Commission may not remove seats from three protected regions: North, Columbia-Kootenay, and Cariboo-Thompson

The protected regions look like this.

Note that the Okanagan region is isolated from the rest of the "unprotected" areas of the province, making it impossible to juggle population into or out of the region. That means the Okanagan can either gain or lose a whole seat, but never lose a "half" a seat by having population juggled in or out via boundary changes.

Anyone with a passing familiarity with BC electoral geography will recognize that this proposal entrenches an already large and growing deviation from the principle of one-person-one-vote, but I want to calculate just how large, and also to measure the "fairness" of this particular proposal.


The electoral district boundaries of BC are readily available as GIS files online, but do not have population information attached (and would be out of date if they did, since they pre-date the most recent census).

Similarly, the StatsCan boundary files can be downloaded, and the attribute file giving the census 2011 population in each block is also available. There are about 500-800 blocks in each electoral district, making for a very fine-grained profile of where people are concentrated in each district.

I loaded the GIS files into a PostGIS spatial database for analysis. Once the electoral districts (ed) and dissemination blocks (db) were loaded, calculating the electoral district population in PostGIS was a simple spatial join query:

SELECT ed.edabbr, ed.edname, sum(db.popn) as popn
FROM ed, db
WHERE ST_Intersects(ed.geom, db.geom) 
AND ST_Contains(ed.geom, ST_Centroid(db.geom))

The results of this calculation and others in this article can be seen in the spreadsheet I've placed online.

A quick summary of the population results shows that, among other things:

  • The current distribution is extremely lopsided, with the most heavily populated riding (Surrey-Cloverdale, 73042) having well over 3 times the population of the least populated (Stikine, 20238)
  • The current provincial average population is 51765 per riding
  • The average population in the 17 "protected" ridings is 35609, 31% less that the provincial average
  • The average population in the 68 "unprotected" ridings is 55804, 8% higher than the provincial average
  • A vote in the protected regions will be over 1.5 times more "powerful" than one in the unprotected regions
  • Of the 85 ridings, 26 are below average and 59 are above average, indicating that the problem of underpopulation is concentrated in a minority of ridings

There is no doubt that the government proposal will enshrine the regional imbalance in representation, and further worsen it as continued migration into the south pushes the balance even further out of line.

"Fair" Imbalances

Legal challenges to imbalanced representation have resulted in court decisions that indicate that it is constitutional within limits, and with reasonable justification. The limits generally accepted by the courts are +/- 25% of the provincial average, and the starting point of this proposal already exceeds that on average--some individual ridings (like Stikine) will be much worse. Political commentators in BC are already musing about whether ridings built under this scheme would survive a court challenge.

Of more analytical interest is whether the scheme of selecting "protected regions" is a good one for choosing which ridings should receive preferential treatment.

"Representing" a riding involves being available to your constituents, meeting with other orders of government in your riding (cities, school boards), and attending local events. Representation is very much tied up with being where the people are.

  • If the people are all in one place, near together, then representing them is easy.
  • If the people are spread out, in many different localities, then representing them is hard.

Can we measure the "spreadoutness" of people? Yes, we can!

Calculating Dispersion

Each riding contains several hundred census dissemination blocks, each of which has a population associated with it. Imagine measuring the distance between each block, and all the other blocks in the riding, and weighting that distance by the population at each end.

For Vancouver-Fairview, the picture looks like this.

The blocks are fairly regular, the population is all very close together, and the dispersion is not very high.

For Skeena, the picture looks like this.

The population is concentrated in two centers (Terrace and Kitimat) reasonably far apart, giving a much higher dispersion than the urban ridings.

In mathematical terms, the formula for "dispersion" looks like this.

In the database, after creating a table of census blocks that are coded by riding, the calculation looks like this.

WITH interim AS (
  max(a.edname) AS edname,
  sum(b.popn * a.popn * st_distance_sphere(, AS score,
  sum(b.popn * a.popn) AS p2
 FROM popn a, popn b
 WHERE a.ed = b.ed
 GROUP BY a.ed
SELECT ed, edname, score/p2/1000 AS score 
FROM interim;

Taking the ratio of the distance scaled populations against the unscaled populations allows populations that are far apart to dominate ones that are close together. Scaling the final result down by 1000 just makes the numbers more readable.

As before, the results of this calculation and others in this article can be seen in the spreadsheet.

Is Regional Protection "Fair"

Using the measure of dispersion allows us to evaluate the government proposal on its merits: does protecting the North, Kootenays, Cariboo and Thompson protect those ridings that are most difficult to represent?

In short, no.

The regional scheme protects some difficult ridings (Stikine) but leaves others (North Island) unprotected. It also protects ridings that are not particularly dispersed at all (Kamloops-South Thompson), while leaving more dispersed ridings (Powell River-Sunshine Coast, Boundary-Similkameen) unprotected.

Among the larger ridings, Skeena is notable because even though it is the 10th largest riding by area, and 10th sparsest by population density, it's only the 17th most dispersed. There are many smaller ridings with more dispersion (Powell River-Sunshine Coast, Nelson-Creston, Boundary-Similkameen). This is because most of the people in Skeena live in Terrace and Kitimat, making it much easier to represent than, say, North Island. Despite that, Skeena's population is 43% below the average, while North Island's is 5% above.

Kamloops-South Thompson is the least dispersed (score 15.2) protected riding, and it's worth comparing it to the similar, yet unprotected, Nanaimo-North Cowichan (score 16.2).

Kamloops-South Thompson (protected) consists of a hunk of Kamloops, and a string of smaller communities laid out to the east for 50KM along Highway 1.

Nanaimo-North Cowichan (unprotected) consists of a hunk of Nanaimo, and a string of smaller communities laid out to the south for 45KM along Highway 1 (and some settled islands).

What is it about Kamloops-South Thompson that recommends it for protected status along with truly dispersed difficult ridings like Stikine? Nothing that I can determine.

Let the Commission Work

The intent of the government's proposal to amend the Redistribution Act is clearly to avoid the firestorm of protest that accompanied the 2008 Commission report, and it's good they are thinking ahead.

They need to think even further ahead: the consequences of having the boundaries enacted, then reversed in court, will be far more disruptive than allowing the Commission to proceed with the necessary work of redistributing BC's districts to more fairly reflect our actual population distribution.

The end result of an unconstrained Commission will be fair boundaries that still reflect the representation needs of dispersed ridings by giving them lower populations within the limits already acknowledged by the courts: +/- 25% with a handful of exceptions (I'm looking at you, Stikine).

I encourage you to explore the data on dispersion, and how it relates to the regional "protection" scheme, in the spreadsheet.


JMH said...

Less writing about politics?! There are few people out there who can cogently and engagingly write about the connections between politics and information technology and I personally enjoy it and hope that you continue! However, would you entertain editorial requests from readers? I've been following the US's roll out of, but most the media coverage has been lacking in any real insight (especially insight from professionals that actually roll out websites). After reading most articles, I find myself thinking, "What does/would Paul Ramsey have to say about this?"

Rob Skelly said...

Paul, you and I both know that politics is a heritable, but incurable disease. Carry on.

This is not only relevant to my interests, but to my final year of schooling. Thanks!

Jason Birch said...

Interesting that you chose to allocate the census data to electoral districts by centroid. Do their boundaries generally align? With the number of census polygons I suppose it probably doesn't have a material effect, but I'd be interested in knowing whether distributing the population by proportional area would make any difference.

Paul Ramsey said...

@Jason, my cursory examination of the blocks versus the districts indicated that, in the urban areas where the block populations are actually meaningful, they lined up. In general because the blocks are so very small (500+ per district) the very occasional place where a proportional approach would alter the totals wouldn't alter the analysis at all. And any area proportional approach has to be taken carefully, since people don't live uniformly in areas (particularly the larger block polygons) they tend to be clumped.

Jason Birch said...

Yeah, you run into MOAP; I was just interested in whether this would be something worth investigating. But if the boundaries generally line up and there are so many of them per district it's not material.

Jeff Davis said...

Is there expected to be an electoral boundary redistribution before the next fixed election date in 2017? (beyond poll level)

Paul Ramsey said...

@Jeff Yes, and it will be appointed fairly soon. The Act states "(2) A new commission must be appointed no later than one year after the general voting day for every second general election following the appointment under subsection (1)." and we just completed our second elections under the 2009 boundaries.

Bernard von Schulmann said...

I have been looking at the White Paper and I think it is a very flawed approach for a host of reasons.

I can not see how the proposed idea manages to be legal within the court decisions about electoral districts in Canada. Breaching the +-25% is only supposed to happen in special circumstances. In the case of Saskatchewan this related to the two northern ridings that are much more remote and much larger than the ones in BC. I do not think there is a case for any special circumstances in BC for any any ridings

Glacier said...
This comment has been removed by the author.
Paul Ramsey said...

@Glacier, I grew up in Prince George, so I share your attachment. People go where there are jobs to support them. While government could provide more services closer to people, without the base jobs to support the population, it's no solution. (If there's nobody in Stone Creek, why keep the Stone Creek school open? I remember driving by it as a kid, then seeing it closed, then seeing just the concrete pad where it used to be. Then seeing the Stone Creek hotel burned down as well.)

Some of this is economics and some is technology. I was surprised while researching this to find that Kitimat had actually shrunk substantially over the last 20 years. There's still a smelter there, what gives? Every time they modernize the plant, they gain the ability to make more aluminum with fewer people. The same is true in the forest industry. Once upon a time, people felled trees in the interior by hand, and skidded them to the landing. Then a clever person invented the feller-bunched, and one man could do the work of 10. Lumber used to be manually sorted and graded on the green chain, now computers do the grading and machines sort the wood. Rural industries that used to be labor intensive are now capital intensive, so there's fewer jobs.

Even if rural BC holds on with a stable population, the growth of urban areas will continue to erode the PROPORTION of people in rural BC. Things change, economies change, and in time our legislature is going to have to change. We're becoming a much more urban province, and much more urban country. Starting to rebalance the legislature now will make things less disruptive over the long term.

Glacier said...

I think that you put forward a solid argument against the current way of doing things, but given the likelihood of nothing changing any time soon, we might want to look at plan B. Encouraging people to move back to the north might be an easier solution than the politically unpopular notion of redrawing boundaries.

First, we need to figure out why the rural and northern areas are losing population, then what we can do to reverse the trend.

As a former northerner myself who came south for university and work, I fully admit to being biased as I see my former community school shrink every year down to the point that it is basically a one room school today. This is not saving tax payers any money since the school cannot be shut down given the remote location.

Many rural and northern communities are in the same boat. It seems to me that this trend really started when the government started centralizing services in the 1980s. This was done to save money, of course, but no one has looked at the social costs. For example, studies show that urban people feel more isolated, and suffer depression in far greater numbers as a result.

Glacier said...

Oops, sorry about deleting my original comment. Reposted above. Very good point about rural BC losing ground proportionately either way.

J said...

I recently read this post and related paper about how delegates from large cities in the states have less luck getting their legislation passed than those from rural areas. It doesn't translate to BC, but thought it was interesting:

Wilf Day said...

"That means the Okanagan can either gain or lose a whole seat." Don't leave us in suspense: what will it deserve?

Paul Ramsey said...

@Wilf, good question. The Okanagan has 7 seats, and depending on the number of seats the commission chooses to add, it should mathematically have between 6.7 and 6.9 seats. So it's actually represented about right. No problems during this cycle. The commission will have to solve the internal problem of Boundary Similkameen though, which is way under population yet not included in the protected regions.

About Me

My Photo
Victoria, British Columbia, Canada

Blog Archive


bc (44) it (35) postgis (24) video (15) enterprise IT (11) icm (11) gis (9) sprint (9) foi (8) open source (8) osgeo (8) enterprise (7) cio (6) foippa (6) foss4g (6) management (6) politics (6) spatial it (6) outsourcing (5) mapserver (4) bcesis (3) boundless (3) email (3) opengeo (3) oracle (3) rant (3) COTS (2) architecture (2) cartodb (2) deloitte (2) esri (2) hp (2) idm (2) javascript (2) natural resources (2) ogc (2) open data (2) openstudent (2) oss (2) postgresql (2) technology (2) vendor (2) web (2) 1.4.0 (1) HR (1) access to information (1) accounting (1) agile (1) archive (1) aspen (1) bcpoli (1) benchmark (1) buffer (1) build vs buy (1) business (1) business process (1) c (1) career (1) cathedral (1) client (1) cloud (1) code (1) common sense (1) consulting (1) contracting (1) core review (1) crm (1) crockofshit (1) cunit (1) custom (1) data science (1) data warehouse (1) design (1) development (1) digital (1) environment (1) essentials (1) evil (1) exadata (1) fcuk (1) fgdb (1) fme (1) foocamp (1) foss4g2007 (1) ftp (1) gdal (1) gds (1) geocortex (1) geometry (1) geoserver (1) geotiff (1) google (1) google earth (1) government (1) grass (1) hadoop (1) iaas (1) icio (1) imagery (1) industry (1) innovation (1) integrated case management (1) introversion (1) iso (1) isss (1) isvalid (1) jpeg (1) jts (1) lawyers (1) mapping (1) mcfd (1) media (1) microsoft (1) money (1) mysql (1) new it (1) nosql (1) nrs transformation (1) oipc (1) opengis (1) openlayers (1) paas (1) pgconfsv (1) pirates (1) policy (1) portal (1) proprietary software (1) public accounts (1) qgis (1) r (1) rdbms (1) recursion (1) redistribution (1) regression (1) rfc (1) right to information (1) saas (1) salesforce (1) sardonic (1) scandal (1) seibel (1) sermon (1) server (1) siebel (1) snark (1) spatial (1) standards (1) statistics (1) svr (1) taxi (1) tempest (1) texas (1) tired (1) transit (1) tripledelete (1) twitter (1) uber (1) udig (1) uk (1) uk gds (1) verbal culture (1) victoria (1) waterfall (1) wfs (1) where (1) with recursive (1) wkb (1)