octranspo 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. data/.gitignore +3 -0
  2. data/Gemfile +2 -0
  3. data/Gemfile.lock +26 -0
  4. data/Rakefile +8 -0
  5. data/lib/octranspo.rb +20 -0
  6. data/lib/octranspo/headsign.rb +2539 -0
  7. data/lib/octranspo/headsigns.yml +40565 -0
  8. data/lib/octranspo/landmarks.rb +37 -0
  9. data/lib/octranspo/lingo.rb +125 -0
  10. data/lib/octranspo/lingo/headsign_messages.yml +104 -0
  11. data/lib/octranspo/lingo/headsign_signatures.yml +3 -0
  12. data/lib/octranspo/lingo/landmarks.yml +205 -0
  13. data/lib/octranspo/lingo/roadways.yml +1957 -0
  14. data/lib/octranspo/mobile_resource_methods.rb +98 -0
  15. data/lib/octranspo/mobile_route_data.rb +85 -0
  16. data/lib/octranspo/mobile_route_schedule.rb +118 -0
  17. data/lib/octranspo/mobile_stop_schedule.rb +137 -0
  18. data/lib/octranspo/remote_resource_methods.rb +89 -0
  19. data/lib/octranspo/route.rb +31 -0
  20. data/lib/octranspo/routes.yml +507 -0
  21. data/lib/octranspo/service_date.rb +17 -0
  22. data/lib/octranspo/stations.yml +77 -0
  23. data/lib/octranspo/stop.rb +69 -0
  24. data/lib/octranspo/stop_resource.rb +46 -0
  25. data/lib/octranspo/stops.yml +30696 -0
  26. data/lib/octranspo/version.rb +3 -0
  27. data/octranspo.gemspec +22 -0
  28. data/test/fixtures/mobile_route_data/20090323/route_123_index_0.html +457 -0
  29. data/test/fixtures/mobile_route_data/20090323/route_123_index_1.html +99 -0
  30. data/test/fixtures/mobile_route_data/20090323/route_1_index_0.html +700 -0
  31. data/test/fixtures/mobile_route_data/20090323/route_1_index_1.html +691 -0
  32. data/test/fixtures/mobile_route_data/20090323/route_2_index_0.html +682 -0
  33. data/test/fixtures/mobile_route_data/20090323/route_2_index_1.html +646 -0
  34. data/test/fixtures/mobile_route_data/20100323/route_123_index_0.html +469 -0
  35. data/test/fixtures/mobile_route_data/20100323/route_123_index_1.html +105 -0
  36. data/test/fixtures/mobile_route_data/20100323/route_1_index_0.html +703 -0
  37. data/test/fixtures/mobile_route_data/20100323/route_1_index_1.html +694 -0
  38. data/test/fixtures/mobile_route_data/20100323/route_2_index_0.html +685 -0
  39. data/test/fixtures/mobile_route_data/20100323/route_2_index_1.html +649 -0
  40. data/test/fixtures/mobile_route_data/20100323/route_3_index_0.html +649 -0
  41. data/test/fixtures/mobile_route_data/20100323/route_3_index_1.html +721 -0
  42. data/test/fixtures/mobile_route_schedule/20090323/route_18_direction_2_location_25.html +1038 -0
  43. data/test/fixtures/mobile_route_schedule/20090323/route_1_direction_1_location_0.html +1127 -0
  44. data/test/fixtures/mobile_route_schedule/20090323/route_2_direction_2_location_11.html +1430 -0
  45. data/test/fixtures/mobile_route_schedule/20090323/route_2_direction__location_11.html +104 -0
  46. data/test/fixtures/mobile_route_schedule/20100323/route_1_direction_1_location_0.html +1180 -0
  47. data/test/fixtures/mobile_route_schedule/20100323/route_2_direction_2_location_11.html +1554 -0
  48. data/test/fixtures/mobile_route_schedule/20100323/route_3_direction_1_location_0.html +1082 -0
  49. data/test/fixtures/mobile_route_schedule/20100323/route_3_direction_1_location_1.html +1082 -0
  50. data/test/fixtures/mobile_stop_schedule/20090323/location_1987.yml +198 -0
  51. data/test/fixtures/mobile_stop_schedule/20090323/location_1987_route_index_0.html +1283 -0
  52. data/test/fixtures/mobile_stop_schedule/20090323/location_1987_route_index_1.html +194 -0
  53. data/test/fixtures/mobile_stop_schedule/20090323/location_1987_route_index_2.html +116 -0
  54. data/test/fixtures/mobile_stop_schedule/20090323/location_3058_route_index_12.html +149 -0
  55. data/test/fixtures/mobile_stop_schedule/20090323/location_8789_route_index_0.html +1002 -0
  56. data/test/fixtures/mobile_stop_schedule/20100323/location_1987.yml +209 -0
  57. data/test/fixtures/mobile_stop_schedule/20100323/location_1987_route_index_0.html +1393 -0
  58. data/test/fixtures/mobile_stop_schedule/20100323/location_1987_route_index_1.html +206 -0
  59. data/test/fixtures/mobile_stop_schedule/20100323/location_1987_route_index_2.html +123 -0
  60. data/test/fixtures/mobile_stop_schedule/20100323/location_3058_route_index_12.html +278 -0
  61. data/test/fixtures/mobile_stop_schedule/20100323/location_7558_route_index_0.html +979 -0
  62. data/test/fixtures/mobile_stop_schedule/20100323/location_8789_route_index_0.html +1059 -0
  63. data/test/fixtures/stop_resource/1987.html +126 -0
  64. data/test/test_helper.rb +15 -0
  65. data/test/unit/headsign_test.rb +34 -0
  66. data/test/unit/lingo_test.rb +139 -0
  67. data/test/unit/mobile_resource_methods_test.rb +25 -0
  68. data/test/unit/mobile_route_data_test.rb +124 -0
  69. data/test/unit/mobile_route_schedule_test.rb +210 -0
  70. data/test/unit/mobile_stop_schedule_test.rb +153 -0
  71. data/test/unit/service_date_test.rb +27 -0
  72. data/test/unit/stop_resource_test.rb +26 -0
  73. metadata +251 -0
@@ -0,0 +1,3 @@
1
+ /.bundle
2
+ /vendor
3
+ /pkg
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source :rubygems
2
+ gemspec
@@ -0,0 +1,26 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ octranspo (0.0.0)
5
+ activesupport (>= 2.3.5)
6
+ hpricot
7
+ htmlentities
8
+ i18n
9
+ tzinfo
10
+
11
+ GEM
12
+ remote: http://rubygems.org/
13
+ specs:
14
+ activesupport (3.1.3)
15
+ multi_json (~> 1.0)
16
+ hpricot (0.8.6)
17
+ htmlentities (4.3.1)
18
+ i18n (0.6.0)
19
+ multi_json (1.0.4)
20
+ tzinfo (0.3.31)
21
+
22
+ PLATFORMS
23
+ ruby
24
+
25
+ DEPENDENCIES
26
+ octranspo!
@@ -0,0 +1,8 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new do |test|
5
+ test.libs << "test"
6
+ test.test_files = FileList["test/*/*_test.rb"]
7
+ test.verbose = true
8
+ end
@@ -0,0 +1,20 @@
1
+ require "active_support/all"
2
+
3
+ Time.zone = "Eastern Time (US & Canada)"
4
+
5
+ module OCTranspo
6
+ autoload :Headsign, "octranspo/headsign"
7
+ autoload :Landmarks, "octranspo/landmarks"
8
+ autoload :Lingo, "octranspo/lingo"
9
+ autoload :MobileResourceMethods, "octranspo/mobile_resource_methods"
10
+ autoload :MobileRouteData, "octranspo/mobile_route_data"
11
+ autoload :MobileRouteSchedule, "octranspo/mobile_route_schedule"
12
+ autoload :MobileStopSchedule, "octranspo/mobile_stop_schedule"
13
+ autoload :RemoteResourceMethods, "octranspo/remote_resource_methods"
14
+ autoload :Route, "octranspo/route"
15
+ autoload :ServiceDate, "octranspo/service_date"
16
+ autoload :Stop, "octranspo/stop"
17
+ autoload :StopResource, "octranspo/stop_resource"
18
+ autoload :VERSION, "octranspo/version"
19
+ end
20
+
@@ -0,0 +1,2539 @@
1
+ module OCTranspo
2
+ module Headsign
3
+ extend self
4
+
5
+ def find (route_number, heading, stops)
6
+ if route_number && heading && stops.any?
7
+ selector = "route_#{route_number}"
8
+ send selector, heading, stops if respond_to? selector
9
+ end
10
+ end
11
+
12
+ def route_1 (heading, stops)
13
+ case
14
+ when stops.last[:stop_id] == 'RF375' # Bank St. at Cahill Dr.
15
+ "1 OTTAWA-ROCKCLIFFE"
16
+ when stops.last[:code] == "8789" # Maple Grove Rd. at Springfield Rd.
17
+ "1 OTTAWA ROCKCLIFFE"
18
+ when stops.last[:stop_id] == "DT007" # Somerset St. at O’Connor St.
19
+ "1 DOWNTOWN"
20
+ when stops.last[:code] == "3009" # Rideau Centre
21
+ "1 DOWNTOWN"
22
+ when stops.last[:stop_id] == 'CC180' # Old St. Patrick St. at Cobourg St.
23
+ "1 SOUTH KEYS"
24
+ when stops.last[:code] == "3037" # Greenboro Station
25
+ "1 SOUTH KEYS"
26
+ when stops.last[:code] == "3034" # Billings Bridge Station
27
+ "1X BILLINGS BRIDGE"
28
+ end
29
+ end
30
+
31
+ def route_2 (heading, stops)
32
+ case stops.last[:code]
33
+ when "3050" # Bayshore Station
34
+ "2 BAYSHORE"
35
+ when "3012" # Westboro Station
36
+ "2 WESTBORO"
37
+ when "3009" # Rideau Centre
38
+ "2 DOWNTOWN"
39
+ end
40
+ end
41
+
42
+ def route_3 (heading, stops)
43
+ case stops.last[:code]
44
+ when "5693" # 177 Colonnade Rd.
45
+ "3 COLONNADE"
46
+ when "2975" # Merivale Rd. & Viewmount Dr.
47
+ "3X NEPEAN CENTRE"
48
+ when "3009" # Rideau Centre
49
+ "3 DOWNTOWN"
50
+ end
51
+ end
52
+
53
+ def route_4 (heading, stops)
54
+ case stops.last[:code]
55
+ when "3009" # Rideau Centre
56
+ "4 DOWNTOWN"
57
+ when "3023" # Hurdman Station
58
+ "4 HURDMAN"
59
+ when "5813" # Campus Ave. & Library Rd.
60
+ "4 CARLETON"
61
+ end
62
+ end
63
+
64
+ def route_5 (heading, stops)
65
+ case stops.last[:code]
66
+ when "3034" # Billings Bridge Station
67
+ "5 BILLINGS BRIDGE"
68
+ when "3025" # St. Laurent Station
69
+ "5 ST. LAURENT"
70
+ when "3009" # Rideau Centre
71
+ "5X DOWNTOWN"
72
+ when "6799" # Main St. & Lees Ave
73
+ "5X IMMACULATA HIGH SCHOOL"
74
+ end
75
+ end
76
+
77
+ def route_6 (heading, stops)
78
+ case stops.last[:code]
79
+ when "3009" # Rideau Centre
80
+ "6 DOWNTOWN"
81
+ when "3011" # Tunney’s Pasture Station
82
+ "6 TUNNEY’S PASTURE"
83
+ end
84
+ end
85
+
86
+ def route_7 (heading, stops)
87
+ case
88
+ when stops.last[:stop_id] == 'EB100' # St. Laurent Blvd. at Queen E School
89
+ "7 CARLETON"
90
+ when stops.last[:code] == "5813" # Campus Ave. & Library Rd.
91
+ "7 CARLETON"
92
+ when stops.last[:code] == "3009" # Rideau Centre
93
+ "7X DOWNTOWN"
94
+ when stops.last[:code] == "2488" # Bank St. & Somerset St.
95
+ "7X DOWNTOWN"
96
+ when stops.last[:stop_id] == "CG360" # Grove Ave. at Grosvenor Ave.
97
+ "7 ST. LAURENT"
98
+ when stops.last[:code] == "3025" # St. Laurent Station
99
+ "7 ST. LAURENT"
100
+ when stops.last[:code] == "1895" # Montreal Rd. & Brittany Dr.
101
+ "7X OTTAWA ROCKCLIFFE"
102
+ end
103
+ end
104
+
105
+ def route_8 (heading, stops)
106
+ case stops.last[:code]
107
+ when "3034" # Billings Bridge Station
108
+ "8 BILLING BRIDGE"
109
+ when "3023" # Hurdman Station
110
+ "8X HURDMAN"
111
+ when "1940" # Rue Laurier & Rue Élisabeth-Bruyère
112
+ "8 HULL"
113
+ when "5718" # Promenade Ave. & Terrasses de la Chaudière
114
+ "8X TERRASSES DE LA CHAUDIÈRE"
115
+ when "3010" # Lebreton Station
116
+ "8X LEBRETON"
117
+ end
118
+ end
119
+
120
+ def route_9 (heading, stops)
121
+ case stops.last[:code]
122
+ when "7687" # Bank St. & Slater St.
123
+ "9 DOWNTOWN"
124
+ when "3023" # Hurdman Station
125
+ "9 HURDMAN"
126
+ when "8764" # Crichton St. & Beechwood Ave.
127
+ "9X OTTAWA ROCKCLIFFE"
128
+ end
129
+ end
130
+
131
+ def route_12 (heading, stops)
132
+ case stops.last[:code]
133
+ when "7687" # Bank St. & Slater St.
134
+ "12 DOWNTOWN"
135
+ when "3009" # Rideau Centre
136
+ "12 RIDEAU CENTRE"
137
+ when "3027" # Blair Station
138
+ "12 BLAIR"
139
+ end
140
+ end
141
+
142
+ def route_14 (heading, stops)
143
+ case stops.last[:code]
144
+ when "4824" # Caldwell Ave. & Medford
145
+ "14 CARLINGTON"
146
+ when "8019" # Carling Ave. & Holland Ave.
147
+ "14X CARLING & HOLLAND"
148
+ when "3025" # St. Laurent Station
149
+ "14 ST. LAURENT"
150
+ when "3009" # Rideau Centre
151
+ "14X DOWNTOWN"
152
+ end
153
+ end
154
+
155
+ def route_15 (heading, stops)
156
+ case stops.last[:code]
157
+ when "3014" # Lincoln Fields Station
158
+ "15 LINCOLN FIELDS"
159
+ when "7558" # Elgin St. & Queen St.
160
+ "15X DOWNTOWN"
161
+ when "3027" # Blair Station
162
+ "15 BLAIR"
163
+ end
164
+ end
165
+
166
+ def route_16 (heading, stops)
167
+ case stops.last[:code]
168
+ when "2796" # Britania Park
169
+ "16 BRITANNIA"
170
+ when "5889" # Carlingwood Mall
171
+ "16 CARLINGWOOD"
172
+ when "3014" # Lincoln Fields Station
173
+ "16 LINCOLN FIELDS"
174
+ when "3009" # Rideau Centre
175
+ "16X DOWNTOWN"
176
+ when "1591" # Ottawa Hospital Rehabilitation Centre
177
+ "16 ALTA VISTA"
178
+ when "3011" # Tunney’s Pasture Station
179
+ "16X TUNNEY’S PASTURE"
180
+ when "6809" # Main St. & Evelyn Ave
181
+ "16X IMMACULATA HIGH SCHOOL"
182
+ end
183
+ end
184
+
185
+ def route_18 (heading, stops)
186
+ case stops.last[:code]
187
+ when "2796" # Britannia Park
188
+ "18 BRITANNIA"
189
+ when "3014" # Lincoln Fields Station
190
+ "18X LINCOLN FIELDS"
191
+ when "3009" # Rideau Centre
192
+ "18X DOWNTOWN"
193
+ when "3025" # St. Laurent Station
194
+ "18 ST. LAURENT"
195
+ when "6647" # Albert St. & Booth St.
196
+ "18 BAYVIEW"
197
+ end
198
+ end
199
+
200
+ def route_20 (heading, stops)
201
+ case stops.last[:code]
202
+ when "0355" # Portobello Blvd. & Blackburn Bypass Extension
203
+ "20 CUMBERLAND"
204
+ when "3010" # Lebreton Station
205
+ "20 DOWNTOWN"
206
+ when "3014" # Lincoln Fields Station
207
+ "20X LINCOLN FIELDS"
208
+ end
209
+ end
210
+
211
+ def route_21 (heading, stops)
212
+ case stops.last[:code]
213
+ when "0793" # Innes Rd. & Du Grand Bois Ave
214
+ "21 CUMBERLAND"
215
+ when "3010" # Lebreton Station
216
+ "21 DOWNTOWN"
217
+ when "3014" # Lincoln Fields Station
218
+ "21X LINCOLN FIELDS"
219
+ end
220
+ end
221
+
222
+ def route_22 (heading, stops)
223
+ case stops.last[:code]
224
+ when "6304" # Provence Ave. & Valin St
225
+ "22 CUMBERLAND"
226
+ when "3010" # Lebreton Station
227
+ "22 DOWNTOWN"
228
+ when "3014" # Lincoln Fields Station
229
+ "22X LINCOLN FIELDS"
230
+ end
231
+ end
232
+
233
+ def route_23 (heading, stops)
234
+ case stops.last[:code]
235
+ when "1194" # Innes Rd. & Page Rd.
236
+ "23 GLOUCESTER NORTH"
237
+ when "3010" # Lebreton Station
238
+ "23 DOWNTOWN"
239
+ when "3014" # Lincoln Fields Station
240
+ "23X LINCOLN FIELDS"
241
+ end
242
+ end
243
+
244
+ def route_24 (heading, stops)
245
+ case stops.last[:code]
246
+ when "8189" # La Verendrye Dr. & Ogilvie Rd.
247
+ "24 GLOUCESTER NORTH"
248
+ when "3010" # Lebreton Station
249
+ "24 DOWNTOWN"
250
+ when "3014" # Lincoln Fields Station
251
+ "24X LINCOLN FIELDS"
252
+ end
253
+ end
254
+
255
+ def route_25 (heading, stops)
256
+ case stops.last[:code]
257
+ when "1866" # Innes Rd. & Blackburn Hamlet Bypass
258
+ "25 GLOUCESTER NORTH"
259
+ when "3010" # Lebreton Station
260
+ "25 DOWNTOWN"
261
+ when "3014" # Lincoln Fields Station
262
+ "25X LINCOLN FIELDS"
263
+ end
264
+ end
265
+
266
+ def route_27 (heading, stops)
267
+ case stops.last[:code]
268
+ when "0358" # Esprit Dr. & Blackburn Bypass Extension
269
+ "27 CUMBERLAND"
270
+ when "5718" # 5718: Promenade Ave. & Terrasses de la Chaudière
271
+ "27 HULL"
272
+ end
273
+ end
274
+
275
+ def route_29 (heading, stops)
276
+ case stops.last[:code]
277
+ when "3010" # Lebreton Station
278
+ "29 DOWNTOWN"
279
+ when "3014" # Lincoln Fields Station
280
+ "29X LINCOLN FIELDS"
281
+ when "8717" # Hemlock Rd. & London Terrace
282
+ "29 OTTAWA ROCKCLIFFE"
283
+ end
284
+ end
285
+
286
+ def route_30 (heading, stops)
287
+ case stops.last[:code]
288
+ when "6164" # Innes Rd. & Portobello Blvd
289
+ "30 CUMBERLAND"
290
+ when "3010" # Lebreton Station
291
+ "30 DOWNTOWN"
292
+ when "3014" # Lincoln Fields Station
293
+ "30X LINCOLN FIELDS"
294
+ end
295
+ end
296
+
297
+ def route_31 (heading, stops)
298
+ case stops.last[:code]
299
+ when "3010" # Lebreton Station
300
+ "31 DOWNTOWN"
301
+ when "3014" # Lincoln Fields Station
302
+ "31X LINCOLN FIELDS"
303
+ when "7957" # Orléans Blvd. & Innes Rd.
304
+ "31 GLOUCESTER NORTH"
305
+ end
306
+ end
307
+
308
+ def route_32 (heading, stops)
309
+ case stops.last[:code]
310
+ when "3010" # Lebreton Station
311
+ "32 DOWNTOWN"
312
+ when "3014" # Lincoln Fields Station
313
+ "32X LINCOLN FIELDS"
314
+ when "3375" # Lakeridge Dr. & Lakeridge Dr.
315
+ "32 CUMBERLAND"
316
+ end
317
+ end
318
+
319
+ def route_33 (heading, stops)
320
+ case stops.last[:code]
321
+ when "3010" # Lebreton Station
322
+ "33 DOWNTOWN"
323
+ when "3014" # Lincoln Fields Station
324
+ "33X LINCOLN FIELDS"
325
+ when "2645" # Innes Rd. & Orléans Blvd.
326
+ "33 GLOUCESTER NORTH"
327
+ end
328
+ end
329
+
330
+ def route_34 (heading, stops)
331
+ case stops.last[:code]
332
+ when "3010" # Lebreton Station
333
+ "34 DOWNTOWN"
334
+ when "3014" # Lincoln Fields Station
335
+ "34X LINCOLN FIELDS"
336
+ when "2645" # Innes Rd. & Orléans Blvd.
337
+ "34 GLOUCESTER NORTH"
338
+ end
339
+ end
340
+
341
+ def route_35 (heading, stops)
342
+ case stops.last[:code]
343
+ when "7851" # Innes Rd. & Orchardview Ave.
344
+ "35 CUMBERLAND"
345
+ when "3010" # Lebreton Station
346
+ "35 DOWNTOWN"
347
+ when "3014" # Lincoln Fields Station
348
+ "35X LINCOLN FIELDS"
349
+ end
350
+ end
351
+
352
+ def route_36 (heading, stops)
353
+ case stops.last[:code]
354
+ when "1828" # 3474 St. Joseph Blvd.
355
+ "36 CUMBERLAND"
356
+ when "3010" # Lebreton Station
357
+ "36 DOWNTOWN"
358
+ when "3014" # Lincoln Fields Station
359
+ "36X LINCOLN FIELDS"
360
+ end
361
+ end
362
+
363
+ def route_37 (heading, stops)
364
+ if stops.last[:stop_id] == "EP960" # Orléans Park & Ride
365
+ "37 GLOUCESTER NORTH"
366
+ else
367
+ case stops.last[:code]
368
+ when "3010" # Lebreton Station
369
+ "37 DOWNTOWN"
370
+ when "3014" # Lincoln Fields Station
371
+ "37X LINCOLN FIELDS"
372
+ end
373
+ end
374
+ end
375
+
376
+ def route_38 (heading, stops)
377
+ case stops.last[:code]
378
+ when "7965" # Tenth Line Rd. & Regional Road 174
379
+ "38 CUMBERLAND"
380
+ when "3010" # Lebreton Station
381
+ "38 DOWNTOWN"
382
+ when "3014" # Lincoln Fields Station
383
+ "38X LINCOLN FIELDS"
384
+ end
385
+ end
386
+
387
+ def route_39 (heading, stops)
388
+ case stops.last[:code]
389
+ when "6353" # Trim Rd. & Regional Road 174
390
+ "39 CUMBERLAND"
391
+ when "3010" # Lebreton Station
392
+ "39 DOWNTOWN"
393
+ when "3014" # Lincoln Fields Station
394
+ "39X LINCOLN FIELDS"
395
+ end
396
+ end
397
+
398
+ def route_40 (heading, stops)
399
+ case stops.last[:code]
400
+ when "8953" # Queensdale Ave. & Conroy Rd.
401
+ "40 GLOUCESTER SOUTH"
402
+ when "5718" # Promenade Ave. & Terrasses de la Chaudière
403
+ "40 HULL"
404
+ end
405
+ end
406
+
407
+ def route_43 (heading, stops)
408
+ case stops.last[:code]
409
+ when "3330" # Conroy Rd. & Johnston Rd.
410
+ "43 OTTAWA SOUTH"
411
+ when "3010" # Lebreton Station
412
+ "43 DOWNTOWN"
413
+ when "3014" # Lincoln Fields Station
414
+ "43X LINCOLN FIELDS"
415
+ end
416
+ end
417
+
418
+ def route_45 (heading, stops)
419
+ case stops.last[:code]
420
+ when "3010" # Lebreton Station
421
+ "45 DOWNTOWN"
422
+ when "3741" # Prince Of Wales Dr. & Danbury Way
423
+ "45 RIDEAU"
424
+ when "1496" # Dr Leach Dr. & Aréna Manotick Arena
425
+ "45X NORTH GOWER"
426
+ end
427
+ end
428
+
429
+ def route_50 (heading, stops)
430
+ case stops.last[:code]
431
+ when "2796" # Britannia Park
432
+ "50 BRITANNIA"
433
+ when "3023" # Hurdman Station
434
+ "50 DOWNTOWN"
435
+ when "3027" # Blair Station
436
+ "50X BLAIR"
437
+ end
438
+ end
439
+
440
+ def route_51 (heading, stops)
441
+ case stops.last[:code]
442
+ when "3023" # Hurdman Station
443
+ "51 DOWNTOWN"
444
+ when "0318" # Iris St. & Transitway
445
+ "51 IRIS"
446
+ end
447
+ end
448
+
449
+ def route_55 (heading, stops)
450
+ case stops.last[:code]
451
+ when "3017" # Baseline Station
452
+ "55 BASELINE"
453
+ when "3023" # Hurdman Station
454
+ "55 DOWNTOWN"
455
+ when "3027" # Blair Station
456
+ "55X BLAIR"
457
+ end
458
+ end
459
+
460
+ def route_57 (heading, stops)
461
+ case stops.last[:code]
462
+ when "3017" # Baseline Station
463
+ "57 BASELINE"
464
+ when "3023" # Hurdman Station
465
+ "57 DOWNTOWN"
466
+ when "3027" # Blair Station
467
+ "57X BLAIR"
468
+ end
469
+ end
470
+
471
+ def route_59 (heading, stops)
472
+ case stops.last[:code]
473
+ when "5326" # Grandview Rd. & Borden
474
+ "59 NEPEAN NORTH"
475
+ when "3023" # Hurdman Station
476
+ "59 DOWNTOWN"
477
+ when "3027" # Blair Station
478
+ "59X BLAIR"
479
+ end
480
+ end
481
+
482
+ def route_60 (heading, stops)
483
+ case stops.last[:code]
484
+ when "3023" # Hurdman Station
485
+ "60 DOWNTOWN"
486
+ when "3027" # Blair Station
487
+ "60X BLAIR"
488
+ when "6158" # Terry Fox Dr. & Helmsdale Dr.
489
+ "60 KANATA"
490
+ end
491
+ end
492
+
493
+ def route_61 (heading, stops)
494
+ case stops.last[:code]
495
+ when "3023" # Hurdman Station
496
+ "61 DOWNTOWN"
497
+ when "3027" # Blair Station
498
+ "61X BLAIR"
499
+ when "0610" # Pine Hill Rd. & Stonehaven Dr.
500
+ "61 KANATA"
501
+ end
502
+ end
503
+
504
+ def route_62 (heading, stops)
505
+ case stops.last[:code]
506
+ when "3023" # Hurdman Station
507
+ "62 DOWNTOWN"
508
+ when "3027" # Blair Station
509
+ "62X BLAIR"
510
+ when "6242" # Hazeldean Mall
511
+ "62 KANATA"
512
+ end
513
+ end
514
+
515
+ def route_63 (heading, stops)
516
+ case stops.last[:code]
517
+ when "3023" # Hurdman Station
518
+ "63 DOWNTOWN"
519
+ when "3027" # Blair Station
520
+ "63X BLAIR"
521
+ when "6242" # Hazeldean Mall
522
+ "63 KANATA"
523
+ end
524
+ end
525
+
526
+ def route_64 (heading, stops)
527
+ case stops.last[:code]
528
+ when "3023" # Hurdman Station
529
+ "64 DOWNTOWN"
530
+ when "3027" # Blair Station
531
+ "64X BLAIR"
532
+ when "6298" # Hazeldean Rd. & Carbrooke St.
533
+ "64 KANATA"
534
+ end
535
+ end
536
+
537
+ def route_65 (heading, stops)
538
+ case stops.last[:code]
539
+ when "3023" # Hurdman Station
540
+ "65 DOWNTOWN"
541
+ when "3027" # Blair Station
542
+ "65X BLAIR"
543
+ when "1813" # Campeau Dr. & Teron Rd.
544
+ "65 KANATA"
545
+ end
546
+ end
547
+
548
+ def route_66 (heading, stops)
549
+ case stops.last[:code]
550
+ when "3023" # Hurdman Station
551
+ "66 DOWNTOWN"
552
+ when "3027" # Blair Station
553
+ "66X BLAIR"
554
+ when "1926" # Cadence Gate & Equestrian Dr.
555
+ "66 KANATA"
556
+ end
557
+ end
558
+
559
+ def route_67 (heading, stops)
560
+ case stops.last[:code]
561
+ when "3023" # Hurdman Station
562
+ "67 DOWNTOWN"
563
+ when "3027" # Blair Station
564
+ "67X BLAIR"
565
+ when "2539" # 389 Siskins
566
+ "67 NEPEAN CENTRE"
567
+ end
568
+ end
569
+
570
+ def route_68 (heading, stops)
571
+ case stops.last[:code]
572
+ when "3023" # Hurdman Station
573
+ "68 DOWNTOWN"
574
+ when "3027" # Blair Station
575
+ "68X BLAIR"
576
+ when "0339" # Kanata Ave. & Terry Fox Dr.
577
+ "68 KANATA"
578
+ end
579
+ end
580
+
581
+ def route_69 (heading, stops)
582
+ case stops.last[:code]
583
+ when "3023" # Hurdman Station
584
+ "69 DOWNTOWN"
585
+ when "3027" # Blair Station
586
+ "69X BLAIR"
587
+ when "0944" # Westcliffe Rd. & Oberon St.
588
+ "69 NEPEAN CENTRE"
589
+ end
590
+ end
591
+
592
+ def route_70 (heading, stops)
593
+ case stops.last[:code]
594
+ when "3023" # Hurdman Station
595
+ "70 DOWNTOWN"
596
+ when "3027" # Blair Station
597
+ "70X BLAIR"
598
+ when "3394" # Kennevale Dr. & Cobble Hill
599
+ "70 NEPEAN SOUTH"
600
+ end
601
+ end
602
+
603
+ def route_71 (heading, stops)
604
+ case stops.last[:code]
605
+ when "3023" # Hurdman Station
606
+ "71 DOWNTOWN"
607
+ when "3027" # Blair Station
608
+ "71X BLAIR"
609
+ when "3044" # Strandherd Station
610
+ "71 NEPEAN SOUTH"
611
+ end
612
+ end
613
+
614
+ def route_73 (heading, stops)
615
+ case stops.last[:code]
616
+ when "3023" # Hurdman Station
617
+ "73 DOWNTOWN"
618
+ when "3027" # Blair Station
619
+ "73X BLAIR"
620
+ when "3044" # Strandherd Station
621
+ "73 NEPEAN SOUTH"
622
+ end
623
+ end
624
+
625
+ def route_76 (heading, stops)
626
+ case stops.last[:code]
627
+ when "3023" # Hurdman Station
628
+ "76 DOWNTOWN"
629
+ when "3027" # Blair Station
630
+ "76X BLAIR"
631
+ when "5453" # Cedarview Rd. & Jockvale Rd.
632
+ "76 NEPEAN SOUTH"
633
+ end
634
+ end
635
+
636
+ def route_77 (heading, stops)
637
+ case stops.last[:code]
638
+ when "3023" # Hurdman Station
639
+ "77 DOWNTOWN"
640
+ when "3753" # Leikin Dr. & Bill Leathem Dr.
641
+ "77 NEPEAN SOUTH"
642
+ end
643
+ end
644
+
645
+ def route_82 (heading, stops)
646
+ case stops.last[:code]
647
+ when "8399" # 1680 Walkley Rd.
648
+ "82 ALTA VISTA"
649
+ when "3011" # Tunney’s Pasture Station
650
+ "82 TUNNEY’S PASTURE"
651
+ end
652
+ end
653
+
654
+ def route_85 (heading, stops)
655
+ case stops.last[:code]
656
+ when "3050" # Bayshore Station
657
+ "85 BAYSHORE"
658
+ when "3023" # Hurdman Station
659
+ "85 HURDMAN"
660
+ end
661
+ end
662
+
663
+ def route_86 (heading, stops)
664
+ case stops.last[:code]
665
+ when "0643" # Southvale Crescent & Russell Rd.
666
+ "86 ELMVALE"
667
+ when "3023" # Hurdman Station
668
+ "86X HURDMAN"
669
+ when "3014" # Lincoln Fields Station
670
+ "86 LINCOLN FIELDS"
671
+ when "3010" # Lebreton Station
672
+ "86X DOWNTOWN"
673
+ end
674
+ end
675
+
676
+ def route_87 (heading, stops)
677
+ case stops.last[:code]
678
+ when "1827" # Carlingwood Mall
679
+ "87 CARLINGWOOD"
680
+ when "3023" # Hurdman Station
681
+ "87X HURDMAN"
682
+ when "3010" # Lebreton Station
683
+ "87X DOWNTOWN"
684
+ when "3037" # Greenboro Station
685
+ "87 SOUTH KEYS"
686
+ end
687
+ end
688
+
689
+ def route_88 (heading, stops)
690
+ case stops.last[:code]
691
+ when "1304" # Allumettières & Champlain Rd.
692
+ "88 HULL"
693
+ when "3038" # South Keys Station
694
+ "88 SOUTH KEYS"
695
+ end
696
+ end
697
+
698
+ def route_94 (heading, stops)
699
+ case stops.last[:code]
700
+ when "3076" # Millennium Blvd. & Park Rd.
701
+ "94 MILLENNIUM"
702
+ when "3242" # Innes Rd. & Trim Rd.
703
+ "94X INNES"
704
+ when "3011" # Tunney’s Pasture Station
705
+ "94 TUNNEY’S PASTURE"
706
+ when "3010" # Lebreton Station
707
+ "94X LEBRETON"
708
+ end
709
+ end
710
+
711
+ def route_95 (heading, stops)
712
+ case stops.last[:code]
713
+ when "3043" # Fallowfield Station
714
+ "95 FALLOWFIELD"
715
+ when "3017" # Baseline Station
716
+ "95X BASELINE"
717
+ when "1388" # Market Place & Greenbank Rd.
718
+ "95X BARRHAVEN CENTRE"
719
+ when "3028" # Place d’Orléans Station
720
+ "95 ORLEANS"
721
+ when "3029" # Trim Station
722
+ "95X TRIM"
723
+ end
724
+ end
725
+
726
+ # TODO: Figure out how to detect D96 SPECIAL DIRECT VIA 417 headsign
727
+ def route_96 (heading, stops)
728
+ case stops.last[:code]
729
+ when "3023" # Hurdman Station
730
+ "96 HURDMAN"
731
+ when "3058" # Terry Fox Station
732
+ "96 KANATA"
733
+ when "2061" # Abbott St. & Granite Ridge Dr.
734
+ "96X STITTSVILLE"
735
+ when "0659" # Iber Rd. & Harry Douglas Dr.
736
+ "96X STITTSVILLE"
737
+ end
738
+ end
739
+
740
+ def route_97 (heading, stops)
741
+ case stops.last[:code]
742
+ when "3039" # Ottawa International Airport
743
+ "97 AIRPORT"
744
+ when "8677" # Hunt Club Loop
745
+ "97X SOUTH KEYS"
746
+ when "3050" # Bayshore Station
747
+ "97 BAYSHORE"
748
+ when "3011" # Tunney’s Pasture Station
749
+ "97X TUNNEY’S PASTURE"
750
+ when "1169" # 230 Woodridge Crescent
751
+ "97X NEPEAN NORTH"
752
+ end
753
+ end
754
+
755
+ def route_98 (heading, stops)
756
+ case stops.last[:code]
757
+ when "9069" # Hawthorne Rd. & Hunt Club Rd.
758
+ "98 HAWTHORNE"
759
+ when "3011" # Tunney’s Pasture Station
760
+ "98 TUNNEY’S PASTURE"
761
+ when "3037" # Greenboro Station
762
+ "98X SOUTH KEYS"
763
+ end
764
+ end
765
+
766
+ def route_101 (heading, stops)
767
+ case stops.last[:code]
768
+ when "3050" # Bayshore Station
769
+ "101 BAYSHORE"
770
+ when "0648" # Herzberg Rd. & March Rd.
771
+ "101X KANATA NORTH"
772
+ when "3028" # Place d’Orléans Station
773
+ "101 ORLEANS"
774
+ when "3015" # Queensway Station
775
+ "101X QUEENSWAY"
776
+ end
777
+ end
778
+
779
+ def route_102 (heading, stops)
780
+ case stops.last[:code]
781
+ when "3028" # Place d’Orléans Station
782
+ "102 ORLEANS"
783
+ when "3011" # Tunney’s Pasture Station
784
+ "102 TUNNEY’S PASTURE"
785
+ end
786
+ end
787
+
788
+ def route_103 (heading, stops)
789
+ case stops.last[:code]
790
+ when "7118" # 360 Coventry Rd.
791
+ "103 OVERBROOK"
792
+ when "3023" # Hurdman Station
793
+ "103 HURDMAN"
794
+ end
795
+ end
796
+
797
+ def route_105 (heading, stops)
798
+ case stops.last[:stop_id]
799
+ when 'CK125' # Maisonneuve St. at AllumettiÈRes
800
+ "105 GATINEAU"
801
+ end
802
+ # case stops.last[:code]
803
+ # when "5718" # Promenade Ave. & Terrasses de la Chaudière
804
+ # "105 HULL"
805
+ # when "3011" # Tunney’s Pasture Station
806
+ # "105 TUNNEY’S PASTURE"
807
+ # end
808
+ end
809
+
810
+ def route_106 (heading, stops)
811
+ case stops.last[:code]
812
+ when "8810" # Elmvale Mall
813
+ "106 ELMVALE"
814
+ when "7234" # Ottawa General Hospital
815
+ "106X ALTA VISTA"
816
+ when "3023" # Hurdman Station
817
+ "106 HURDMAN"
818
+ end
819
+ end
820
+
821
+ def route_111 (heading, stops)
822
+ case
823
+ # when stops.last[:code] == "3023" # Hurdman Station
824
+ # "111 HURDMAN"
825
+ when stops.last[:stop_id] == 'SH370' # Meadowlands Dr. at Brooklane
826
+ "111 HURDMAN"
827
+ when stops.last[:stop_id] == 'RA415' # Heron Rd. at Confederation Station
828
+ "111 LINCOLN FIELDS"
829
+ # when stops.last[:code] == "3014" # Lincoln Fields Station
830
+ # "111 LINCOLN FIELDS"
831
+ end
832
+ end
833
+
834
+ def route_112 (heading, stops)
835
+ case stops.last[:code]
836
+ when "3034" # Billings Bridge Station
837
+ "112 BILLINGS BRIDGE"
838
+ when "8810" # Elmvale Mall
839
+ "112 ELMVALE"
840
+ end
841
+ end
842
+
843
+ def route_114 (heading, stops)
844
+ case stops.last[:code]
845
+ when "3037" # Greenboro Station
846
+ "114 GREENBORO"
847
+ when "8810" # Elmvale Mall
848
+ "114X ELMVALE"
849
+ when "4307" # St. Laurent Blvd. & Conroy Rd.
850
+ "114X ST. LAURENT & CONROY"
851
+ when "3023" # Hurdman Station
852
+ "114 HURDMAN"
853
+ end
854
+ end
855
+
856
+ def route_115 (heading, stops)
857
+ case stops.last[:code]
858
+ when "3034" # Billings Bridge Station
859
+ "115 BILLINGS BRIDGE"
860
+ when "8233" # Heron Rd. & Clover St.
861
+ "115 HERON PARK"
862
+ end
863
+ end
864
+
865
+ def route_116 (heading, stops)
866
+ case stops.last[:code]
867
+ when "3017", "2315" # Baseline Station or Woodroffe Ave. at Parkglen
868
+ "116 BASELINE"
869
+ when "3014" # Lincoln Fields Station
870
+ "116X LINCOLN FIELDS"
871
+ when "7963" # Nortel Carling & Lab #7
872
+ "116X NEPEAN NORTH"
873
+ when "3037" # Greenboro Station
874
+ "116 SOUTH KEYS"
875
+ when "3023" # Hurdman Station
876
+ "116X HURDMAN"
877
+ end
878
+ end
879
+
880
+ def route_117 (heading, stops)
881
+ case stops.last[:stop_id]
882
+ when 'SH430' # Meadowlands Dr. at Laird
883
+ "117 CARLETON"
884
+ end
885
+ end
886
+
887
+ def route_118 (heading, stops)
888
+ case stops.last[:code]
889
+ when "3023" # Hurdman Station
890
+ "118 HURDMAN"
891
+ when "3028" # Place d’Orléans Station
892
+ "118X ORLEANS"
893
+ when "3058" # Terry Fox Station
894
+ "118 KANATA"
895
+ when "3017" # Baseline Station
896
+ "118X BASELINE"
897
+ when "5287" # Robertson Rd. & Moodie Dr.
898
+ "118X NEPEAN CENTRE"
899
+ end
900
+ end
901
+
902
+ def route_121 (heading, stops)
903
+ case stops.last[:code]
904
+ when "3023" # Hurdman Station
905
+ "121 HURDMAN"
906
+ when "3025" # St. Laurent Station
907
+ "121 ST. LAURENT"
908
+ end
909
+ end
910
+
911
+ def route_123 (heading, stops)
912
+ case stops.last[:code]
913
+ when "3027" # Blair Station
914
+ "123 GLOUCESTER NORTH"
915
+ end
916
+ end
917
+
918
+ def route_124 (heading, stops)
919
+ case stops.last[:code]
920
+ when "8707" # La Verendrye Dr. & Ogilvie Rd.
921
+ "124 GLOUCESTER NORTH"
922
+ when "0549" # Kender Ave. & Ogilvie Rd.
923
+ "124X COLONEL BY HIGH SCHOOL"
924
+ when "3023" # Hurdman Station
925
+ "124 HURDMAN"
926
+ when "3027" # Blair Station
927
+ "124X BLAIR"
928
+ when "3010" # Lebreton Station
929
+ "124X DOWNTOWN"
930
+ when "3014" # Lincoln Fields Station
931
+ "124X LINCOLN FIELDS"
932
+ end
933
+ end
934
+
935
+ def route_125 (heading, stops)
936
+ case stops.last[:code]
937
+ when "3023" # Hurdman Station
938
+ "125 HURDMAN"
939
+ when "3028" # Place d’Orléans Station
940
+ "125 ORLEANS"
941
+ when "8672" # Cyrville Rd. & Maxime St.
942
+ "125X DND"
943
+ end
944
+ end
945
+
946
+ def route_126 (heading, stops)
947
+ case stops.last[:code]
948
+ when "8500" # Maxime St. & Cyrville Rd.
949
+ "126 GLOUCESTER NORTH"
950
+ when "3023" # Hurdman Station
951
+ "126 HURDMAN"
952
+ when "3027" # Blair Station
953
+ "126X BLAIR"
954
+ end
955
+ end
956
+
957
+ def route_127 (heading, stops)
958
+ case stops.last[:code]
959
+ when "3025" # St. Laurent Station
960
+ "127 ST. LAURENT"
961
+ when "3028" # Place d’Orléans Station
962
+ "127 ORLEANS"
963
+ when "3027" # Blair Station
964
+ "127X BLAIR"
965
+ end
966
+ end
967
+
968
+ def route_128 (heading, stops)
969
+ case
970
+ when stops.last[:code] == "3023" # Hurdman Station
971
+ "128 HURDMAN"
972
+ when stops.last[:code] == "3027" # Blair Station
973
+ "128 BLAIR"
974
+ when stops.last[:stop_id] == "EH493" # Blackburn Arena
975
+ "128 BLACKBURN ARENA"
976
+ when stops.last[:code] == "8678" # Tauvette St. & Innes Rd
977
+ "128 BLACKBURN HAMLET"
978
+ end
979
+ end
980
+
981
+ def route_129 (heading, stops)
982
+ case stops.last[:code]
983
+ when "8835" # Aviation Museum
984
+ "129 OTTAWA ROCKCLIFFE"
985
+ when "0969" # Carson’s Rd. & Montreal Rd.
986
+ "129X CARSON & MONTREAL"
987
+ when "3023" # Hurdman Station
988
+ "129 HURDMAN"
989
+ when "3027" # Blair Station
990
+ "129X BLAIR"
991
+ end
992
+ end
993
+
994
+ def route_130 (heading, stops)
995
+ case heading
996
+ when "Convent Glen"
997
+ case stops.last[:code]
998
+ when "3028" # Place d’Orléans Station
999
+ "130 CONVENT GLEN"
1000
+ when "5833" # St. Joseph Blvd. & Grey Nuns Dr.
1001
+ "130X ST. JOSEPH & GREY NUNS"
1002
+ end
1003
+ when "Fallingbrook"
1004
+ case stops.last[:code]
1005
+ when "3028" # Place d’Orléans Station
1006
+ "130 FALLINGBROOK"
1007
+ when "8167" # Jeanne d’Arc Blvd. & Champlain Rd.
1008
+ "130X JEANNE D’ARC & CHAMPLAIN"
1009
+ end
1010
+ end
1011
+ end
1012
+
1013
+ def route_131 (heading, stops)
1014
+ case heading
1015
+ when "Chapel Hill"
1016
+ case stops.last[:code]
1017
+ when "3028" # Place d’Orléans Station
1018
+ "131 CHAPEL HILL"
1019
+ end
1020
+ when "Convent Glen"
1021
+ case stops.last[:code]
1022
+ when "3028" # Place d’Orléans Station
1023
+ "131 CONVENT GLEN"
1024
+ end
1025
+ end
1026
+ end
1027
+
1028
+ def route_135 (heading, stops)
1029
+ case stops.last[:code]
1030
+ when "6475" # Tenth Line Rd. & Innes Rd.
1031
+ "135 AVALON"
1032
+ when "7895" # Charlemagne Blvd. & Merkley
1033
+ "135X ST. PETER’S HIGH SCHOOL"
1034
+ when "3028" # Place d’Orléans Station
1035
+ "135 PLACE D’ORLÉANS"
1036
+ when "3375" # Lakeridge Dr. & Lakeridge Dr.
1037
+ "135 ESPRIT"
1038
+ end
1039
+ end
1040
+
1041
+ def route_136 (heading, stops)
1042
+ case stops.last[:code]
1043
+ when "0476" # Valin St. & Trim Rd.
1044
+ "136 FALLINGBROOK"
1045
+ when "3028" # Place d’Orléans Station
1046
+ "136 PLACE D’ORLÉANS"
1047
+ end
1048
+ end
1049
+
1050
+ def route_137 (heading, stops)
1051
+ case heading
1052
+ when "Queenswood Heights"
1053
+ case stops.last[:code]
1054
+ when "3028" # Place d’Orléans Station
1055
+ "137 QUEENSWOOD HEIGHTS"
1056
+ end
1057
+ end
1058
+ end
1059
+
1060
+ def route_140 (heading, stops)
1061
+ case stops.last[:code]
1062
+ when "3023" # Hurdman Station
1063
+ "140 HURDMAN"
1064
+ when "3034" # Billings Bridge Station
1065
+ "140X BILLINGS BRIDGE"
1066
+ when "8677" # Hunt Club Loop
1067
+ "140 SOUTH KEYS"
1068
+ end
1069
+ end
1070
+
1071
+ def route_141 (heading, stops)
1072
+ case stops.last[:code]
1073
+ when "8391" # Walkley Rd. & Ryder St.
1074
+ "141 ALTA VISTA"
1075
+ when "3034" # Billings Bridge Station
1076
+ "141 BILLINGS BRIDGE"
1077
+ end
1078
+ end
1079
+
1080
+ def route_142 (heading, stops)
1081
+ case stops.last[:code]
1082
+ when "8953" # Queensdale Ave. & Conroy Rd.
1083
+ "142 GLOUCESTER SOUTH"
1084
+ when "3037" # Greenboro Station
1085
+ "142 SOUTH KEYS"
1086
+ end
1087
+ end
1088
+
1089
+ def route_143 (heading, stops)
1090
+ case stops.last[:code]
1091
+ when "3080" # Conroy Rd. & Johnston Rd.
1092
+ "143 LOCAL EAST"
1093
+ when "3037" # Greenboro Station
1094
+ "143 SOUTH KEYS"
1095
+ end
1096
+ end
1097
+
1098
+ def route_144 (heading, stops)
1099
+ if stops.last[:stop_id] == "RH758" # Kelly Farm & Bradwell
1100
+ "144 GLOUCESTER SOUTH"
1101
+ else
1102
+ case stops.last[:code]
1103
+ when "1069" # 4835 Bank St.
1104
+ "144X HINDU TEMPLE"
1105
+ when "3037" # Greenboro Station
1106
+ "144 SOUTH KEYS"
1107
+ end
1108
+ end
1109
+ end
1110
+
1111
+ def route_145 (heading, stops)
1112
+ case stops.last[:code]
1113
+ when "0653" # Riverside South Plaza & River Rd.
1114
+ "145 RIVERSIDE SOUTH"
1115
+ when "2128" # River Rd. & Balmoral Dr.
1116
+ "145X GLOUCESTER SOUTH"
1117
+ when "4341" # Leitrim Rd. & River Rd.
1118
+ "145X GLOUCESTER SOUTH"
1119
+ when "3037" # Greenboro Station
1120
+ "145 GREENBORO"
1121
+ end
1122
+ end
1123
+
1124
+ def route_146 (heading, stops)
1125
+ case stops.last[:code]
1126
+ when "3023" # Hurdman Station
1127
+ "146 HURDMAN"
1128
+ when "3034" # Billings Bridge Station
1129
+ "146X BILLINGS BRIDGE"
1130
+ when "3037" # Greenboro Station
1131
+ "146 SOUTH KEYS"
1132
+ end
1133
+ end
1134
+
1135
+ def route_147 (heading, stops)
1136
+ case heading
1137
+ when "Gloucester South / sud or/ou South Keys"
1138
+ case stops.last[:code]
1139
+ when "3037" # Greenboro Station
1140
+ "147 GLOUCESTER SOUTH"
1141
+ end
1142
+ end
1143
+ end
1144
+
1145
+ def route_148 (heading, stops)
1146
+ case stops.last[:code]
1147
+ when "8813" # Elmvale Mall
1148
+ "148 ELMVALE"
1149
+ when "0540" # Canterbury Ave. & Canterbury H.S.
1150
+ "148X CANTERBURY HIGH SCHOOL"
1151
+ when "3023" # Hurdman Station
1152
+ "148 HURDMAN"
1153
+ when "3034" # Billings Bridge Station
1154
+ "148X BILLINGS BRIDGE"
1155
+ end
1156
+ end
1157
+
1158
+ def route_149 (heading, stops)
1159
+ case stops.last[:code]
1160
+ when "8810" # Elmvale Mall
1161
+ "149 ELMVALE"
1162
+ when "3023" # Hurdman Station
1163
+ "149 HURDMAN"
1164
+ end
1165
+ end
1166
+
1167
+ def route_151 (heading, stops)
1168
+ case stops.last[:code]
1169
+ when "4960" # Carlingwood Mall
1170
+ "151 CARLINGWOOD"
1171
+ when "3011" # Tunney’s Pasture Station
1172
+ "151 TUNNEY’S PASTURE"
1173
+ end
1174
+ end
1175
+
1176
+ def route_152 (heading, stops)
1177
+ case stops.last[:code]
1178
+ when "3050" # Bayshore Station
1179
+ "152 BAYSHORE"
1180
+ when "3014" # Lincoln Fields Station
1181
+ "152 LINCOLN FIELDS"
1182
+ end
1183
+ end
1184
+
1185
+ def route_153 (heading, stops)
1186
+ case stops.last[:code]
1187
+ when "3010" # Lebreton Station
1188
+ "153 LEBRETON"
1189
+ when "7677" # Gladstone Ave. & Cartier St.
1190
+ "153 SOMERSET"
1191
+ end
1192
+ end
1193
+
1194
+ def route_154 (heading, stops)
1195
+ case stops.last[:code]
1196
+ when "3050" # Bayshore Station
1197
+ "154 BAYSHORE"
1198
+ when "3014" # Lincoln Fields Station
1199
+ "154 LINCOLN FIELDS"
1200
+ end
1201
+ end
1202
+
1203
+ def route_156 (heading, stops)
1204
+ case stops.last[:stop_id]
1205
+ when "NI935" # Lincoln Fields Station, Platform 3B
1206
+ "156 LINCOLN HEIGHTS"
1207
+ when ""
1208
+ "156 MERIVALE"
1209
+ end
1210
+ # case heading
1211
+ # when "LOCAL NORTH / NORD"
1212
+ # case stops.last[:code]
1213
+ # when "3014" # Lincoln Fields Station
1214
+ # "156 LOCAL NORTH"
1215
+ # when "4960" # Carlingwood Mall
1216
+ # "156X CARLINGWOOD"
1217
+ # when "1636" # Merivale Rd. & Woodfield Dr.
1218
+ # "156X NEPEAN CENTRE"
1219
+ # when "4022" # Merivale Rd. & Viewmount Dr.
1220
+ # "156X MERIVALE & VIEWMOUNT"
1221
+ # when "4030" # Meadowlands Dr. & Merivale Rd.
1222
+ # "156X MEADOWLANDS & MERIVALE"
1223
+ # end
1224
+ # when "LOCAL SOUTH / SUD"
1225
+ # case stops.last[:code]
1226
+ # when "3014" # Lincoln Fields Station
1227
+ # "156 LOCAL SOUTH"
1228
+ # when "3023" # Hurdman Station
1229
+ # "156X DOWNTOWN"
1230
+ # end
1231
+ # end
1232
+ end
1233
+
1234
+ def route_157 (heading, stops)
1235
+ case stops.last[:code]
1236
+ when "3017" # Baseline Station
1237
+ "157 BASELINE"
1238
+ when "6110" # Grenfell Crescent & Burnbank St.
1239
+ "157 NEPEAN CENTRE"
1240
+ end
1241
+ end
1242
+
1243
+ def route_158 (heading, stops)
1244
+ case stops.last[:code]
1245
+ when "9038" # Colonnade Rd. & 181 Colonnade
1246
+ "158 NEPEAN CENTRE"
1247
+ when "3023" # Hurdman Station
1248
+ "158 HURDMAN"
1249
+ end
1250
+ end
1251
+
1252
+ def route_160 (heading, stops)
1253
+ case stops.last[:code]
1254
+ when "6202" # Helmsdale Dr. & Shirley’s Brook Dr.
1255
+ "160 MORGAN’S GRANT"
1256
+ when "3058" # Terry Fox Station
1257
+ "160 TERRY FOX"
1258
+ end
1259
+ end
1260
+
1261
+ def route_161 (heading, stops)
1262
+ case stops.last[:code]
1263
+ when "6217" # Stonehaven Dr. & Bridlewood Dr.
1264
+ "161 BRIDLEWOOD"
1265
+ when "1937" # Rothesay Dr. & Eagleson Rd.
1266
+ "161X ROTHESAY & EAGLESON"
1267
+ when "3058" # Terry Fox Station
1268
+ "161 TERRY FOX"
1269
+ end
1270
+ end
1271
+
1272
+ def route_162 (heading, stops)
1273
+ case stops.last[:code]
1274
+ when "9056" # Maxwell Bridge & Windance
1275
+ "162 BROOKSIDE"
1276
+ when "3055" # Eagleson Station
1277
+ "162 EAGLESON"
1278
+ end
1279
+ end
1280
+
1281
+ def route_163 (heading, stops)
1282
+ case stops.last[:code]
1283
+ when "3055" # Eagleson Station
1284
+ "163 KANATA"
1285
+ when "3370" # Huntmar Rd. & Burnaby
1286
+ "163 LOCAL WEST"
1287
+ end
1288
+ end
1289
+
1290
+ def route_164 (heading, stops)
1291
+ case stops.last[:code]
1292
+ when "6222" # Grassy Plains Dr. & Farmfield Crescent
1293
+ "164 BRIDLEWOOD"
1294
+ when "3058" # Terry Fox Station
1295
+ "164 TERRY FOX"
1296
+ end
1297
+ end
1298
+
1299
+ def route_165 (heading, stops)
1300
+ case stops.last[:code]
1301
+ when "3058" # Terry Fox Station
1302
+ "165 TERRY FOX"
1303
+ end
1304
+ end
1305
+
1306
+ def route_166 (heading, stops)
1307
+ case heading
1308
+ when "Nepean Centre - Bayshore"
1309
+ case stops.last[:code]
1310
+ when "3050" # Bayshore Station
1311
+ "166 NEPEAN CENTRE"
1312
+ end
1313
+ when "Nepean North / nord - Bayshore"
1314
+ case stops.last[:code]
1315
+ when "3050" # Bayshore Station
1316
+ "166 NEPEAN NORTH"
1317
+ end
1318
+ end
1319
+ end
1320
+
1321
+ def route_167 (heading, stops)
1322
+ case stops.last[:code]
1323
+ when "6241" # Michael Cowplan & Terence Matthews Crescent
1324
+ "167 KANATA"
1325
+ when "3014" # Lincoln Fields Station
1326
+ "167 LINCOLN FIELDS"
1327
+ end
1328
+ end
1329
+
1330
+ def route_168 (heading, stops)
1331
+ case stops.last[:code]
1332
+ when "4807" # Terry Fox Dr. & McKinley Dr.
1333
+ "168 KANATA NORTH"
1334
+ when "0383" # Beaverbrook Rd. & Leacock Dr.
1335
+ "168X BEAVERBROOK"
1336
+ when "3058" # Terry Fox Station
1337
+ "168 TERRY FOX"
1338
+ end
1339
+ end
1340
+
1341
+ def route_169 (heading, stops)
1342
+ case stops.last[:code]
1343
+ when "3050" # Bayshore Station
1344
+ "169 BAYSHORE"
1345
+ when "1382" # 301 Terry Fox Dr.
1346
+ "169X KANATA NORTH"
1347
+ when "6209" # Steeplechase & Sprucemeadow
1348
+ "169 KANATA"
1349
+ when "3055" # Eagleson Station
1350
+ "169X EAGLESON"
1351
+ end
1352
+ end
1353
+
1354
+ def route_170 (heading, stops)
1355
+ case heading
1356
+ when "Longfields"
1357
+ case stops.last[:code]
1358
+ when "3043" # Fallowfield Station
1359
+ "170 LONGFIELDS"
1360
+ end
1361
+ when "Walter Baker"
1362
+ case stops.last[:code]
1363
+ when "3043" # Fallowfield Station
1364
+ "170 WALTER BAKER"
1365
+ end
1366
+ end
1367
+ end
1368
+
1369
+ def route_171 (heading, stops)
1370
+ case stops.last[:code]
1371
+ when "3043" # Fallowfield Station
1372
+ "171 FALLOWFIELD"
1373
+ when "2354" # Golflinks Dr. & Jockvale Rd.
1374
+ "171 STONEBRIDGE"
1375
+ when "1388" # Market Place & Greenbank Rd.
1376
+ "171X BARRHAVEN CENTRE"
1377
+ end
1378
+ end
1379
+
1380
+ def route_172 (heading, stops)
1381
+ case stops.last[:code]
1382
+ when "3050" # Bayshore Station
1383
+ "172 BAYSHORE"
1384
+ when "4086" # Greenbank Rd. & Iris St.
1385
+ "172X IRIS"
1386
+ when "1695" # Greenbank Rd. & Baseline Rd.
1387
+ "172X GREENBANK & BASELINE"
1388
+ when "3014" # Lincoln Fields Station
1389
+ "172 LINCOLN FIELDS"
1390
+ when "3023" # Hurdman Station
1391
+ "172X DOWNTOWN"
1392
+ when "3027" # Blair Station
1393
+ "172X BLAIR"
1394
+ end
1395
+ end
1396
+
1397
+ def route_173 (heading, stops)
1398
+ case stops.last[:code]
1399
+ when "1249" # Greenbank Rd. & Strandherd Dr.
1400
+ "173 BARRHAVEN CENTRE"
1401
+ when "3043" # Fallowfield Station
1402
+ "173 FALLOWFIELD"
1403
+ end
1404
+ end
1405
+
1406
+ def route_174 (heading, stops)
1407
+ case stops.last[:code]
1408
+ when "0524" # Carlingwood Mall
1409
+ "174 CARLINGWOOD"
1410
+ when "1717" # Greenbank Rd. & Gibbard Ave.
1411
+ "174X GREENBANK"
1412
+ end
1413
+ end
1414
+
1415
+ def route_176 (heading, stops)
1416
+ case stops.last[:code]
1417
+ when "3043" # Fallowfield Station
1418
+ "176 NEPEAN SOUTH"
1419
+ when "6103" # Merivale Rd. & Slack Rd.
1420
+ "176X NEPEAN CENTRE"
1421
+ when "6104" # Merivale Rd. & Slack Rd.
1422
+ "176X NEPEAN CENTRE"
1423
+ when "3011" # Tunney’s Pasture Station
1424
+ "176 TUNNEY'S PASTURE"
1425
+ when "3010" # Lebreton Station
1426
+ "176X LEBRETON"
1427
+ when "3023" # Hurdman Station
1428
+ "176X DOWNTOWN"
1429
+ end
1430
+ end
1431
+
1432
+ def route_178 (heading, stops)
1433
+ case stops.last[:code]
1434
+ when "3014" # Lincoln Fields Station
1435
+ "178 LINCOLN FIELDS"
1436
+ when "3023" # Hurdman Station
1437
+ "178X DOWNTOWN"
1438
+ end
1439
+ end
1440
+
1441
+ def route_179 (heading, stops)
1442
+ case stops.last[:code]
1443
+ when "3014" # Lincoln Fields Station
1444
+ "179 LINCOLN FIELDS"
1445
+ when "0955" # 2 Haanel
1446
+ "179 NEPEAN CENTRE"
1447
+ end
1448
+ end
1449
+
1450
+ def route_181 (heading, stops)
1451
+ case stops.last[:code]
1452
+ when "3050" # Bayshore Station
1453
+ "181 BAYSHORE"
1454
+ when "1388" # Market Place & Greenbank Rd.
1455
+ "181 NEPEAN SOUTH"
1456
+ end
1457
+ end
1458
+
1459
+ def route_182 (heading, stops)
1460
+ case stops.last[:code]
1461
+ when "1382" # 301 Terry Fox Dr.
1462
+ "182 KANATA"
1463
+ when "3010" # Lebreton Station
1464
+ "182 LEBRETON"
1465
+ when "3023" # Hurdman Station
1466
+ "182X HURDMAN"
1467
+ end
1468
+ end
1469
+
1470
+ def route_183 (heading, stops)
1471
+ case stops.last[:code]
1472
+ when "3058" # Terry Fox Station
1473
+ "183 KANATA"
1474
+ when "0576" # Palladium Dr. & Huntmar Rd.
1475
+ "183 LOCAL WEST"
1476
+ end
1477
+ end
1478
+
1479
+ def route_184 (heading, stops)
1480
+ case stops.last[:code]
1481
+ when "0425" # Hope Side Rd. & Crownridge Dr.
1482
+ "184 HOPE SIDE"
1483
+ when "3058" # Terry Fox Station
1484
+ "184 TERRY FOX"
1485
+ end
1486
+ end
1487
+
1488
+ def route_186 (heading, stops)
1489
+ case stops.last[:stop_id]
1490
+ when "SZ245" # 6666 Rideau Valley Dr.
1491
+ "186 CARLINGWOOD"
1492
+ when 'SI175' # Woodroffe Ave. at Adirondack Dr.
1493
+ "186 NORTH GOWER"
1494
+ end
1495
+
1496
+ # case stops.last[:code]
1497
+ # when "3043" # Fallowfield Station
1498
+ # "186 FALLOWFIELD"
1499
+ # when "8048" # Carlingwood Mall
1500
+ # "186X CARLINGWOOD"
1501
+ # when "1497" # Beaverwood Rd. & Ann St.
1502
+ # "186 MANOTICK"
1503
+ # when "3747" # Fourth Line & Andrew
1504
+ # "186X NORTH GOWER"
1505
+ # end
1506
+ end
1507
+
1508
+ def route_187 (heading, stops)
1509
+ case stops.last[:code]
1510
+ when "7496" # 1805 Woodward Ave.
1511
+ "187 IRIS"
1512
+ when "3012" # Westboro Station
1513
+ "187 WESTBORO"
1514
+ end
1515
+ end
1516
+
1517
+ def route_188 (heading, stops)
1518
+ case stops.last[:code]
1519
+ when "3014" # Lincoln Fields Station
1520
+ "188 LINCOLN FIELDS"
1521
+ when "0848" # Fallowfield Rd. & Barran St.
1522
+ "188 NEPEAN SOUTH"
1523
+ end
1524
+ end
1525
+
1526
+ def route_190 (heading, stops)
1527
+ case stops.last[:code]
1528
+ when "3023" # Hurdman Station
1529
+ "190 HURDMAN"
1530
+ when "8738" # Montreal Rd. & Lang’s Rd.
1531
+ "190 OTTAWA ROCKCLIFFE"
1532
+ end
1533
+ end
1534
+
1535
+ def route_191 (heading, stops)
1536
+ case stops.last[:code]
1537
+ when "3023" # Hurdman Station
1538
+ "191 HURDMAN"
1539
+ when "3337" # Russell Rd. & Hydro Dam Rd.
1540
+ "191 OTTAWA SOUTH"
1541
+ end
1542
+ end
1543
+
1544
+ def route_192 (heading, stops)
1545
+ case stops.last[:code]
1546
+ when "0876" # 2380 Lancaster Rd.
1547
+ "192 ELMVALE"
1548
+ when "3023" # Hurdman Station
1549
+ "192 HURDMAN"
1550
+ end
1551
+ end
1552
+
1553
+ def route_193 (heading, stops)
1554
+ case stops.last[:code]
1555
+ when "3028" # Place d’Orléans Station
1556
+ "193 ORLEANS"
1557
+ end
1558
+ end
1559
+
1560
+ def route_194 (heading, stops)
1561
+ case stops.last[:code]
1562
+ when "3027" # Blair Station
1563
+ "194 BLAIR"
1564
+ when "8449" # Canotek Rd. & Rainbow Crescent
1565
+ "194 GLOUCESTER NORTH"
1566
+ end
1567
+ end
1568
+
1569
+ def route_197 (heading, stops)
1570
+ case stops.last[:code]
1571
+ when "1982" # 4550 Bank St.
1572
+ "197 GLOUCESTER SOUTH"
1573
+ when "1541" # Leitrim Rd. & Cfb Leitrim
1574
+ "197X CFB LEITRIM"
1575
+ when "3037" # Greenboro Station
1576
+ "197 SOUTH KEYS"
1577
+ end
1578
+ end
1579
+
1580
+ def route_221 (heading, stops)
1581
+ case stops.last[:code]
1582
+ when "1460" # Old Montreal Rd. & Peter Harkness
1583
+ "221 CUMBERLAND"
1584
+ when "3010" # Lebreton Station
1585
+ "221 DOWNTOWN"
1586
+ end
1587
+ end
1588
+
1589
+ def route_231 (heading, stops)
1590
+ case stops.last[:code]
1591
+ when "3721" # 3585 Sarsfield Rd.
1592
+ "231 CUMBERLAND"
1593
+ when "3010" # Lebreton Station
1594
+ "231 DOWNTOWN"
1595
+ when "3014" # Lincoln Fields Station
1596
+ "231X LINCOLN FIELDS"
1597
+ end
1598
+ end
1599
+
1600
+ def route_232 (heading, stops)
1601
+ case stops.last[:code]
1602
+ when "2049" # Devine Rd. & Rockdale Rd.
1603
+ "232 CUMBERLAND"
1604
+ when "3010" # Lebreton Station
1605
+ "232 DOWNTOWN"
1606
+ when "3014" # Lincoln Fields Station
1607
+ "232X LINCOLN FIELDS"
1608
+ end
1609
+ end
1610
+
1611
+ def route_261 (heading, stops)
1612
+ case stops.last[:code]
1613
+ when "3023" # Hurdman Station
1614
+ "261 DOWNTOWN"
1615
+ when "3027" # Blair Station
1616
+ "261X BLAIR"
1617
+ when "9068" # Stittsville Main St. & Bryce
1618
+ "261 GOULBOURN"
1619
+ end
1620
+ end
1621
+
1622
+ def route_262 (heading, stops)
1623
+ case stops.last[:code]
1624
+ when "3023" # Hurdman Station
1625
+ "262 DOWNTOWN"
1626
+ when "3027" # Blair Station
1627
+ "262X BLAIR"
1628
+ when "0370" # Fernbank Rd. & Liard St.
1629
+ "262 GOULBOURN"
1630
+ end
1631
+ end
1632
+
1633
+ def route_263 (heading, stops)
1634
+ case stops.last[:code]
1635
+ when "3023" # Hurdman Station
1636
+ "263 DOWNTOWN"
1637
+ when "6570" # Kimini Dr. & Fallowfield Rd.
1638
+ "263 GOULBOURN"
1639
+ end
1640
+ end
1641
+
1642
+ def route_283 (heading, stops)
1643
+ case stops.last[:code]
1644
+ when "3023" # Hurdman Station
1645
+ "283 DOWNTOWN"
1646
+ when "3027" # Blair Station
1647
+ "283X BLAIR"
1648
+ when "6282" # McBean St. & Burke Rd.
1649
+ "283 GOULBOURN"
1650
+ when "2246" # Munster Side & Flewellyn Rd.
1651
+ "283X GOULBOURN MUNSTER"
1652
+ end
1653
+ end
1654
+
1655
+ def route_306 (heading, stops)
1656
+ case stops.last[:code]
1657
+ when "0447" # Garry J Armstrong
1658
+ "306 ISLAND LODGE"
1659
+ when "7585" # Bruyère St. & Parent Ave.
1660
+ "306 ELISABETH BRUYÈRE"
1661
+ end
1662
+ end
1663
+
1664
+ def route_316 (heading, stops)
1665
+ case stops.last[:code]
1666
+ when "3009" # Rideau Centre
1667
+ "316 DOWNTOWN"
1668
+ when "5892" # Wiggins Pvt. & Chapel Rd.
1669
+ "316 SANDY HILL"
1670
+ end
1671
+ end
1672
+
1673
+ def route_601 (heading, stops)
1674
+ case stops.last[:code]
1675
+ when "3023" # Hurdman Station
1676
+ "601 HURDMAN"
1677
+ when "3658" # Bearbrook Rd. & Westpark Dr.
1678
+ "601 LOUIS RIEL HIGH SCHOOL"
1679
+ end
1680
+ end
1681
+
1682
+ def route_602 (heading, stops)
1683
+ case stops.last[:code]
1684
+ when "6307" # Provence Ave. & Valin St.
1685
+ "602 MAPLE RIDGE SCHOOL"
1686
+ when "3375" # Lakeridge Dr. & Lakeridge Dr.
1687
+ "602 ORLEANS"
1688
+ end
1689
+ end
1690
+
1691
+ def route_603 (heading, stops)
1692
+ case stops.last[:code]
1693
+ when "6828" # Old St. Patrick St. & Beausoleil Dr.
1694
+ "603 DE LA SALLE HIGH SCHOOL"
1695
+ when "3011" # Tunney’s Pasture Station
1696
+ "603 TUNNEY’S PASTURE"
1697
+ end
1698
+ end
1699
+
1700
+ def route_604 (heading, stops)
1701
+ case stops.last[:code]
1702
+ when "3034" # Billings Bridge Station
1703
+ "604 BILLINGS BRIDGE"
1704
+ when "6828" # Old St. Patrick St. & Beausoleil Dr.
1705
+ "604 DE LA SALLE HIGH SCHOOL"
1706
+ end
1707
+ end
1708
+
1709
+ def route_605 (heading, stops)
1710
+ case stops.last[:code]
1711
+ when "3037" # Greenboro Station
1712
+ "605 SOUTH KEYS"
1713
+ when "6828" # Old St. Patrick St. & Beausoleil Dr.
1714
+ "605 DE LA SALLE HIGH SCHOOL"
1715
+ end
1716
+ end
1717
+
1718
+ def route_606 (heading, stops)
1719
+ case stops.last[:code]
1720
+ when "3375" # Lakeridge Dr. & Lakeridge Dr.
1721
+ "606 LAKERIDGE"
1722
+ when "7924" # Orléans Blvd. & St. Louis Dr.
1723
+ "606 CAIRINE WILSON SCHOOL"
1724
+ end
1725
+ end
1726
+
1727
+ def route_607 (heading, stops)
1728
+ case stops.last[:code]
1729
+ when "3028" # Place d’Orléans Station
1730
+ "607 ORLEANS"
1731
+ when "3328" # Millenium & E.S. Gisèle Lalonde
1732
+ "607 GISÈLE LALONDE HIGH SCHOOL"
1733
+ end
1734
+ end
1735
+
1736
+ def route_608 (heading, stops)
1737
+ case stops.last[:code]
1738
+ when "3028" # Place d’Orléans Station
1739
+ "608 ORLEANS"
1740
+ when "6828" # Old St. Patrick St. & Beausoleil Dr.
1741
+ "608 GISÈLE LALONDE HIGH SCHOOL"
1742
+ end
1743
+ end
1744
+
1745
+ def route_609 (heading, stops)
1746
+ case stops.last[:code]
1747
+ when "4172" # Uplands Dr. & Paul Anka Dr.
1748
+ "609 OTTAWA SOUTH"
1749
+ end
1750
+ end
1751
+
1752
+ def route_610 (heading, stops)
1753
+ case stops.last[:code]
1754
+ when "3328" # Millenium & E.S. Gisèle Lalonde
1755
+ "610 GISÈLE LALONDE HIGH SCHOOL"
1756
+ when "7813" # Beausejour Dr. & Orléans Blvd.
1757
+ "610 ORLEANS"
1758
+ end
1759
+ end
1760
+
1761
+ def route_611 (heading, stops)
1762
+ case stops.last[:code]
1763
+ when "3328" # Millenium & E.S. Gisèle Lalonde
1764
+ "611 GISÈLE LALONDE HIGH SCHOOL"
1765
+ when "1737" # Youville Dr. & St. Joseph Blvd.
1766
+ "611 ORLEANS"
1767
+ end
1768
+ end
1769
+
1770
+ def route_612 (heading, stops)
1771
+ case stops.last[:code]
1772
+ when "3328" # Millenium & E.S. Gisèle Lalonde
1773
+ "612 GISÈLE LALONDE HIGH SCHOOL"
1774
+ when "2453" # Orléans Blvd. & Innes Rd.
1775
+ "612 ORLEANS"
1776
+ end
1777
+ end
1778
+
1779
+ def route_613 (heading, stops)
1780
+ case stops.last[:code]
1781
+ when "3000" # Mackenzie King Station
1782
+ "613 DOWNTOWN"
1783
+ end
1784
+ end
1785
+
1786
+ def route_614 (heading, stops)
1787
+ case stops.last[:code]
1788
+ when "8698" # Ogilvie Rd. & Lester B. Pearson High School
1789
+ "614 LESTER B. PEARSON HIGH SCHOOL"
1790
+ when "2645" # Innes Rd. & Orléans Blvd.
1791
+ "614 ORLEANS"
1792
+ end
1793
+ end
1794
+
1795
+ def route_615 (heading, stops)
1796
+ case stops.last[:code]
1797
+ when "2023" # Meadowbrook Rd. & Appleton Dr.
1798
+ "615 GLOUCESTER NORTH"
1799
+ when "8698" # Ogilvie Rd. & Lester B. Pearson High School
1800
+ "615 LESTER B. PEARSON HIGH SCHOOL"
1801
+ end
1802
+ end
1803
+
1804
+ def route_616 (heading, stops)
1805
+ case stops.last[:code]
1806
+ when "3328" # Millenium & E.S. Gisèle Lalonde
1807
+ "616 GISÈLE LALONDE HIGH SCHOOL"
1808
+ when "3028" # Place d’Orléans Station
1809
+ "616 ORLEANS"
1810
+ end
1811
+ end
1812
+
1813
+ def route_617 (heading, stops)
1814
+ case stops.last[:code]
1815
+ when "8698" # Ogilvie Rd. & Lester B. Pearson High School
1816
+ "617 LESTER B. PEARSON HIGH SCHOOL"
1817
+ when "2614" # Innes Rd. & Tauvette St.
1818
+ "617 INNES & TAUVETTE"
1819
+ end
1820
+ end
1821
+
1822
+ def route_618 (heading, stops)
1823
+ case stops.last[:code]
1824
+ when "3028" # Place d’Orléans Station
1825
+ "618 ORLEANS"
1826
+ when "2589" # Bearbrook Rd. & Westpark Dr.
1827
+ "618 LOUIS RIEL HIGH SCHOOL"
1828
+ end
1829
+ end
1830
+
1831
+ def route_619 (heading, stops)
1832
+ case stops.last[:code]
1833
+ when "3027" # Blair Station
1834
+ "619 BLAIR"
1835
+ when "2589" # Bearbrook Rd. & Westpark Dr.
1836
+ "619 LOUIS RIEL HIGH SCHOOL"
1837
+ end
1838
+ end
1839
+
1840
+ def route_620 (heading, stops)
1841
+ case stops.last[:code]
1842
+ when "6309" # Portobello Blvd. & Markwick Crescent
1843
+ "620 PORTOBELLO & MARKWICK"
1844
+ when "1674" # Charlemagne Blvd. & Merkley
1845
+ "620 ST. PETER’S HIGH SCHOOL"
1846
+ end
1847
+ end
1848
+
1849
+ def route_621 (heading, stops)
1850
+ case stops.last[:code]
1851
+ when "0549" # Kender Ave. & Ogilvie Rd.
1852
+ "621 COLONEL BY HIGH SCHOOL"
1853
+ when "7761" # Viseneau Dr. & Innes Rd.
1854
+ "621 VISENEAU & INNES"
1855
+ end
1856
+ end
1857
+
1858
+ def route_622 (heading, stops)
1859
+ case stops.last[:code]
1860
+ when "0549" # Kender Ave. & Ogilvie Rd.
1861
+ "622 COLONEL BY HIGH SCHOOL"
1862
+ when "2645" # Innes Rd. & Orléans Blvd.
1863
+ "622 ORLEANS"
1864
+ end
1865
+ end
1866
+
1867
+ def route_623 (heading, stops)
1868
+ case stops.last[:code]
1869
+ when "0549" # Kender Ave. & Ogilvie Rd.
1870
+ "623 COLONEL BY HIGH SCHOOL"
1871
+ when "7767" # Innes Rd. & Jeanne d’Arc Blvd.
1872
+ "623 JEANNE D’ARC"
1873
+ end
1874
+ end
1875
+
1876
+ def route_624 (heading, stops)
1877
+ case stops.last[:code]
1878
+ when "2576" # 2020 Ogilvie Rd.
1879
+ "624 GLOUCESTER HIGH SCHOOL"
1880
+ when "3309" # Navan Rd. & Blackburn Hamlet Bypass
1881
+ "624 ORLEANS"
1882
+ end
1883
+ end
1884
+
1885
+ def route_625 (heading, stops)
1886
+ case stops.last[:code]
1887
+ when "0549" # Kender Ave. & Ogilvie Rd.
1888
+ "625 COLONEL BY HIGH SCHOOL"
1889
+ when "7866" # Charlemagne Blvd. & Tenth Line Rd.
1890
+ "625 ORLEANS"
1891
+ end
1892
+ end
1893
+
1894
+ def route_626 (heading, stops)
1895
+ case stops.last[:code]
1896
+ when "0549" # Kender Ave. & Ogilvie Rd.
1897
+ "626 COLONEL BY HIGH SCHOOL"
1898
+ when "7767" # Innes Rd. & Jeanne d’Arc Blvd.
1899
+ "626 ORLEANS"
1900
+ end
1901
+ end
1902
+
1903
+ def route_627 (heading, stops)
1904
+ case stops.last[:code]
1905
+ when "0549" # Kender Ave. & Ogilvie Rd.
1906
+ "627 COLONEL BY HIGH SCHOOL"
1907
+ when "3028" # Place d’Orléans Station
1908
+ "627 ORLEANS"
1909
+ end
1910
+ end
1911
+
1912
+ def route_628 (heading, stops)
1913
+ case stops.last[:code]
1914
+ when "8667" # Ogilvie Rd. & Jasmine Crescent
1915
+ "628 GLOUCESTER HIGH SCHOOL"
1916
+ when "2479" # Meadowglen Dr. & Orléans Blvd.
1917
+ "628 ORLEANS"
1918
+ end
1919
+ end
1920
+
1921
+ def route_629 (heading, stops)
1922
+ case stops.last[:code]
1923
+ when "8667" # Ogilvie Rd. & Jasmine Crescent
1924
+ "629 GLOUCESTER HIGH SCHOOL"
1925
+ when "2614" # Innes Rd. & Tauvette St.
1926
+ "629 INNES & TAUVETTE"
1927
+ end
1928
+ end
1929
+
1930
+ def route_630 (heading, stops)
1931
+ case stops.last[:code]
1932
+ when "1831" # Jeanne d’Arc Blvd. & St. Joseph Blvd.
1933
+ "630 ORLEANS"
1934
+ when "3328" # Millenium & E.S. Gisèle Lalonde
1935
+ "630 GISÈLE LALONDE HIGH SCHOOL"
1936
+ end
1937
+ end
1938
+
1939
+ def route_631 (heading, stops)
1940
+ case stops.last[:code]
1941
+ when "3028" # Place d’Orléans Station
1942
+ "631 ORLEANS"
1943
+ when "0541" # Carriere St. & é.S. Garneau
1944
+ "631 GARNEAU HIGH SCHOOL"
1945
+ end
1946
+ end
1947
+
1948
+ def route_632 (heading, stops)
1949
+ case stops.last[:code]
1950
+ when "7803" # St. Joseph Blvd. & Cousineau St.
1951
+ "632 ORLEANS"
1952
+ when "3328" # Millenium & E.S. Gisèle Lalonde
1953
+ "632 GISÈLE LALONDE HIGH SCHOOL"
1954
+ end
1955
+ end
1956
+
1957
+ def route_633 (heading, stops)
1958
+ case stops.last[:code]
1959
+ when "8698" # Ogilvie Rd. & Lester B. Pearson High School
1960
+ "633 LESTER B. PEARSON HIGH SCHOOL"
1961
+ when "3025" # St. Laurent Station
1962
+ "633 ST. LAURENT"
1963
+ end
1964
+ end
1965
+
1966
+ def route_634 (heading, stops)
1967
+ case stops.last[:code]
1968
+ when "8166" # Jeanne d’Arc Blvd. & Orléans Blvd.
1969
+ "634 ORLEANS"
1970
+ when "0541" # Carriere St. & é.S. Garneau
1971
+ "634 GARNEAU HIGH SCHOOL"
1972
+ end
1973
+ end
1974
+
1975
+ def route_635 (heading, stops)
1976
+ case stops.last[:code]
1977
+ when "8667" # Ogilvie Rd. & Jasmine Crescent
1978
+ "635 GLOUCESTER HIGH SCHOOL"
1979
+ when "1761" # Jeanne d’Arc Blvd. & Des Épinettes Ave.
1980
+ "635 ORLEANS"
1981
+ end
1982
+ end
1983
+
1984
+ def route_636 (heading, stops)
1985
+ case stops.last[:code]
1986
+ when "0547" # Provence Ave. & Innes Rd.
1987
+ "636 BEATRICE DES LOGES HIGH SCHOOL"
1988
+ when "1737" # Youville Dr. & St. Joseph Blvd.
1989
+ "636 CHAPEL HILL"
1990
+ end
1991
+ end
1992
+
1993
+ def route_637 (heading, stops)
1994
+ case stops.last[:code]
1995
+ when "7955" # Des Épinettes Ave. & Duvergne
1996
+ "637 ORLEANS"
1997
+ when "1674" # Charlemagne Blvd. & Merkley
1998
+ "637 ST. PETER’S HIGH SCHOOL"
1999
+ end
2000
+ end
2001
+
2002
+ def route_638 (heading, stops)
2003
+ case stops.last[:code]
2004
+ when "2453" # Orléans Blvd. & Innes Rd.
2005
+ "638 ORLEANS"
2006
+ when "0541" # Carriere St. & é.S. Garneau
2007
+ "638 GARNEAU HIGH SCHOOL"
2008
+ end
2009
+ end
2010
+
2011
+ def route_639 (heading, stops)
2012
+ case stops.last[:code]
2013
+ when "8471" # Southgate Rd. & Clearwater Crescent
2014
+ "639 OTTAWA SOUTH"
2015
+ when "8359" # Alta Vista Dr. & Heron Rd.
2016
+ "639 ST. PATRICK’S HIGH SCHOOL"
2017
+ end
2018
+ end
2019
+
2020
+ def route_640 (heading, stops)
2021
+ case stops.last[:code]
2022
+ when "4137" # Flannery Dr. & Brookfield Rd.
2023
+ "640 BROOKFIELD HIGH SCHOOL"
2024
+ when "3037" # Greenboro Station
2025
+ "640 GREENBORO"
2026
+ end
2027
+ end
2028
+
2029
+ def route_641 (heading, stops)
2030
+ case stops.last[:code]
2031
+ when "1738" # Meadowglen Dr. & Orléans Blvd.
2032
+ "641 ORLEANS"
2033
+ when "2591" # Bearbrook Rd. & Hornet’s Nest Park
2034
+ "641 LOUIS RIEL HIGH SCHOOL"
2035
+ end
2036
+ end
2037
+
2038
+ def route_642 (heading, stops)
2039
+ case stops.last[:code]
2040
+ when "8885" # Rosebella Ave. & Sixth St.
2041
+ "642 BLOSSOM PARK"
2042
+ when "4022" # Merivale Rd. & Viewmount Dr.
2043
+ "642 MERIVALE HIGH SCHOOL"
2044
+ end
2045
+ end
2046
+
2047
+ def route_643 (heading, stops)
2048
+ case stops.last[:code]
2049
+ when "3375" # Lakeridge Dr. & Lakeridge Dr.
2050
+ "643 ORLEANS"
2051
+ when "3328" # Millenium & E.S. Gisèle Lalonde
2052
+ "643 GISÈLE LALONDE HIGH SCHOOL"
2053
+ end
2054
+ end
2055
+
2056
+ def route_644 (heading, stops)
2057
+ case stops.last[:code]
2058
+ when "8667" # Ogilvie Rd. & Jasmine Crescent
2059
+ "644 GLOUCESTER HIGH SCHOOL"
2060
+ when "1738" # Meadowglen Dr. & Orléans Blvd.
2061
+ "644 ORLEANS"
2062
+ end
2063
+ end
2064
+
2065
+ def route_645 (heading, stops)
2066
+ case stops.last[:code]
2067
+ when "8667" # Ogilvie Rd. & Jasmine Crescent
2068
+ "645 GLOUCESTER HIGH SCHOOL"
2069
+ when "7866" # Charlemagne Blvd. & Tenth Line Rd.
2070
+ "645 ORLEANS"
2071
+ end
2072
+ end
2073
+
2074
+ def route_646 (heading, stops)
2075
+ case stops.last[:code]
2076
+ when "8885" # Rosebella Ave. & Sixth St.
2077
+ "646 GLOUCESTER SOUTH"
2078
+ when "7185" # Alta Vista Dr. & Ayers Ave.
2079
+ "646 RIDGEMONT HIGH SCHOOL"
2080
+ end
2081
+ end
2082
+
2083
+ def route_647 (heading, stops)
2084
+ case stops.last[:code]
2085
+ when "3037" # Greenboro Station
2086
+ "647 SOUTH KEYS"
2087
+ when "6001" # Chesterton Dr. & Viewmount Dr.
2088
+ "647 DESLAURIERS HIGH SCHOOL"
2089
+ end
2090
+ end
2091
+
2092
+ def route_648 (heading, stops)
2093
+ case stops.last[:code]
2094
+ when "1737" # Youville Dr. & St. Joseph Blvd.
2095
+ "648 ORLEANS"
2096
+ when "2591" # Bearbrook Rd. & Hornet’s Nest Park
2097
+ "648 LOUIS RIEL HIGH SCHOOL"
2098
+ end
2099
+ end
2100
+
2101
+ def route_649 (heading, stops)
2102
+ case stops.last[:code]
2103
+ when "3036" # Walkley Station
2104
+ "649 RIVERSIDE"
2105
+ when "8359" # Alta Vista Dr. & Heron Rd.
2106
+ "649 ST. PATRICK’S HIGH SCHOOL"
2107
+ end
2108
+ end
2109
+
2110
+ def route_650 (heading, stops)
2111
+ case stops.last[:code]
2112
+ when "8454" # Riverside Dr. & Rivergate Way
2113
+ "650 RIVERSIDE"
2114
+ when "8359" # Alta Vista Dr. & Heron Rd.
2115
+ "650 ST. PATRICK’S HIGH SCHOOL"
2116
+ end
2117
+ end
2118
+
2119
+ def route_651 (heading, stops)
2120
+ case stops.last[:code]
2121
+ when "8345" # Canterbury Ave. & Plesser St.
2122
+ "651 CANTERBURY HIGH SCHOOL"
2123
+ when "3037" # Greenboro Station
2124
+ "651 SOUTH KEYS"
2125
+ end
2126
+ end
2127
+
2128
+ def route_652 (heading, stops)
2129
+ if stops.last[:stop_id] == "NO451" # Dauphin Rd. & Hillcrest High School
2130
+ "652 HILLCREST HIGH SCHOOL"
2131
+ else
2132
+ case stops.last[:code]
2133
+ when "3037" # Greenboro Station
2134
+ "652 SOUTH KEYS"
2135
+ end
2136
+ end
2137
+ end
2138
+
2139
+ def route_653 (heading, stops)
2140
+ case stops.last[:code]
2141
+ when "8566" # Haig Dr. & Quinlan Rd.
2142
+ "653 ELMVALE"
2143
+ when "8359" # Alta Vista Dr. & Heron Rd.
2144
+ "653 ST. PATRICK’S HIGH SCHOOL"
2145
+ end
2146
+ end
2147
+
2148
+ def route_654 (heading, stops)
2149
+ case stops.last[:code]
2150
+ when "3330" # Conroy Rd. & Johnston Rd.
2151
+ "654 LORRY GREENBERG"
2152
+ when "8359" # Alta Vista Dr. & Heron Rd.
2153
+ "654 ST. PATRICK’S HIGH SCHOOL"
2154
+ end
2155
+ end
2156
+
2157
+ def route_655 (heading, stops)
2158
+ case stops.last[:code]
2159
+ when "4236" # Albion Rd. & Cahill Dr.
2160
+ "655 SOUTH KEYS"
2161
+ when "8359" # Alta Vista Dr. & Heron Rd.
2162
+ "655 ST. PATRICK’S HIGH SCHOOL"
2163
+ end
2164
+ end
2165
+
2166
+ def route_656 (heading, stops)
2167
+ case stops.last[:code]
2168
+ when "3023" # Hurdman Station
2169
+ "656 HURDMAN"
2170
+ when "6001" # Chesterton Dr. & Viewmount Dr.
2171
+ "656 DESLAURIERS HIGH SCHOOL"
2172
+ end
2173
+ end
2174
+
2175
+ def route_657 (heading, stops)
2176
+ case stops.last[:code]
2177
+ when "3017" # Baseline Station
2178
+ "657 BASELINE"
2179
+ when "6723" # Fisher Ave. & Dynes Rd.
2180
+ "657 ST. PIUS HIGH SCHOOL"
2181
+ end
2182
+ end
2183
+
2184
+ def route_658 (heading, stops)
2185
+ case stops.last[:code]
2186
+ when "0521" # Parkway Rd. & Earl Of March H.S.
2187
+ "658 EARL OF MARCH HIGH SCHOOL"
2188
+ when "4842" # Eagleson Rd. & Hazeldean Mall
2189
+ "658 GLEN CAIRN"
2190
+ end
2191
+ end
2192
+
2193
+ def route_659 (heading, stops)
2194
+ case stops.last[:code]
2195
+ when "6234" # Harness Ln. & Stonehaven Dr.
2196
+ "659 BRIDLEWOOD"
2197
+ when "0521" # Parkway Rd. & Earl Of March H.S.
2198
+ "659 EARL OF MARCH HIGH SCHOOL"
2199
+ end
2200
+ end
2201
+
2202
+ def route_660 (heading, stops)
2203
+ case stops.last[:code]
2204
+ when "5305" # é.S. Bell H.S.
2205
+ "660 BELL HIGH SCHOOL"
2206
+ when "6155" # Terry Fox Dr. & March Rd.
2207
+ "660 KANATA"
2208
+ end
2209
+ end
2210
+
2211
+ def route_661 (heading, stops)
2212
+ case stops.last[:code]
2213
+ when "5305" # é.S. Bell H.S.
2214
+ "661 BELL HIGH SCHOOL"
2215
+ when "5380" # Kanata Ave. & Goldridge Dr.
2216
+ "661 KANATA"
2217
+ end
2218
+ end
2219
+
2220
+ def route_662 (heading, stops)
2221
+ case stops.last[:code]
2222
+ when "0572" # Abbeyhill Dr. & A.Y. Jackson H.S.
2223
+ "662 A.Y. JACKSON HIGH SCHOOL"
2224
+ when "0425" # Hope Side Rd. & Crownridge Dr.
2225
+ "662 BRIDLEWOOD"
2226
+ end
2227
+ end
2228
+
2229
+ def route_663 (heading, stops)
2230
+ case stops.last[:code]
2231
+ when "0572" # Abbeyhill Dr. & A.Y. Jackson H.S.
2232
+ "663 A.Y. JACKSON HIGH SCHOOL"
2233
+ when "6216" # Stonehaven Dr. & Steeplechase
2234
+ "663 BRIDLEWOOD"
2235
+ end
2236
+ end
2237
+
2238
+ def route_664 (heading, stops)
2239
+ case stops.last[:code]
2240
+ when "3014" # Lincoln Fields Station
2241
+ "664 LINCOLN FIELDS"
2242
+ when "6001" # Chesterton Dr. & Viewmount Dr.
2243
+ "664 DESLAURIERS HIGH SCHOOL"
2244
+ end
2245
+ end
2246
+
2247
+ def route_665 (heading, stops)
2248
+ case stops.last[:code]
2249
+ when "5305" # é.S. Bell H.S.
2250
+ "665 BELL HIGH SCHOOL"
2251
+ when "0425" # Hope Side Rd. & Crownridge Dr.
2252
+ "665 BRIDLEWOOD"
2253
+ end
2254
+ end
2255
+
2256
+ def route_667 (heading, stops)
2257
+ case stops.last[:code]
2258
+ when "5305" # é.S. Bell H.S.
2259
+ "667 BELL HIGH SCHOOL"
2260
+ when "5326" # Grandview Rd. & Borden
2261
+ "667 GRANDVIEW"
2262
+ end
2263
+ end
2264
+
2265
+ def route_668 (heading, stops)
2266
+ case stops.last[:code]
2267
+ when "3017" # Baseline Station
2268
+ "668 BASELINE"
2269
+ end
2270
+ end
2271
+
2272
+ def route_669 (heading, stops)
2273
+ case stops.last[:code]
2274
+ when "6786" # Bayshore Dr. & Carling Ave.
2275
+ "669 BAYSHORE"
2276
+ when "5305" # é.S. Bell H.S.
2277
+ "669 BELL HIGH SCHOOL"
2278
+ end
2279
+ end
2280
+
2281
+ def route_670 (heading, stops)
2282
+ case stops.last[:code]
2283
+ when "4471" # Vaan Dr. & Coleway
2284
+ "670 NEPEAN SOUTH"
2285
+ when "6723" # Fisher Ave. & Dynes Rd.
2286
+ "670 ST. PIUS HIGH SCHOOL"
2287
+ end
2288
+ end
2289
+
2290
+ def route_671 (heading, stops)
2291
+ case stops.last[:code]
2292
+ when "7924" # Orléans Blvd. & St. Louis Dr.
2293
+ "671 CAIRINE WILSON SCHOOL"
2294
+ when "7866" # Charlemagne Blvd. & Tenth Line Rd.
2295
+ "671 ORLEANS"
2296
+ end
2297
+ end
2298
+
2299
+ def route_672 (heading, stops)
2300
+ case stops.last[:code]
2301
+ when "0892" # Lorry Greenberg Dr. & Bramblegrove Crescent
2302
+ "672 LOCAL EAST"
2303
+ when "7185" # Alta Vista Dr. & Ayers Ave.
2304
+ "672 RIDGEMONT HIGH SCHOOL"
2305
+ end
2306
+ end
2307
+
2308
+ def route_673 (heading, stops)
2309
+ case stops.last[:code]
2310
+ when "0521" # Parkway Rd. & Earl Of March H.S.
2311
+ "673 EARL OF MARCH HIGH SCHOOL"
2312
+ when "3058" # Terry Fox Station
2313
+ "673 KANATA"
2314
+ end
2315
+ end
2316
+
2317
+ def route_674 (heading, stops)
2318
+ case stops.last[:code]
2319
+ when "3579" # Kanata Ave. & Walden Dr.
2320
+ "674 ALL SAINTS HIGH SCHOOL"
2321
+ when "5785" # Terry Fox Dr. & McKinley Dr.
2322
+ "674 KANATA"
2323
+ end
2324
+ end
2325
+
2326
+ def route_675 (heading, stops)
2327
+ case stops.last[:code]
2328
+ when "4978" # Tartan Dr. & Townsend Dr.
2329
+ "675 BARRHAVEN"
2330
+ when "4022" # Merivale Rd. & Viewmount Dr.
2331
+ "675 MERIVALE HIGH SCHOOL"
2332
+ end
2333
+ end
2334
+
2335
+ def route_677 (heading, stops)
2336
+ case stops.last[:code]
2337
+ when "4022" # Merivale Rd. & Viewmount Dr.
2338
+ "677 MERIVALE HIGH SCHOOL"
2339
+ when "3345" # Beatrice Dr. & Queensbury Dr.
2340
+ "677 QUEENSBURY"
2341
+ end
2342
+ end
2343
+
2344
+ def route_678 (heading, stops)
2345
+ case stops.last[:code]
2346
+ when "2589" # Bearbrook Rd. & Westpark Dr.
2347
+ "678 LOUIS RIEL HIGH SCHOOL"
2348
+ when "1741" # Jeanne d’Arc Blvd. & Regional Road 174
2349
+ "678 ORLEANS"
2350
+ end
2351
+ end
2352
+
2353
+ def route_679 (heading, stops)
2354
+ case stops.last[:code]
2355
+ when "5471" # Jockvale Rd. & Jennifer Ln.
2356
+ "679 BARRHAVEN"
2357
+ when "5452" # 2760 Cedarview Rd.
2358
+ "679 CEDARVIEW SCHOOL"
2359
+ end
2360
+ end
2361
+
2362
+ def route_680 (heading, stops)
2363
+ case stops.last[:code]
2364
+ when "5305" # é.S. Bell H.S.
2365
+ "680 BELL HIGH SCHOOL"
2366
+ when "6184" # Castlefrank Rd. & McCurdy Dr.
2367
+ "680 KATIMAVIK"
2368
+ end
2369
+ end
2370
+
2371
+ def route_681 (heading, stops)
2372
+ case stops.last[:code]
2373
+ when "5304" # Bell High School & Cassidy Rd.
2374
+ "681 BELL HIGH SCHOOL"
2375
+ when "6166" # Hazeldean Rd. & Carbrooke St.
2376
+ "681 GLEN CAIRN"
2377
+ end
2378
+ end
2379
+
2380
+ def route_683 (heading, stops)
2381
+ case stops.last[:code]
2382
+ when "3050" # Bayshore Station
2383
+ "683 BAYSHORE"
2384
+ end
2385
+ end
2386
+
2387
+ def route_684 (heading, stops)
2388
+ case stops.last[:code]
2389
+ when "2391" # Carling Ave. & Holland Ave.
2390
+ "684 OTTAWA WEST"
2391
+ end
2392
+ end
2393
+
2394
+ def route_687 (heading, stops)
2395
+ case stops.last[:code]
2396
+ when "4022" # Merivale Rd. & Viewmount Dr.
2397
+ "687 MERIVALE HIGH SCHOOL"
2398
+ when "0328" # Longfields Dr. & Portrush Ave.
2399
+ "687 STRANDHERD"
2400
+ end
2401
+ end
2402
+
2403
+ def route_688 (heading, stops)
2404
+ case stops.last[:code]
2405
+ when "3017" # Baseline Station
2406
+ "688 BASELINE"
2407
+ end
2408
+ end
2409
+
2410
+ def route_690 (heading, stops)
2411
+ case stops.last[:code]
2412
+ when "3017" # Baseline Station
2413
+ "690 BASELINE"
2414
+ when "6723" # Fisher Ave. & Dynes Rd.
2415
+ "690 ST. PIUS HIGH SCHOOL"
2416
+ end
2417
+ end
2418
+
2419
+ def route_691 (heading, stops)
2420
+ case stops.last[:code]
2421
+ when "3050" # Bayshore Station
2422
+ "691 BAYSHORE"
2423
+ when "6001" # Chesterton Dr. & Viewmount Dr.
2424
+ "691 DESLAURIERS HIGH SCHOOL"
2425
+ end
2426
+ end
2427
+
2428
+ def route_692 (heading, stops)
2429
+ if stops.last[:stop_id] == "NO451" # Dauphin Rd. & Hillcrest High School
2430
+ "692 HILLCREST HIGH SCHOOL"
2431
+ else
2432
+ case stops.last[:code]
2433
+ when "4360" # Johnston Rd. & Langstrom Crescent
2434
+ "692 LORRY GREENBERG"
2435
+ end
2436
+ end
2437
+ end
2438
+
2439
+ def route_693 (heading, stops)
2440
+ case stops.last[:code]
2441
+ when "3014" # Lincoln Fields Station
2442
+ "693 LINCOLN FIELDS"
2443
+ when "6828" # Old St. Patrick St. & Beausoleil Dr.
2444
+ "693 DE LA SALLE HIGH SCHOOL"
2445
+ end
2446
+ end
2447
+
2448
+ def route_694 (heading, stops)
2449
+ case stops.last[:code]
2450
+ when "3027" # Blair Station
2451
+ "694 BLAIR"
2452
+ when "6828" # Old St. Patrick St. & Beausoleil Dr.
2453
+ "694 DE LA SALLE HIGH SCHOOL"
2454
+ end
2455
+ end
2456
+
2457
+ def route_695 (heading, stops)
2458
+ case stops.last[:code]
2459
+ when "3028" # Place d’Orléans Station
2460
+ "695 ORLEANS"
2461
+ when "0547" # Provence Ave. & Innes Rd.
2462
+ "695 BEATRICE DES LOGES SCHOOL"
2463
+ end
2464
+ end
2465
+
2466
+ def route_696 (heading, stops)
2467
+ case stops.last[:code]
2468
+ when "0539" # Cedarview Middle School
2469
+ "696 CEDARVIEW SCHOOL"
2470
+ when "4978" # Tartan Dr. & Townsend Dr.
2471
+ "696 LOCAL SOUTH"
2472
+ end
2473
+ end
2474
+
2475
+ def route_750 (heading, stops)
2476
+ case stops.last[:code]
2477
+ when "3060" # Bayview Station
2478
+ "750 BAYVIEW"
2479
+ when "3037" # Greenboro Station
2480
+ "750 GREENBORO"
2481
+ end
2482
+ end
2483
+
2484
+ def route_824 (heading, stops)
2485
+ case stops.last[:code]
2486
+ when "7136" # Belfast Rd. & St. Laurent Blvd.
2487
+ "824 ST. LAURENT"
2488
+ end
2489
+ end
2490
+
2491
+ def route_825 (heading, stops)
2492
+ case stops.last[:code]
2493
+ when "3023" # Hurdman Station
2494
+ "825 HURDMAN"
2495
+ end
2496
+ end
2497
+
2498
+ def route_829 (heading, stops)
2499
+ case stops.last[:code]
2500
+ when "1091" # St. Laurent Blvd. & Tremblay Rd.
2501
+ "829 DOWNTOWN"
2502
+ end
2503
+ end
2504
+
2505
+ def route_830 (heading, stops)
2506
+ case stops.last[:code]
2507
+ when "3028" # Place d’Orléans Station
2508
+ "830 ORLEANS LOCAL"
2509
+ end
2510
+ end
2511
+
2512
+ def route_835 (heading, stops)
2513
+ case stops.last[:code]
2514
+ when "3028" # Place d’Orléans Station
2515
+ "835 ORLEANS"
2516
+ end
2517
+ end
2518
+
2519
+ def route_837 (heading, stops)
2520
+ case stops.last[:code]
2521
+ when "3028" # Place d’Orléans Station
2522
+ "837 ORLEANS"
2523
+ end
2524
+ end
2525
+
2526
+ def route_891 (heading, stops)
2527
+ if stops.last[:stop_id] == "NO341" # Colonnade Rd. & OC Transpo Garage
2528
+ "891X NEPEAN CENTRE"
2529
+ else
2530
+ case stops.last[:code]
2531
+ when "2395" # 2550 Queensview Dr.
2532
+ "891 PINECREST"
2533
+ when "3025" # St. Laurent Station
2534
+ "891 ST. LAURENT"
2535
+ end
2536
+ end
2537
+ end
2538
+ end
2539
+ end