octranspo 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +26 -0
- data/Rakefile +8 -0
- data/lib/octranspo.rb +20 -0
- data/lib/octranspo/headsign.rb +2539 -0
- data/lib/octranspo/headsigns.yml +40565 -0
- data/lib/octranspo/landmarks.rb +37 -0
- data/lib/octranspo/lingo.rb +125 -0
- data/lib/octranspo/lingo/headsign_messages.yml +104 -0
- data/lib/octranspo/lingo/headsign_signatures.yml +3 -0
- data/lib/octranspo/lingo/landmarks.yml +205 -0
- data/lib/octranspo/lingo/roadways.yml +1957 -0
- data/lib/octranspo/mobile_resource_methods.rb +98 -0
- data/lib/octranspo/mobile_route_data.rb +85 -0
- data/lib/octranspo/mobile_route_schedule.rb +118 -0
- data/lib/octranspo/mobile_stop_schedule.rb +137 -0
- data/lib/octranspo/remote_resource_methods.rb +89 -0
- data/lib/octranspo/route.rb +31 -0
- data/lib/octranspo/routes.yml +507 -0
- data/lib/octranspo/service_date.rb +17 -0
- data/lib/octranspo/stations.yml +77 -0
- data/lib/octranspo/stop.rb +69 -0
- data/lib/octranspo/stop_resource.rb +46 -0
- data/lib/octranspo/stops.yml +30696 -0
- data/lib/octranspo/version.rb +3 -0
- data/octranspo.gemspec +22 -0
- data/test/fixtures/mobile_route_data/20090323/route_123_index_0.html +457 -0
- data/test/fixtures/mobile_route_data/20090323/route_123_index_1.html +99 -0
- data/test/fixtures/mobile_route_data/20090323/route_1_index_0.html +700 -0
- data/test/fixtures/mobile_route_data/20090323/route_1_index_1.html +691 -0
- data/test/fixtures/mobile_route_data/20090323/route_2_index_0.html +682 -0
- data/test/fixtures/mobile_route_data/20090323/route_2_index_1.html +646 -0
- data/test/fixtures/mobile_route_data/20100323/route_123_index_0.html +469 -0
- data/test/fixtures/mobile_route_data/20100323/route_123_index_1.html +105 -0
- data/test/fixtures/mobile_route_data/20100323/route_1_index_0.html +703 -0
- data/test/fixtures/mobile_route_data/20100323/route_1_index_1.html +694 -0
- data/test/fixtures/mobile_route_data/20100323/route_2_index_0.html +685 -0
- data/test/fixtures/mobile_route_data/20100323/route_2_index_1.html +649 -0
- data/test/fixtures/mobile_route_data/20100323/route_3_index_0.html +649 -0
- data/test/fixtures/mobile_route_data/20100323/route_3_index_1.html +721 -0
- data/test/fixtures/mobile_route_schedule/20090323/route_18_direction_2_location_25.html +1038 -0
- data/test/fixtures/mobile_route_schedule/20090323/route_1_direction_1_location_0.html +1127 -0
- data/test/fixtures/mobile_route_schedule/20090323/route_2_direction_2_location_11.html +1430 -0
- data/test/fixtures/mobile_route_schedule/20090323/route_2_direction__location_11.html +104 -0
- data/test/fixtures/mobile_route_schedule/20100323/route_1_direction_1_location_0.html +1180 -0
- data/test/fixtures/mobile_route_schedule/20100323/route_2_direction_2_location_11.html +1554 -0
- data/test/fixtures/mobile_route_schedule/20100323/route_3_direction_1_location_0.html +1082 -0
- data/test/fixtures/mobile_route_schedule/20100323/route_3_direction_1_location_1.html +1082 -0
- data/test/fixtures/mobile_stop_schedule/20090323/location_1987.yml +198 -0
- data/test/fixtures/mobile_stop_schedule/20090323/location_1987_route_index_0.html +1283 -0
- data/test/fixtures/mobile_stop_schedule/20090323/location_1987_route_index_1.html +194 -0
- data/test/fixtures/mobile_stop_schedule/20090323/location_1987_route_index_2.html +116 -0
- data/test/fixtures/mobile_stop_schedule/20090323/location_3058_route_index_12.html +149 -0
- data/test/fixtures/mobile_stop_schedule/20090323/location_8789_route_index_0.html +1002 -0
- data/test/fixtures/mobile_stop_schedule/20100323/location_1987.yml +209 -0
- data/test/fixtures/mobile_stop_schedule/20100323/location_1987_route_index_0.html +1393 -0
- data/test/fixtures/mobile_stop_schedule/20100323/location_1987_route_index_1.html +206 -0
- data/test/fixtures/mobile_stop_schedule/20100323/location_1987_route_index_2.html +123 -0
- data/test/fixtures/mobile_stop_schedule/20100323/location_3058_route_index_12.html +278 -0
- data/test/fixtures/mobile_stop_schedule/20100323/location_7558_route_index_0.html +979 -0
- data/test/fixtures/mobile_stop_schedule/20100323/location_8789_route_index_0.html +1059 -0
- data/test/fixtures/stop_resource/1987.html +126 -0
- data/test/test_helper.rb +15 -0
- data/test/unit/headsign_test.rb +34 -0
- data/test/unit/lingo_test.rb +139 -0
- data/test/unit/mobile_resource_methods_test.rb +25 -0
- data/test/unit/mobile_route_data_test.rb +124 -0
- data/test/unit/mobile_route_schedule_test.rb +210 -0
- data/test/unit/mobile_stop_schedule_test.rb +153 -0
- data/test/unit/service_date_test.rb +27 -0
- data/test/unit/stop_resource_test.rb +26 -0
- metadata +251 -0
@@ -0,0 +1,469 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-transitional.dtd">
|
9
|
+
<html>
|
10
|
+
<head>
|
11
|
+
<title>OCTranspo Schedules</title>
|
12
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
|
13
|
+
<meta http-equiv="Content-Language" content="en-us"/>
|
14
|
+
<link rel="stylesheet" type="text/css" href="mobileweb.css"/>
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
</head>
|
28
|
+
<body>
|
29
|
+
<p id="TemplateHeader" class="TemplateHeader"><img src="logo.jpg" width="80" height="20" alt="octranspo" align="left"/> Schedules</p>
|
30
|
+
<br/>
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
<form action="post.stoplist.schedules.oci;jsessionid=3C55276256974C37920BA61ED2FED85E" method="get">
|
48
|
+
<table id="SchedulesStopListStopsTable" cellpadding="0" cellspacing="0" border="0">
|
49
|
+
<tr>
|
50
|
+
<td class="header" valign="top">Route:</td><td class="selected">
|
51
|
+
|
52
|
+
123 Gloucester N. & Blair
|
53
|
+
.</td>
|
54
|
+
</tr>
|
55
|
+
<tr><td colspan="2"> </td></tr>
|
56
|
+
<tr>
|
57
|
+
<td class="question" colspan="2">
|
58
|
+
|
59
|
+
|
60
|
+
Please select up to 3 stops:
|
61
|
+
</td>
|
62
|
+
</tr>
|
63
|
+
|
64
|
+
<tr>
|
65
|
+
<td class="checkbox" colspan="2">
|
66
|
+
<input type="checkbox" name="check0" id="check0"/>
|
67
|
+
|
68
|
+
|
69
|
+
BLAIR 3B (3027)
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
|
73
|
+
<tr>
|
74
|
+
<td class="checkbox" colspan="2">
|
75
|
+
<input type="checkbox" name="check1" id="check1"/>
|
76
|
+
|
77
|
+
|
78
|
+
BLAIR / LEROY (8542)
|
79
|
+
</td>
|
80
|
+
</tr>
|
81
|
+
|
82
|
+
<tr>
|
83
|
+
<td class="checkbox" colspan="2">
|
84
|
+
<input type="checkbox" name="check2" id="check2"/>
|
85
|
+
|
86
|
+
|
87
|
+
LEROY / DUNHAM (8646)
|
88
|
+
</td>
|
89
|
+
</tr>
|
90
|
+
|
91
|
+
<tr>
|
92
|
+
<td class="checkbox" colspan="2">
|
93
|
+
<input type="checkbox" name="check3" id="check3"/>
|
94
|
+
|
95
|
+
|
96
|
+
CROWNHILL / APPLEFORD (8592)
|
97
|
+
</td>
|
98
|
+
</tr>
|
99
|
+
|
100
|
+
<tr>
|
101
|
+
<td class="checkbox" colspan="2">
|
102
|
+
<input type="checkbox" name="check4" id="check4"/>
|
103
|
+
|
104
|
+
|
105
|
+
STEEL / CROWNHILL (8642)
|
106
|
+
</td>
|
107
|
+
</tr>
|
108
|
+
|
109
|
+
<tr>
|
110
|
+
<td class="checkbox" colspan="2">
|
111
|
+
<input type="checkbox" name="check5" id="check5"/>
|
112
|
+
|
113
|
+
|
114
|
+
MOWAT / STEEL (8593)
|
115
|
+
</td>
|
116
|
+
</tr>
|
117
|
+
|
118
|
+
<tr>
|
119
|
+
<td class="checkbox" colspan="2">
|
120
|
+
<input type="checkbox" name="check6" id="check6"/>
|
121
|
+
|
122
|
+
|
123
|
+
MOWAT / ELVINA (8622)
|
124
|
+
</td>
|
125
|
+
</tr>
|
126
|
+
|
127
|
+
<tr>
|
128
|
+
<td class="checkbox" colspan="2">
|
129
|
+
<input type="checkbox" name="check7" id="check7"/>
|
130
|
+
|
131
|
+
|
132
|
+
MOWAT / BLAIR (8691)
|
133
|
+
</td>
|
134
|
+
</tr>
|
135
|
+
|
136
|
+
<tr>
|
137
|
+
<td class="checkbox" colspan="2">
|
138
|
+
<input type="checkbox" name="check8" id="check8"/>
|
139
|
+
|
140
|
+
|
141
|
+
BLAIR / SEGUIN (8746)
|
142
|
+
</td>
|
143
|
+
</tr>
|
144
|
+
|
145
|
+
<tr>
|
146
|
+
<td class="checkbox" colspan="2">
|
147
|
+
<input type="checkbox" name="check9" id="check9"/>
|
148
|
+
|
149
|
+
|
150
|
+
BLAIR / MONTR�AL (8748)
|
151
|
+
</td>
|
152
|
+
</tr>
|
153
|
+
|
154
|
+
<tr>
|
155
|
+
<td class="checkbox" colspan="2">
|
156
|
+
<input type="checkbox" name="check10" id="check10"/>
|
157
|
+
|
158
|
+
|
159
|
+
BLAIR / MONTREAL (1789)
|
160
|
+
</td>
|
161
|
+
</tr>
|
162
|
+
|
163
|
+
<tr>
|
164
|
+
<td class="checkbox" colspan="2">
|
165
|
+
<input type="checkbox" name="check11" id="check11"/>
|
166
|
+
|
167
|
+
|
168
|
+
BLAIR / NICOL (8843)
|
169
|
+
</td>
|
170
|
+
</tr>
|
171
|
+
|
172
|
+
<tr>
|
173
|
+
<td class="checkbox" colspan="2">
|
174
|
+
<input type="checkbox" name="check12" id="check12"/>
|
175
|
+
|
176
|
+
|
177
|
+
BLAIR E / DAVIDSON (8846)
|
178
|
+
</td>
|
179
|
+
</tr>
|
180
|
+
|
181
|
+
<tr>
|
182
|
+
<td class="checkbox" colspan="2">
|
183
|
+
<input type="checkbox" name="check13" id="check13"/>
|
184
|
+
|
185
|
+
|
186
|
+
BLAIR / SWANS (8848)
|
187
|
+
</td>
|
188
|
+
</tr>
|
189
|
+
|
190
|
+
<tr>
|
191
|
+
<td class="checkbox" colspan="2">
|
192
|
+
<input type="checkbox" name="check14" id="check14"/>
|
193
|
+
|
194
|
+
|
195
|
+
BLAIR / SWANS (1783)
|
196
|
+
</td>
|
197
|
+
</tr>
|
198
|
+
|
199
|
+
<tr>
|
200
|
+
<td class="checkbox" colspan="2">
|
201
|
+
<input type="checkbox" name="check15" id="check15"/>
|
202
|
+
|
203
|
+
|
204
|
+
BLAIR / BRIARCLIFF (8180)
|
205
|
+
</td>
|
206
|
+
</tr>
|
207
|
+
|
208
|
+
<tr>
|
209
|
+
<td class="checkbox" colspan="2">
|
210
|
+
<input type="checkbox" name="check16" id="check16"/>
|
211
|
+
|
212
|
+
|
213
|
+
BLAIR / MASSEY (8865)
|
214
|
+
</td>
|
215
|
+
</tr>
|
216
|
+
|
217
|
+
<tr>
|
218
|
+
<td class="checkbox" colspan="2">
|
219
|
+
<input type="checkbox" name="check17" id="check17"/>
|
220
|
+
|
221
|
+
|
222
|
+
MASSEY / REBECCA (8886)
|
223
|
+
</td>
|
224
|
+
</tr>
|
225
|
+
|
226
|
+
<tr>
|
227
|
+
<td class="checkbox" colspan="2">
|
228
|
+
<input type="checkbox" name="check18" id="check18"/>
|
229
|
+
|
230
|
+
|
231
|
+
DELONG / MASSEY (8181)
|
232
|
+
</td>
|
233
|
+
</tr>
|
234
|
+
|
235
|
+
<tr>
|
236
|
+
<td class="checkbox" colspan="2">
|
237
|
+
<input type="checkbox" name="check19" id="check19"/>
|
238
|
+
|
239
|
+
|
240
|
+
DELONG / COMBERMERE (8915)
|
241
|
+
</td>
|
242
|
+
</tr>
|
243
|
+
|
244
|
+
<tr>
|
245
|
+
<td class="checkbox" colspan="2">
|
246
|
+
<input type="checkbox" name="check20" id="check20"/>
|
247
|
+
|
248
|
+
|
249
|
+
DELONG / REBECCA (8919)
|
250
|
+
</td>
|
251
|
+
</tr>
|
252
|
+
|
253
|
+
<tr>
|
254
|
+
<td class="checkbox" colspan="2">
|
255
|
+
<input type="checkbox" name="check21" id="check21"/>
|
256
|
+
|
257
|
+
|
258
|
+
DELONG / KAYMAR (8182)
|
259
|
+
</td>
|
260
|
+
</tr>
|
261
|
+
|
262
|
+
<tr>
|
263
|
+
<td class="checkbox" colspan="2">
|
264
|
+
<input type="checkbox" name="check22" id="check22"/>
|
265
|
+
|
266
|
+
|
267
|
+
DELONG / ORIOLE (8923)
|
268
|
+
</td>
|
269
|
+
</tr>
|
270
|
+
|
271
|
+
<tr>
|
272
|
+
<td class="checkbox" colspan="2">
|
273
|
+
<input type="checkbox" name="check23" id="check23"/>
|
274
|
+
|
275
|
+
|
276
|
+
ROTHWELL / DELONG (8942)
|
277
|
+
</td>
|
278
|
+
</tr>
|
279
|
+
|
280
|
+
<tr>
|
281
|
+
<td class="checkbox" colspan="2">
|
282
|
+
<input type="checkbox" name="check24" id="check24"/>
|
283
|
+
|
284
|
+
|
285
|
+
ROTHWELL / WICK (8943)
|
286
|
+
</td>
|
287
|
+
</tr>
|
288
|
+
|
289
|
+
<tr>
|
290
|
+
<td class="checkbox" colspan="2">
|
291
|
+
<input type="checkbox" name="check25" id="check25"/>
|
292
|
+
|
293
|
+
|
294
|
+
WICK / COXFORD (8654)
|
295
|
+
</td>
|
296
|
+
</tr>
|
297
|
+
|
298
|
+
<tr>
|
299
|
+
<td class="checkbox" colspan="2">
|
300
|
+
<input type="checkbox" name="check26" id="check26"/>
|
301
|
+
|
302
|
+
|
303
|
+
SWANS / WREN (8827)
|
304
|
+
</td>
|
305
|
+
</tr>
|
306
|
+
|
307
|
+
<tr>
|
308
|
+
<td class="checkbox" colspan="2">
|
309
|
+
<input type="checkbox" name="check27" id="check27"/>
|
310
|
+
|
311
|
+
|
312
|
+
SWANS / WHIPPOORWILL (8829)
|
313
|
+
</td>
|
314
|
+
</tr>
|
315
|
+
|
316
|
+
<tr>
|
317
|
+
<td class="checkbox" colspan="2">
|
318
|
+
<input type="checkbox" name="check28" id="check28"/>
|
319
|
+
|
320
|
+
|
321
|
+
SWANS / BLAIR (8830)
|
322
|
+
</td>
|
323
|
+
</tr>
|
324
|
+
|
325
|
+
<tr>
|
326
|
+
<td class="checkbox" colspan="2">
|
327
|
+
<input type="checkbox" name="check29" id="check29"/>
|
328
|
+
|
329
|
+
|
330
|
+
BLAIR / DAVIDSON (8833)
|
331
|
+
</td>
|
332
|
+
</tr>
|
333
|
+
|
334
|
+
<tr>
|
335
|
+
<td class="checkbox" colspan="2">
|
336
|
+
<input type="checkbox" name="check30" id="check30"/>
|
337
|
+
|
338
|
+
|
339
|
+
BLAIR / NICOL (8842)
|
340
|
+
</td>
|
341
|
+
</tr>
|
342
|
+
|
343
|
+
<tr>
|
344
|
+
<td class="checkbox" colspan="2">
|
345
|
+
<input type="checkbox" name="check31" id="check31"/>
|
346
|
+
|
347
|
+
|
348
|
+
BLAIR / MONTREAL (8639)
|
349
|
+
</td>
|
350
|
+
</tr>
|
351
|
+
|
352
|
+
<tr>
|
353
|
+
<td class="checkbox" colspan="2">
|
354
|
+
<input type="checkbox" name="check32" id="check32"/>
|
355
|
+
|
356
|
+
|
357
|
+
MONTR�AL / BLAIR (8647)
|
358
|
+
</td>
|
359
|
+
</tr>
|
360
|
+
|
361
|
+
<tr>
|
362
|
+
<td class="checkbox" colspan="2">
|
363
|
+
<input type="checkbox" name="check33" id="check33"/>
|
364
|
+
|
365
|
+
|
366
|
+
ELWOOD / MONTR�AL (8644)
|
367
|
+
</td>
|
368
|
+
</tr>
|
369
|
+
|
370
|
+
<tr>
|
371
|
+
<td class="checkbox" colspan="2">
|
372
|
+
<input type="checkbox" name="check34" id="check34"/>
|
373
|
+
|
374
|
+
|
375
|
+
CROWNHILL / SUMAC (8507)
|
376
|
+
</td>
|
377
|
+
</tr>
|
378
|
+
|
379
|
+
<tr>
|
380
|
+
<td class="checkbox" colspan="2">
|
381
|
+
<input type="checkbox" name="check35" id="check35"/>
|
382
|
+
|
383
|
+
|
384
|
+
CROWNHILL / STEEL (2340)
|
385
|
+
</td>
|
386
|
+
</tr>
|
387
|
+
|
388
|
+
<tr>
|
389
|
+
<td class="checkbox" colspan="2">
|
390
|
+
<input type="checkbox" name="check36" id="check36"/>
|
391
|
+
|
392
|
+
|
393
|
+
CROWNHILL / APPLEFORD (8645)
|
394
|
+
</td>
|
395
|
+
</tr>
|
396
|
+
|
397
|
+
<tr>
|
398
|
+
<td class="checkbox" colspan="2">
|
399
|
+
<input type="checkbox" name="check37" id="check37"/>
|
400
|
+
|
401
|
+
|
402
|
+
LEROY / DUNHAM (8553)
|
403
|
+
</td>
|
404
|
+
</tr>
|
405
|
+
|
406
|
+
<tr>
|
407
|
+
<td class="checkbox" colspan="2">
|
408
|
+
<input type="checkbox" name="check38" id="check38"/>
|
409
|
+
|
410
|
+
|
411
|
+
LEROY / BLAIR (8554)
|
412
|
+
</td>
|
413
|
+
</tr>
|
414
|
+
|
415
|
+
<tr>
|
416
|
+
<td class="checkbox" colspan="2">
|
417
|
+
<input type="checkbox" name="check39" id="check39"/>
|
418
|
+
|
419
|
+
|
420
|
+
BLAIR / OGILVIE (8659)
|
421
|
+
</td>
|
422
|
+
</tr>
|
423
|
+
|
424
|
+
<tr>
|
425
|
+
<td class="checkbox" colspan="2">
|
426
|
+
<input type="checkbox" name="check40" id="check40"/>
|
427
|
+
|
428
|
+
|
429
|
+
BLAIR 2B (3027)
|
430
|
+
</td>
|
431
|
+
</tr>
|
432
|
+
|
433
|
+
<tr>
|
434
|
+
<td class="button" colspan="2">
|
435
|
+
<input name="lang" id="lang" type="hidden" value="en"/>
|
436
|
+
<input name="route" id="route" type="hidden" value="123"/>
|
437
|
+
<input name="direction" id="direction" type="hidden" value="Direction1"/>
|
438
|
+
<input name="day" id="day" type="hidden" value="20100323"/>
|
439
|
+
<input name="rangeIndex" id="rangeIndex" type="hidden" value="5"/>
|
440
|
+
<input class="button" name="continue" type="submit" value="Continue"/>
|
441
|
+
</td>
|
442
|
+
</tr>
|
443
|
+
<tr>
|
444
|
+
<td class="button" colspan="2">
|
445
|
+
<input name="accessible" type="checkbox" id="accessible"/>
|
446
|
+
Highlight trips served by low floor buses
|
447
|
+
</td>
|
448
|
+
</tr>
|
449
|
+
<tr><td colspan="2"> </td></tr>
|
450
|
+
</table>
|
451
|
+
</form>
|
452
|
+
<table id="SchedulesStopListLinksTable" cellpadding="0" cellspacing="0" border="0">
|
453
|
+
<tr>
|
454
|
+
<td class="link"><a href="post.dateroute.schedules.oci;jsessionid=3C55276256974C37920BA61ED2FED85E?lang=en&route=123&day=20100323&rangeIndex=5">Choose a new direction</a></td>
|
455
|
+
</tr>
|
456
|
+
<tr>
|
457
|
+
<td class="link"><a href="start.schedules.oci;jsessionid=3C55276256974C37920BA61ED2FED85E?lang=en">Choose a new route</a></td>
|
458
|
+
</tr>
|
459
|
+
</table>
|
460
|
+
|
461
|
+
|
462
|
+
|
463
|
+
<br/>
|
464
|
+
<p id="TemplateFooter" class="TemplateFooter"><a href="startFR.schedules.oci">Fran�ais</a> | <a href="startEN.stoptimes.oci">Stop Times</a> | <a href="startEN.tripplan.oci">Travel Planner</a></p>
|
465
|
+
</body>
|
466
|
+
</html>
|
467
|
+
|
468
|
+
|
469
|
+
|