Tag Archives: wards
toronto’s human centre
Since it was trivial to calculate the centre of the city, I thought I’d do something a little more complex: calculate the centre of the city, weighted for population. I scraped the 2006 population data by ward from the City … Continue reading
oooOOOooh!
Now that’s a bit better. And I did it with only mild shapefile abuse. You can load the DBF component of a shapefile into Openoffice Calc. Columns get given headers which describe their format. By pasting in the candidates column, … Continue reading
ward maps: kinda working, sorta
Now I’ve sorted out formatting the labels and scraping the data, I should be almost ready to produce a pretty map. Well, almost. The DBF component of a shapefile seems somewhat resistant to adding a column, and SQLite doesn’t seem … Continue reading
closer to ward maps: scraping the data
Toronto publishes its candidates hereĀ http://app.toronto.ca/vote2010/findByOffice.do?officeType=2&officeName=Councillor in a kind of tabular format. All I want to do is count the number of candidates per ward, remembering that some wards have no candidates yet. Being lazy, I’d far rather have another … Continue reading
Labelling: harder than it looks
I’m rather taken with Mez’s rather neat Toronto ward candidate maps. I wonder if I could reproduce them (semi-)automatically? As a start, here’s the Toronto Wards layer, rendered in QGIS with the ward number as a label: You’ll notice that … Continue reading