-
Notifications
You must be signed in to change notification settings - Fork 0
/
moremaps.html
93 lines (93 loc) · 9.79 KB
/
moremaps.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html>
<head>
<title>Winter Biking</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
<link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="./css/winterbiking.css" />
<link rel="stylesheet" href="./css/L.Control.Locate.min.css" />
<link rel="stylesheet" href="./LeafletDraw/leaflet.draw.css" />
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet-src.js"></script>
<script src="./LeafletDraw/leaflet.draw.js" type="text/javascript"></script>
<script src="./js/basemaps.js" type="text/javascript"></script>
<script src="./js/featureFunctions.js" type="text/javascript"></script>
<script src="./js/L.Control.Locate.min.js" type="text/javascript"></script>
<script src="./data/winterbiking.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
</head>
<body>
<div id="wrapper">
<div id="header" class="shadow roundedCorners">
<div id="title">Winter Biking</div>
<div id="subtitle">More maps I've done which may or may not involve winter or biking.</div>
<a href="./about.html"><button id="aboutBox">About</button></a>
<a href="./home.html"><button id="moreMapsBox">Home</button></a>
</div>
<div id="main">
<table>
<tr>
<td>
<a href='http://pathsforpeople.org'><img src="./images/pathsthumbnail.png" alt="Paths For People" height="299" width="313"></a>
</td>
<td>
<p id="subtitle"><strong>Paths For People</strong>. My main winter biking has attracted a little attention and I was contacted by Paths For People to make a few maps. They can explain things better than I can so go to their website, join up, and contribute.</p>
<p id="subtitle"><a href='http://pathsforpeople.org/map-collisions/'>Reported collisions between drivers and cyclists/pedestrians</a><br><a href='http://pathsforpeople.org/index.php/walk-bike-grid/#mapWalkBikeGrid'>Bike/walk route planning in Edmonton</a></p>
</td>
</tr>
<tr>
<td>
<a href='./begbutton/home.html'><img src="./images/begbuttonthumbnail.png" alt="Beg Buttons" height="299" width="313"></a>
</td>
<td>
<p id="subtitle"><strong>Edmonton Beg Buttons</strong>. The City of Edmonton's Transportation Master Plan is supposed to prioritize walking above all other forms of transportation. The City also adopted Vision Zero, the goal to have zero traffic fatalities or injuries. Despite these two moves by the City, citizens who choose sustainable transportation options in the city feel like the private automobile still rules the roads. It often feels that even when the City adds infrastructure for pedestrians and cyclists, there are little things that make the new infrastructure sub-par from a user perspective. One example is getting crosswalk lights but then having very long delays between pushing the button to request to cross and the light actually changing.</p>
<p id="subtitle">This map looks to capture the user experience of "beg buttons" in Edmonton. Some lights change as soon as the button is pressed while others take well over a minute. This is a citizen science project so please help out. Just time how long it takes for lights at a pedestrian crosswalk to change after the button is pressed. Either add that time to its existing location or add the location to the map.</p>
</td>
</tr>
<tr>
<td>
<a href='./odd16/home.html'><img src="./images/odd16thumbnail.png" alt="Open Data Day 2016" height="299" width="313"></a>
</td>
<td>
<p id="subtitle"><strong>Open Data Day 2016</strong>. Early in 2016, the City of Edmonton launched their <a href="http://ace.edmonton.ca/portfolio/open-analytics-map/">Open Analytics Map</a>. While I generally find it okay, I believe the census data has a major flaw in how it's displayed. Go take a look and see if you notice the same issue. I'll wait.</p>
<p id="subtitle">Did you notice a neighbourhood like Oliver shows up as having lots of employed AND unemployed? That's right, the map reports counts. Oliver has a lot of people in it so it shows up as having a large value in almost every census statistic. I tweeted the City, they defended using counts, and said rates may come later.</p>
<p id="subtitle">Here's my map. I only had four hours during Open Data Day 2016 for my own personal hackathon in my basement so I only selected four variables at nearly random. So that I can combine the data, I'm reporting Z-scores of the rate of each variable. That is to say, I calculated the unemployment rate in each neighbourhood and then calculated the Z-score. You can start reading about Z-scores <a href="https://en.wikipedia.org/wiki/Standard_score">here</a>, if you like. I decided to add the Z-scores so a large positive value means the neighbourhood is high in all of the selected attributes. I thought about multiplying but then large positive values just mean a neighbourhood is high or low on two values. A large negative value means one attribute is high and the other low. If three or four attributes are selected, things get more confusing. I thought about only allowing three layers to be selected and then playing with RGB values. I'm sure there are other, better ways to display the data.</p>
<p id="subtitle">I know it's not perfect but I think it shows characteristics of Edmonton neighbourhoods better than raw counts. Use the link below to tell me how you really feel about it.</p>
</td>
</tr>
<tr>
<td>
<a href='./paydayloans/home.html'><img src="./images/paydaythumbnail.png" alt="Payday loans" height="299" width="313"></a>
</td>
<td>
<p id="subtitle"><strong>Payday loans</strong>. This is a little map I threw together for <a href="https://twitter.com/Kris_NET">Kris</a>, a social worker with the City of Edmonton. He tweeted that he was going to be working with people hooked on or people who might be susceptible to predatory loans. It sounded like an interesting idea to see where predatory loan companies were clustered. A quick Python script hitting the Google Places API and I had the database for a map. As you can see, there are indeed clusters.</p>
<p id="subtitle">Update: I was happy to hear in the 2016 speech from the throne that the provincial government will attempt to stop predatory lending.</p>
</td>
</tr>
<tr>
<td>
<a href='./wbstrava/wbstrava.html'><img src="./images/wbstravathumbnail.png" alt="Winter Biking" height="299" width="313"></a>
</td>
<td>
<p id="subtitle"><strong>Strava Winter Biking</strong>.</p>
<p id="subtitle"><strong>This map no longer works since Strava changed their API due to privacy concerns.</strong>.</p>
<p id="subtitle">This map attempts to use <a href="http://www.strava.com">Strava</a> segment data to show biking conditions.</p>
<p id="subtitle">The theory is that cyclists will travel slower when conditions are not favourable and, by comparing recent times to historical times, cycling conditions can be approximated. A Python script is run to search for Strava segments and add them to a <a href="http://www.cartodb.com">CartoDB</a> database. A second Python script can then be run periodically to collect all segment efforts over a recent time span and the current leaderboard for that segment.</p>
<p id="subtitle">There are some shortcomings though. To see the conditions for a particular segment, it must have been added to the database. Segment suggestions can be sent to the e-mail below. The data also require timely updates. This means both that people must ride the segments and upload the data to Strava and that the Python script to update the segment times must be run frequently. There will also be a response lag in the data due to extreme weather events. Currently, "recent" segment efforts means the last seven days. Some experimenting will be done with this time window as too long means the data will not respond to weather events quickly but too short will likely mean no data as segment efforts will quickly become outdated.</p>
</td>
</tr>
<tr>
<td><a href="http://ecmaps.ca/atlas.html" target="_blank"><img src="./images/ecmapatlas.png" alt="ECMap" height="299" width="313 "></a></td>
<td><p id="subtitle"><strong>ECMap LiveAtlas</strong>. These interactive maps show Early Development Instrument (EDI) results, socio-economic data and information on community resources for communities and subcommunities in Alberta. The maps also show administrative boundaries for the province. Please note that LiveAtlas works best in Chrome, Firefox and Safari.</br></br>I worked at ECMap as a Mapping Analyst from September 2010 until March 2015, when the project was closed due to a lack of funding from the provincial government. I wrote the LiveAtlas originally using esri's Javascript API but I rewrote it using Leaflet so that it would be much less expensive to maintain after ECMap closed.</p></td>
</tr>
<tr>
<td></td>
<td>
<p id="notes">Questions? Comments? Send e-mails <a href="mailto:darcy@winterbiking.ca">here</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>