translink 2.0.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +18 -0
- data/README.md +26 -15
- data/doc/schema.graffle +67 -69
- data/doc/schema.png +0 -0
- data/lib/translink/cli.rb +35 -9
- data/lib/translink/crawler.rb +41 -8
- data/lib/translink/db.rb +46 -2
- data/lib/translink/model/route.rb +14 -6
- data/lib/translink/model/stop.rb +2 -3
- data/lib/translink/model/stop_time.rb +3 -2
- data/lib/translink/model/trip.rb +11 -9
- data/lib/translink/page.rb +16 -6
- data/lib/translink/page/route.rb +41 -2
- data/lib/translink/page/timetable.rb +13 -6
- data/lib/translink/page/trip.rb +13 -19
- data/lib/translink/version.rb +1 -1
- data/test/fixtures/sample/route.html +1 -1
- data/test/fixtures/verbatim/route.html +294 -270
- data/test/fixtures/verbatim/route/date_from_anchor.html +2727 -0
- data/test/fixtures/verbatim/timetable/duplicate_routes.html +2293 -0
- data/test/fixtures/verbatim/trip/duplicate_stop_times.html +589 -0
- data/test/unit/cli_test.rb +26 -7
- data/test/unit/model/route_test.rb +3 -2
- data/test/unit/model/trip_test.rb +3 -3
- data/test/unit/page/route_test.rb +36 -5
- data/test/unit/page/timetable_test.rb +29 -0
- data/test/unit/page/trip_test.rb +12 -5
- data/translink.gemspec +3 -3
- metadata +62 -21
@@ -0,0 +1,589 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en-au">
|
3
|
+
<head>
|
4
|
+
<meta name="google-site-verification" content="nNhS0Na_38DlBjVO22yfHnekgn6xyusSgs0wqs4yDQ8" />
|
5
|
+
<link rel="stylesheet" href="/utilities/css/common-v2.2.3.40" type="text/css" media="screen, print" />
|
6
|
+
<link rel="stylesheet" href="/utilities/css/print-v2.2.3.40" type="text/css" media="print" />
|
7
|
+
<script src="/utilities/common-javascript-v2.2.3.40" type="text/javascript" charset="utf-8"></script>
|
8
|
+
|
9
|
+
<title>7.05am LOOP service | TransLink</title>
|
10
|
+
<meta name="description" content="TransLink is your one stop for public transport information, and coordinates and integrates public transport services in South East Queensland." />
|
11
|
+
<meta name="keywords" content="TransLink,public,transport,information,bus,train,ferry,timetables,maps,events,service updates,announcements,go card,fares,tickets" />
|
12
|
+
<meta name="author" content="TransLink Transit Authority" />
|
13
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
14
|
+
<!--[if gte IE 9]>
|
15
|
+
<style type="text/css">
|
16
|
+
.gradient {
|
17
|
+
filter: none;
|
18
|
+
}
|
19
|
+
</style>
|
20
|
+
<![endif]-->
|
21
|
+
<!--[if lte IE 8]><style type="text/css">#suggestion-box { background-color: #DCDCDC; }</style><![endif]-->
|
22
|
+
<!--[if lte IE 7]>
|
23
|
+
<link rel="stylesheet" type="text/css" href="/utilities/css/nonstandard-ie-v2.2.3.40" />
|
24
|
+
<![endif]-->
|
25
|
+
<link rel="stylesheet" href="http://translink.com.au/styles/common/shared.css" type="text/css" media="screen, print" />
|
26
|
+
<script src="http://translink.com.au/scripts/translink/shared.js" type="text/javascript" charset="utf-8"></script>
|
27
|
+
</head>
|
28
|
+
<body>
|
29
|
+
<ul class="access">
|
30
|
+
<li><a href="#navigation-shortcut" tabindex="0">Skip to site navigation</a></li>
|
31
|
+
<li><a href="#content-shortcut" tabindex="0">Skip to content</a></li>
|
32
|
+
<li><a href="#footer-shortcut" tabindex="0">Skip to footer</a></li>
|
33
|
+
</ul>
|
34
|
+
<div id="center">
|
35
|
+
<div id="container-shadow">
|
36
|
+
<div id="container">
|
37
|
+
<div id="header">
|
38
|
+
<div id="courtesy-nav">
|
39
|
+
<ul id="courtesy-links">
|
40
|
+
<li><a href="http://translink.com.au/utils/goto/context/mobile" title="View the website on your mobile">Mobile site</a></li>
|
41
|
+
<li><a href="http://translink.com.au/tickets-and-fares/go-card/online" title="go card login (opens in a new window)"><i>go</i> card login</a></li>
|
42
|
+
<li><a href="http://translink.com.au/site-information/site-map" title="An overview of the entire TransLink website">Site map</a></li>
|
43
|
+
<li class="last"><a href="http://translink.com.au/site-information/contact-us-and-help" title="Call us on 13 12 30, email us, see us in person, follow us on Twitter, or send us a letter.">Contact us & help</a></li>
|
44
|
+
</ul>
|
45
|
+
</div>
|
46
|
+
<div id="header-content">
|
47
|
+
<h1 class="access">TransLink - Integrated public transport for South East Queensland</h1>
|
48
|
+
<a href="http://translink.com.au/" title="TransLink"><img src="/Content/Images/translink-logo.png" alt="TransLink" style="width: 237px; height: 46px;" class="logo" /></a>
|
49
|
+
<img src="/Content/Images/tagline.png" alt="Making travel easy" class="tagline" style="height: 46px; width: 206px;" />
|
50
|
+
</div>
|
51
|
+
<a id="navigation-shortcut" tabindex="0"></a>
|
52
|
+
<div id="main-nav" class="clearfix">
|
53
|
+
<div id="header-search" class="rightalign">
|
54
|
+
<form action="http://translink.com.au/site-information/search/results" method="get" id="search" class="searchform" name="search">
|
55
|
+
<fieldset>
|
56
|
+
<legend class="access">Search the TransLink website</legend>
|
57
|
+
<p>
|
58
|
+
<label for="searchbox" id="searchlabel1">Search site…</label>
|
59
|
+
<input type="text" name="query" id="searchbox" value="" class="searchfield" placeholder="Search site…" />
|
60
|
+
<input type="submit" value="Search" class="searchbutton" />
|
61
|
+
</p>
|
62
|
+
</fieldset>
|
63
|
+
</form>
|
64
|
+
</div>
|
65
|
+
<ul class="text-shadow-light">
|
66
|
+
<li><a href="http://translink.com.au/" title="TransLink - Home">Home</a></li>
|
67
|
+
<li class="this-page"><a href="http://translink.com.au/travel-information" id="travelMenuLink">Travel information</a>
|
68
|
+
<div id="travelMenu" class="megamenu">
|
69
|
+
<div class="column">
|
70
|
+
<ul>
|
71
|
+
<li>
|
72
|
+
<a href="/travel-information/journey-planner">Journey planner</a>
|
73
|
+
<ul>
|
74
|
+
<li><a href="/travel-information/journey-planner">Journey planner</a></li>
|
75
|
+
</ul>
|
76
|
+
</li>
|
77
|
+
<li>
|
78
|
+
<a href="http://translink.com.au/travel-information/network-information">Network information</a>
|
79
|
+
<ul>
|
80
|
+
<li><a href="/travel-information/network-information/timetables">Timetables</a></li>
|
81
|
+
<li><a href="/travel-information/network-information/stops-and-stations">Stops and stations</a></li>
|
82
|
+
<li><a href="http://translink.com.au/travel-information/network-information/maps">Maps</a></li>
|
83
|
+
<li><a href="http://translink.com.au/travel-information/network-information/event-transport">Event transport</a></li>
|
84
|
+
<li><a href="http://translink.com.au/travel-information/network-information/late-night-services">Late night services</a></li>
|
85
|
+
<li><a href="http://translink.com.au/travel-information/network-information/school-transport">School transport</a></li>
|
86
|
+
<li><a href="http://translink.com.au/travel-information/network-information/track-closures">Planned track works</a></li>
|
87
|
+
</ul>
|
88
|
+
</li>
|
89
|
+
</ul>
|
90
|
+
</div>
|
91
|
+
<div class="column">
|
92
|
+
<ul>
|
93
|
+
<li>
|
94
|
+
<a href="/travel-information/service-updates">Service updates</a>
|
95
|
+
<ul>
|
96
|
+
<li><a href="/travel-information/service-updates">Current status and upcoming changes</a></li>
|
97
|
+
<li><a href="http://translink.com.au/travel-information/service-updates/about-service-updates">About service updates</a></li>
|
98
|
+
</ul>
|
99
|
+
</li>
|
100
|
+
</ul>
|
101
|
+
<ul>
|
102
|
+
<li>
|
103
|
+
<a href="http://translink.com.au/travel-information/accessibility-and-safety">Accessibility and safety</a>
|
104
|
+
<ul>
|
105
|
+
<li><a href="http://translink.com.au/travel-information/accessibility-and-safety/accessible-services">Accessible services</a></li>
|
106
|
+
<li><a href="http://translink.com.au/travel-information/accessibility-and-safety/safety-and-security">Safety and security</a></li>
|
107
|
+
<li><a href="http://translink.com.au/travel-information/network-information/stops-and-stations/bicycle-facilities">Bicycle facilities</a></li>
|
108
|
+
</ul>
|
109
|
+
</li>
|
110
|
+
</ul>
|
111
|
+
<ul>
|
112
|
+
<li>
|
113
|
+
<a href="http://translink.com.au/travel-information/visiting-south-east-queensland">Visiting South East Queensland</a>
|
114
|
+
<ul>
|
115
|
+
<li><a href="http://translink.com.au/travel-information/visiting-south-east-queensland">Visiting South East Queensland</a></li>
|
116
|
+
<li><a href="http://translink.com.au/travel-information/visiting-south-east-queensland/major-destinations">Major destinations</a></li>
|
117
|
+
</ul>
|
118
|
+
</li>
|
119
|
+
</ul>
|
120
|
+
</div>
|
121
|
+
<div class="column">
|
122
|
+
<ul>
|
123
|
+
<li>
|
124
|
+
<a href="http://translink.com.au/travel-information/how-to" title="Travel information how to guides">How to</a>
|
125
|
+
<ul>
|
126
|
+
<li><a href="http://translink.com.au/travel-information/how-to/how-to-use-the-bus">use the bus</a></li>
|
127
|
+
<li><a href="http://translink.com.au/travel-information/how-to/how-to-use-the-train">use the train</a></li>
|
128
|
+
<li><a href="http://translink.com.au/travel-information/how-to/how-to-use-the-ferry">use the ferry</a></li>
|
129
|
+
<li><a href="http://translink.com.au/travel-information/how-to/how-to-plan-your-journey">plan your journey</a></li>
|
130
|
+
<li><a href="http://translink.com.au/travel-information/how-to/how-to-transfer-between-services">transfer between services</a></li>
|
131
|
+
<li><a href="http://translink.com.au/travel-information/how-to/how-to-travel-with-children-prams-or-large-items">travel with children or large items</a></li>
|
132
|
+
<li><a href="http://translink.com.au/travel-information/how-to/tips-for-courteous-behaviour">Tips for courteous behaviour</a></li>
|
133
|
+
</ul>
|
134
|
+
</li>
|
135
|
+
</ul>
|
136
|
+
</div>
|
137
|
+
</div>
|
138
|
+
</li>
|
139
|
+
<li><a href="http://translink.com.au/tickets-and-fares">Tickets and fares</a>
|
140
|
+
<div class="megamenu">
|
141
|
+
<div class="column">
|
142
|
+
<ul>
|
143
|
+
<li>
|
144
|
+
<a href="http://translink.com.au/tickets-and-fares/go-card"><i>go</i> card</a>
|
145
|
+
<ul>
|
146
|
+
<li><a href="http://translink.com.au/tickets-and-fares/go-card/online"><i>go</i> card account sign in</a></li>
|
147
|
+
<li><a href="http://translink.com.au/tickets-and-fares/go-card/new-to-go-card">New to <i>go</i> card?</a></li>
|
148
|
+
<li><a href="http://translink.com.au/tickets-and-fares/go-card/i-have-a-go-card">I have a <i>go</i> card</a></li>
|
149
|
+
<li><a href="http://translink.com.au/tickets-and-fares/go-card/buy-a-go-card">Where to buy and top up</a></li>
|
150
|
+
</ul>
|
151
|
+
</li>
|
152
|
+
</ul>
|
153
|
+
<ul>
|
154
|
+
<li>
|
155
|
+
<a href="http://translink.com.au/tickets-and-fares/other-tickets">Other tickets</a>
|
156
|
+
<ul>
|
157
|
+
<li><a href="http://translink.com.au/tickets-and-fares/other-tickets/paper-tickets">Paper tickets</a></li>
|
158
|
+
<li><a href="http://translink.com.au/tickets-and-fares/other-tickets/school-tickets-and-fares">School tickets and fares</a></li>
|
159
|
+
<li><a href="http://translink.com.au/tickets-and-fares/other-tickets/special-access-passes">Special access passes</a></li>
|
160
|
+
</ul>
|
161
|
+
</li>
|
162
|
+
</ul>
|
163
|
+
</div>
|
164
|
+
<div class="column">
|
165
|
+
<ul>
|
166
|
+
<li>
|
167
|
+
<a href="http://translink.com.au/tickets-and-fares/fares">Fares</a>
|
168
|
+
<ul>
|
169
|
+
<li><a href="http://translink.com.au/tickets-and-fares/fares/current-fares">Current fares</a></li>
|
170
|
+
<li><a href="http://translink.com.au/tickets-and-fares/fares/changes-to-fares-and-ticketing-in-2012">Changes to fares and ticketing in 2012</a></li>
|
171
|
+
<li><a href="http://translink.com.au/tickets-and-fares/fares/concessions">Concessions</a></li>
|
172
|
+
<li><a href="http://translink.com.au/tickets-and-fares/fares/off-peak-times">Off-peak times</a></li>
|
173
|
+
<li><a href="http://translink.com.au/tickets-and-fares/fares/fare-zones">Zones</a></li>
|
174
|
+
<li><a href="http://translink.com.au/tickets-and-fares/fares/conditions-of-travel">Conditions of travel</a></li>
|
175
|
+
<li><a href="http://translink.com.au/tickets-and-fares/fares/discounts-and-ways-to-save">Discounts and ways to save</a></li>
|
176
|
+
</ul>
|
177
|
+
</li>
|
178
|
+
</ul>
|
179
|
+
</div>
|
180
|
+
<div class="column">
|
181
|
+
<ul>
|
182
|
+
<li>
|
183
|
+
<a href="http://translink.com.au/tickets-and-fares/how-to" title="Tickets and fares how to guides">How to</a>
|
184
|
+
<ul>
|
185
|
+
<li><a href="http://translink.com.au/tickets-and-fares/how-to/how-to-use-a-fare-machine">use a fare machine</a></li>
|
186
|
+
<li><a href="http://translink.com.au/tickets-and-fares/how-to/how-to-buy-a-ticket">buy a ticket</a></li>
|
187
|
+
<li><a href="http://translink.com.au/tickets-and-fares/how-to/how-to-claim-a-refund-for-incorrect-change">claim a refund for incorrect change</a></li>
|
188
|
+
<li><a href="http://translink.com.au/tickets-and-fares/how-to/tickets-and-fares-after-midnight">Tickets and fares after midnight</a></li>
|
189
|
+
</ul>
|
190
|
+
</li>
|
191
|
+
</ul>
|
192
|
+
</div>
|
193
|
+
</div>
|
194
|
+
</li>
|
195
|
+
<li><a href="http://translink.com.au/news-and-updates">News and updates</a></li>
|
196
|
+
<li><a href="http://translink.com.au/about-translink">About TransLink</a>
|
197
|
+
<div class="megamenu">
|
198
|
+
<div class="column">
|
199
|
+
<ul>
|
200
|
+
<li>
|
201
|
+
<a href="http://translink.com.au/about-translink/who-we-are">Who we are</a>
|
202
|
+
<ul>
|
203
|
+
<li><a href="http://translink.com.au/about-translink/who-we-are/our-culture-and-values">Our culture and values</a></li>
|
204
|
+
<li><a href="http://translink.com.au/about-translink/who-we-are/governance">Governance</a></li>
|
205
|
+
<li><a href="http://translink.com.au/about-translink/who-we-are/our-board">Our board</a></li>
|
206
|
+
<li><a href="http://translink.com.au/about-translink/who-we-are/our-leadership">Our leadership</a></li>
|
207
|
+
<li><a href="http://translink.com.au/about-translink/who-we-are/who-we-work-with">Who we work with</a></li>
|
208
|
+
</ul>
|
209
|
+
</li>
|
210
|
+
</ul>
|
211
|
+
<ul>
|
212
|
+
<li>
|
213
|
+
<a href="http://translink.com.au/about-translink/what-we-do">What we do</a>
|
214
|
+
<ul>
|
215
|
+
<li><a href="http://translink.com.au/about-translink/what-we-do/strategic-plan">Strategic plan</a></li>
|
216
|
+
<li><a href="http://translink.com.au/about-translink/what-we-do/ticket-and-fare-integration">Ticket and fare integration</a></li>
|
217
|
+
<li><a href="http://translink.com.au/about-translink/what-we-do/customer-research">Customer research</a></li>
|
218
|
+
<li><a href="http://translink.com.au/about-translink/what-we-do/customer-service">Customer service</a></li>
|
219
|
+
<li><a href="http://translink.com.au/about-translink/what-we-do/public-transport-planning">Public transport planning</a></li>
|
220
|
+
<li><a href="http://translink.com.au/about-translink/what-we-do/infrastructure-projects">Infrastructure projects</a></li>
|
221
|
+
<li><a href="http://translink.com.au/about-translink/what-we-do/benefits-of-public-transport">Benefit of public transport</a></li>
|
222
|
+
<li><a href="http://translink.com.au/about-translink/what-we-do/awards">Awards</a></li>
|
223
|
+
</ul>
|
224
|
+
</li>
|
225
|
+
</ul>
|
226
|
+
</div>
|
227
|
+
<div class="column">
|
228
|
+
<ul>
|
229
|
+
<li>
|
230
|
+
<a href="http://translink.com.au/about-translink/our-service-area">Our service area</a>
|
231
|
+
<ul>
|
232
|
+
<li><a href="http://translink.com.au/about-translink/our-service-area">Our service area</a></li>
|
233
|
+
</ul>
|
234
|
+
</li>
|
235
|
+
</ul>
|
236
|
+
<ul>
|
237
|
+
<li>
|
238
|
+
<a href="http://translink.com.au/about-translink/reporting-and-publications">Reporting and publications</a>
|
239
|
+
<ul>
|
240
|
+
<li><a href="http://translink.com.au/about-translink/reporting-and-publications/media-releases">Media releases</a></li>
|
241
|
+
<li><a href="http://translink.com.au/about-translink/reporting-and-publications/annual-and-quarterly-reports">Annual and quarterly reports</a></li>
|
242
|
+
<li><a href="http://translink.com.au/about-translink/reporting-and-publications/key-facts-and-figures">Key facts and figures</a></li>
|
243
|
+
<li><a href="http://translink.com.au/about-translink/reporting-and-publications/translink-network-plan">TransLink Network Plan</a></li>
|
244
|
+
<li><a href="http://translink.com.au/about-translink/reporting-and-publications/right-to-information">Right to information</a></li>
|
245
|
+
<li><a href="http://translink.com.au/about-translink/reporting-and-publications/special-event-declaration">Special event declaration</a></li>
|
246
|
+
<li><a href="http://translink.com.au/about-translink/reporting-and-publications/right-to-information/governance-policies">Governance Policies</a></li>
|
247
|
+
</ul>
|
248
|
+
</li>
|
249
|
+
</ul>
|
250
|
+
</div>
|
251
|
+
<div class="column">
|
252
|
+
<ul>
|
253
|
+
<li>
|
254
|
+
<a href="http://translink.com.au/about-translink/employment">Employment</a>
|
255
|
+
<ul>
|
256
|
+
<li><a href="https://smartjobs.qld.gov.au/jobtools/jncustomsearch.searchResults?in_organid=14904&in_multi02_id=requirements.agencynumber&in_multi02=%2215389%22" target="_blank">Jobs with TransLink</a></li>
|
257
|
+
<li><a href="http://translink.com.au/about-translink/employment/graduates">Graduates</a></li>
|
258
|
+
<li><a href="http://translink.com.au/about-translink/employment/types-of-work">Types of work</a></li>
|
259
|
+
<li><a href="http://translink.com.au/about-translink/employment/whats-it-like">What it’s like</a></li>
|
260
|
+
<li><a href="http://translink.com.au/about-translink/employment/benefits-and-opportunities">Benefits and opportunities</a></li>
|
261
|
+
</ul>
|
262
|
+
</li>
|
263
|
+
</ul>
|
264
|
+
<ul>
|
265
|
+
<li>
|
266
|
+
<a href="http://translink.com.au/about-translink/business-and-partnership-opportunities">Business and partnership opportunities</a>
|
267
|
+
<ul>
|
268
|
+
<li><a href="http://translink.com.au/about-translink/business-and-partnership-opportunities/become-a-go-card-retailer">Become a <i>go</i> card retailer</a></li>
|
269
|
+
</ul>
|
270
|
+
</li>
|
271
|
+
</ul>
|
272
|
+
</div>
|
273
|
+
</div>
|
274
|
+
</li>
|
275
|
+
</ul>
|
276
|
+
</div>
|
277
|
+
</div>
|
278
|
+
<a id="content-shortcut" tabindex="0"></a>
|
279
|
+
<div id="contentContainer">
|
280
|
+
<div id="breadcrumbs">
|
281
|
+
<span class="access">You are here:</span>
|
282
|
+
<p>
|
283
|
+
<a href="http://translink.com.au/">Home</a>
|
284
|
+
<a href="http://translink.com.au/travel-information">Travel information</a>
|
285
|
+
|
286
|
+
<a href="http://translink.com.au/travel-information/network-information">Network information</a>
|
287
|
+
<a href="/travel-information/network-information/timetables">Timetables</a>
|
288
|
+
<a href="/travel-information/network-information/buses/LOOP/2012-09-24">Route LOOP</a> 7.05am LOOP service
|
289
|
+
|
290
|
+
</p>
|
291
|
+
</div>
|
292
|
+
<div id="content-left-column">
|
293
|
+
<div id="headingBar" class="clearfix">
|
294
|
+
<h1>7.05am LOOP service</h1>
|
295
|
+
<span id="print"><a href="javascript:window.print()" class="no-border">Print</a></span>
|
296
|
+
<span id="resize_up"><a href="#">increase text size</a></span>
|
297
|
+
<span id="resize_mid"><a href="#">reset text size</a></span>
|
298
|
+
<span id="resize_down"><a href="#">decrease text size</a></span>
|
299
|
+
</div>
|
300
|
+
<div class="underline indented"> </div>
|
301
|
+
|
302
|
+
|
303
|
+
|
304
|
+
<div class="content">
|
305
|
+
<h2>
|
306
|
+
City Loop - QUT, Botanic Gdns, Eagle St, Central, George St
|
307
|
+
</h2>
|
308
|
+
<div class="column-2">
|
309
|
+
<p>This trip services stops in zone 1</p>
|
310
|
+
</div>
|
311
|
+
<div class="column-2">
|
312
|
+
<div id="trip-details-map" class="spacious-google-map">
|
313
|
+
</div>
|
314
|
+
</div>
|
315
|
+
<table class="content-table vertical" id="trip-details">
|
316
|
+
<caption class="access">All stops and times for the 7.05am LOOP service</caption>
|
317
|
+
<thead>
|
318
|
+
<tr>
|
319
|
+
<th>Time</th>
|
320
|
+
<th>Stop description</th>
|
321
|
+
</tr>
|
322
|
+
</thead>
|
323
|
+
<tbody>
|
324
|
+
<tr data-position="-27.473755,153.026742">
|
325
|
+
<td>7.05am</td>
|
326
|
+
<td><a href="/travel-information/network-information/stops-and-stations/stop/00094A">Parliament Stop 94A Margaret St</a></td>
|
327
|
+
</tr>
|
328
|
+
<tr data-position="-27.473755,153.026742">
|
329
|
+
<td>7.05am</td>
|
330
|
+
<td><a href="/travel-information/network-information/stops-and-stations/stop/00094A">Parliament Stop 94A Margaret St</a></td>
|
331
|
+
</tr>
|
332
|
+
<tr data-position="-27.472897,153.027835">
|
333
|
+
<td>7.06am</td>
|
334
|
+
<td><a href="/travel-information/network-information/stops-and-stations/stop/000097">Margaret Street Stop 97 near Albert St</a></td>
|
335
|
+
</tr>
|
336
|
+
<tr data-position="-27.471136,153.030092">
|
337
|
+
<td>7.07am</td>
|
338
|
+
<td><a href="/travel-information/network-information/stops-and-stations/stop/000098">Margaret Street Stop 98 near Edward St</a></td>
|
339
|
+
</tr>
|
340
|
+
<tr data-position="-27.468978,153.030121">
|
341
|
+
<td>7.09am</td>
|
342
|
+
<td><a href="/travel-information/network-information/stops-and-stations/stop/000155">Eagle Street Stop 155 near Charlotte St</a></td>
|
343
|
+
</tr>
|
344
|
+
<tr data-position="-27.466297,153.030171">
|
345
|
+
<td>7.10am</td>
|
346
|
+
<td><a href="/travel-information/network-information/stops-and-stations/stop/000065">Eagle St app Queen St (Stop 65)</a></td>
|
347
|
+
</tr>
|
348
|
+
<tr data-position="-27.464474,153.028976">
|
349
|
+
<td>7.13am</td>
|
350
|
+
<td><a href="/travel-information/network-information/stops-and-stations/stop/000156">Wharf Street Stop 156 near Ann St</a></td>
|
351
|
+
</tr>
|
352
|
+
<tr data-position="-27.466487,153.026001">
|
353
|
+
<td>7.15am</td>
|
354
|
+
<td><a href="/travel-information/network-information/stops-and-stations/stop/000008">Ann Street Stop 8</a></td>
|
355
|
+
</tr>
|
356
|
+
<tr data-position="-27.468817,153.022935">
|
357
|
+
<td>7.18am</td>
|
358
|
+
<td><a href="/travel-information/network-information/stops-and-stations/stop/000011">Ann Street Stop 11 at City Hall</a></td>
|
359
|
+
</tr>
|
360
|
+
<tr data-position="-27.472482,153.023857">
|
361
|
+
<td>7.18am</td>
|
362
|
+
<td><a href="/travel-information/network-information/stops-and-stations/stop/000105">William Street Stop 105 near Elizabeth St</a></td>
|
363
|
+
</tr>
|
364
|
+
<tr data-position="-27.472988,153.024363">
|
365
|
+
<td>7.21am</td>
|
366
|
+
<td><a href="/travel-information/network-information/stops-and-stations/stop/000103">William Street Stop 103 at Commissariat/Casino</a></td>
|
367
|
+
</tr>
|
368
|
+
</tbody>
|
369
|
+
</table>
|
370
|
+
</div>
|
371
|
+
|
372
|
+
|
373
|
+
</div>
|
374
|
+
<div id="content-right-column" class="clearfix">
|
375
|
+
|
376
|
+
|
377
|
+
|
378
|
+
<div class="advertisement">
|
379
|
+
<p>Advertisement</p>
|
380
|
+
<a href="http://www.queenslandrail.com.au/Safety/Pages/Levelcrossings.aspx" title="Don't gamble with your life at level crossings" target="_blank">
|
381
|
+
<img src="/travel-information/utilities/ad-content/28" style="width: 160px; height: 600px;" alt="Don't gamble with your life at level crossings" />
|
382
|
+
</a>
|
383
|
+
</div>
|
384
|
+
</div>
|
385
|
+
</div>
|
386
|
+
<a id="footer-shortcut" tabindex="0"></a>
|
387
|
+
<div id="footer">
|
388
|
+
<div id="footer-nav">
|
389
|
+
<div id="footer-travelinfo" class="footer-links leftalign">
|
390
|
+
<h2>Travel Information</h2>
|
391
|
+
<div class="underline"> </div>
|
392
|
+
<ul>
|
393
|
+
<li>
|
394
|
+
<a href="/travel-information/journey-planner" title="Plan your journey">Journey planner</a>
|
395
|
+
</li>
|
396
|
+
<li>
|
397
|
+
<a href="http://translink.com.au/travel-information/network-information" title="View information about our network">Network information</a>
|
398
|
+
</li>
|
399
|
+
<li>
|
400
|
+
<a href="http://translink.com.au/travel-information/network-information/maps" title="See our maps">
|
401
|
+
Maps
|
402
|
+
</a>
|
403
|
+
</li>
|
404
|
+
<li>
|
405
|
+
<a href="/travel-information/service-updates" title="View current status and upcoming changes">Service updates</a>
|
406
|
+
</li>
|
407
|
+
<li>
|
408
|
+
<a href="http://translink.com.au/travel-information/how-to" title="Travel information how to guides">
|
409
|
+
How to…
|
410
|
+
</a>
|
411
|
+
</li>
|
412
|
+
</ul>
|
413
|
+
<ul>
|
414
|
+
<li><a href="http://translink.com.au/travel-information" title="More travel information">
|
415
|
+
More travel information</a></li>
|
416
|
+
</ul>
|
417
|
+
</div>
|
418
|
+
<div id="footer-tickets" class="footer-links leftalign">
|
419
|
+
<h2>Tickets and fares</h2>
|
420
|
+
<div class="underline"> </div>
|
421
|
+
<ul>
|
422
|
+
<li>
|
423
|
+
<a href="http://translink.com.au/tickets-and-fares/go-card" title="View information about go card"><i>go</i> card</a>
|
424
|
+
</li>
|
425
|
+
<li>
|
426
|
+
<a href="http://translink.com.au/tickets-and-fares/other-tickets" title="View information about our other tickets and passes">Other tickets</a>
|
427
|
+
</li>
|
428
|
+
<li>
|
429
|
+
<a href="http://translink.com.au/tickets-and-fares/fares" title="View information about fares">Fares</a>
|
430
|
+
</li>
|
431
|
+
<li><a href="http://translink.com.au/tickets-and-fares/how-to" title="Ticket and fares how to guides">
|
432
|
+
How to…</a></li>
|
433
|
+
</ul>
|
434
|
+
<ul>
|
435
|
+
<li><a href="http://translink.com.au/tickets-and-fares" title="More on tickets and fares">More on tickets and fares</a></li>
|
436
|
+
</ul>
|
437
|
+
</div>
|
438
|
+
<div id="footer-about" class="leftalign">
|
439
|
+
<h2>About TransLink</h2>
|
440
|
+
<div class="underline"> </div>
|
441
|
+
<ul>
|
442
|
+
<li>
|
443
|
+
<a href="http://translink.com.au/about-translink/who-we-are" title="Find out more about who we are">Who we are</a>
|
444
|
+
</li>
|
445
|
+
<li>
|
446
|
+
<a href="http://translink.com.au/about-translink/what-we-do" title="See what we do">What we do</a>
|
447
|
+
</li>
|
448
|
+
<li>
|
449
|
+
<a href="http://translink.com.au/about-translink/what-we-do/public-transport-planning" title="See what we've got planned for the future">Our future plans</a>
|
450
|
+
</li>
|
451
|
+
<li>
|
452
|
+
<a href="http://translink.com.au/about-translink/our-service-area" title="View information about where we operate">Our service area</a>
|
453
|
+
</li>
|
454
|
+
<li>
|
455
|
+
<a href="http://translink.com.au/about-translink/reporting-and-publications" title="View our reports and publications">Reporting and publications</a>
|
456
|
+
</li>
|
457
|
+
</ul>
|
458
|
+
<ul>
|
459
|
+
<li>
|
460
|
+
<a href="http://translink.com.au/about-translink" title="More about TransLink">More about TransLink</a>
|
461
|
+
</li>
|
462
|
+
</ul>
|
463
|
+
</div>
|
464
|
+
<div id="footer-searchbox" class="rightalign">
|
465
|
+
<h2 id="cantfindheading">
|
466
|
+
Can't find what you're looking for? Try…</h2>
|
467
|
+
<form action="http://pan.search.qld.gov.au/search/search.cgi" class="searchform" id="footer-search" name="footer-search">
|
468
|
+
<fieldset>
|
469
|
+
<legend class="access">Search the TransLink website</legend>
|
470
|
+
<input type="hidden" name="num_ranks" value="10" />
|
471
|
+
<input type="hidden" name="tiers" value="off" />
|
472
|
+
<input type="hidden" name="collection" value="qld-gov" />
|
473
|
+
<input type="hidden" name="profile" value="translink" />
|
474
|
+
<p>
|
475
|
+
<label for="searchbox2" id="searchlabel2">Search site…</label>
|
476
|
+
<input type="text" name="query" id="searchbox2" value="" class="searchfield" autocomplete="off" placeholder="Search site…" /><input type="submit" value="Search" class="searchbutton" id="footersearch-button" />
|
477
|
+
</p>
|
478
|
+
</fieldset>
|
479
|
+
</form>
|
480
|
+
<ul id="footer-courtesy">
|
481
|
+
<li><a href="http://translink.com.au/utils/goto/context/mobile" title="View the website on your mobile">Mobile site</a></li>
|
482
|
+
<li><a href="http://translink.com.au/tickets-and-fares/go-card/online" title="go card"><i>go</i> card login</a></li>
|
483
|
+
<li><a href="http://translink.com.au/site-information/site-map" title="An overview of the entire TransLink website">Site map</a></li>
|
484
|
+
<li class="last"><a href="http://translink.com.au/site-information/contact-us-and-help" title="Call us on 13 12 30, e-mail us, see us in person, follow us on Twitter, or send us a letter.">Contact us & help</a></li>
|
485
|
+
</ul>
|
486
|
+
</div>
|
487
|
+
</div>
|
488
|
+
<div id="footer-languages" class="text-shadow-dark">
|
489
|
+
<h2>Information in your language</h2>
|
490
|
+
<ul id="section-other-languages" class="clearfix">
|
491
|
+
<li class="first"><a href="http://translink.com.au/site-information/languages/arabic" title="Arabic"><span dir="rtl">العربية</span></a></li>
|
492
|
+
<li><a href="http://translink.com.au/site-information/languages/chinese" title="Chinese">简体中文</a></li>
|
493
|
+
<li><a href="http://translink.com.au/site-information/languages/french" title="French">Français</a></li>
|
494
|
+
<li><a href="http://translink.com.au/site-information/languages/german" title="German">Deutsch</a></li>
|
495
|
+
<li><a href="http://translink.com.au/site-information/languages/greek" title="Greek">ελληνικά</a></li>
|
496
|
+
<li><a href="http://translink.com.au/site-information/languages/italian" title="Italian">Italiano</a></li>
|
497
|
+
<li><a href="http://translink.com.au/site-information/languages/japanese" title="Japanese">日本語</a></li>
|
498
|
+
<li><a href="http://translink.com.au/site-information/languages/korean" title="Korean">한국어</a></li>
|
499
|
+
<li><a href="http://translink.com.au/site-information/languages/serbian" title="Serbian">Српски</a></li>
|
500
|
+
<li><a href="http://translink.com.au/site-information/languages/spanish" title="Spanish">Español</a></li>
|
501
|
+
<li><a href="http://translink.com.au/site-information/languages/vietnamese" title="Vietnamese">Việt Ngữ</a></li>
|
502
|
+
</ul>
|
503
|
+
</div>
|
504
|
+
<div id="footer-end">
|
505
|
+
<ul id="section-footer-links">
|
506
|
+
<li><a href="http://translink.com.au/site-information/legal/copyright" title="Copyright">Copyright</a></li>
|
507
|
+
<li><a href="http://translink.com.au/site-information/legal/disclaimer" title="Disclaimer">Disclaimer</a></li>
|
508
|
+
<li><a href="http://translink.com.au/site-information/legal/privacy" title="Privacy">Privacy</a></li>
|
509
|
+
<li><a href="http://translink.com.au/about-translink/reporting-and-publications/right-to-information" title="Right to information">Right to information</a></li>
|
510
|
+
<li class="last"><a href="http://translink.com.au/site-information/contact-us-and-help/website-help" title="Website help">Website help</a></li>
|
511
|
+
</ul>
|
512
|
+
<p>© TransLink Transit Authority 2012 <span style="color: #999;">v2.2.3.40</span></p>
|
513
|
+
</div>
|
514
|
+
</div>
|
515
|
+
</div>
|
516
|
+
</div>
|
517
|
+
</div>
|
518
|
+
|
519
|
+
<script type="text/javascript">
|
520
|
+
var tripMap = null;
|
521
|
+
var stopInformation = [];
|
522
|
+
function initMap() {
|
523
|
+
SetUpMapping();
|
524
|
+
tripMap = new google.maps.Map($("#trip-details-map")[0], window.DefaultMapOptions);
|
525
|
+
var tripLine = new google.maps.Polyline({ path: [new google.maps.LatLng(-27.4737999244711, 153.026782462767), new google.maps.LatLng(-27.4729691395081, 153.027855171819), new google.maps.LatLng(-27.4729420515048, 153.027875408585), new google.maps.LatLng(-27.4726892006875, 153.028209363238), new google.maps.LatLng(-27.4713797923717, 153.029889223102), new google.maps.LatLng(-27.4711901523199, 153.030132091033), new google.maps.LatLng(-27.4711269388742, 153.030213046825), new google.maps.LatLng(-27.4708921450262, 153.030516630844), new google.maps.LatLng(-27.4701339539837, 153.029777550129), new google.maps.LatLng(-27.4698811028898, 153.03009124896), new google.maps.LatLng(-27.4697546803709, 153.030232915592), new google.maps.LatLng(-27.4697095294359, 153.03028351074), new google.maps.LatLng(-27.4695921633835, 153.030293600142), new google.maps.LatLng(-27.4694477199639, 153.030273317708), new google.maps.LatLng(-27.4689692541109, 153.030192215563), new google.maps.LatLng(-27.4685178721474, 153.030111121482), new google.maps.LatLng(-27.4681929341273, 153.029787149809), new google.maps.LatLng(-27.4677867647877, 153.029361945256), new google.maps.LatLng(-27.4675700286698, 153.02966552677), new google.maps.LatLng(-27.4674887551575, 153.029766717919), new google.maps.LatLng(-27.467398451409, 153.029878027767), new google.maps.LatLng(-27.4672449538071, 153.029979199062), new google.maps.LatLng(-27.466450442395, 153.030201650412), new google.maps.LatLng(-27.46631501372, 153.030242098234), new google.maps.LatLng(-27.4658726156352, 153.030363431212), new google.maps.LatLng(-27.4657191507643, 153.030312783514), new google.maps.LatLng(-27.4653220065283, 153.029907831158), new google.maps.LatLng(-27.4649338805063, 153.029543368335), new google.maps.LatLng(-27.4644374492764, 153.029027064366), new google.maps.LatLng(-27.4641937437918, 153.028784096772), new google.maps.LatLng(-27.4648439203291, 153.027994823806), new google.maps.LatLng(-27.4650335568211, 153.027751966114), new google.maps.LatLng(-27.4655211881708, 153.027144821563), new google.maps.LatLng(-27.465575371889, 153.027063865906), new google.maps.LatLng(-27.466153305068, 153.026325161722), new google.maps.LatLng(-27.4664422711158, 153.025950746142), new google.maps.LatLng(-27.4668215364701, 153.025465015922), new google.maps.LatLng(-27.4681399392509, 153.023673839874), new google.maps.LatLng(-27.4681941192199, 153.023603001961), new google.maps.LatLng(-27.4687720288699, 153.022894626487), new google.maps.LatLng(-27.4694402340628, 153.022064804071), new google.maps.LatLng(-27.4701265025533, 153.021154002851), new google.maps.LatLng(-27.4708576490461, 153.02193350558), new google.maps.LatLng(-27.4714624157491, 153.022611776146), new google.maps.LatLng(-27.4714985227634, 153.022642148488), new google.maps.LatLng(-27.4715707367715, 153.022702893232), new google.maps.LatLng(-27.4716790361369, 153.022925592254), new google.maps.LatLng(-27.4717783239429, 153.023047072998), new google.maps.LatLng(-27.4723018573327, 153.023583633651), new google.maps.LatLng(-27.4725275190879, 153.023806360225), new google.maps.LatLng(-27.4727983099137, 153.024089828152), new google.maps.LatLng(-27.4730239690751, 153.024322678551), new google.maps.LatLng(-27.473186444422, 153.024484663212), new google.maps.LatLng(-27.474414035106, 153.025679321563), new google.maps.LatLng(-27.4745494323987, 153.025800816186), new google.maps.LatLng(-27.4740076184442, 153.026519343933), new google.maps.LatLng(-27.4737999244711, 153.026782462767)], clickable: false, strokeColor: "#002f5f", strokeOpacity: 0.8, strokeWeight: 6, map: tripMap });
|
526
|
+
|
527
|
+
var stopMarkers = [];
|
528
|
+
stopInformation.push({ id: "00094A", desc: "Parliament Stop 94A Margaret St", zone: "1", location: "Margaret Street, City between George Street and Beatrice Lane, approximately 35m from George Street", routes: "", pos: new google.maps.LatLng(-27.473755,153.026742), type: "Bus", icon: busStopMarkerImage });
|
529
|
+
stopInformation.push({ id: "00094A", desc: "Parliament Stop 94A Margaret St", zone: "1", location: "Margaret Street, City between George Street and Beatrice Lane, approximately 35m from George Street", routes: "", pos: new google.maps.LatLng(-27.473755,153.026742), type: "Bus", icon: busStopMarkerImage });
|
530
|
+
stopInformation.push({ id: "000097", desc: "Margaret Street Stop 97 near Albert St", zone: "1", location: "Margaret Street, City between Beatrice Lane and Albert Street, approximately 4m from Beatrice Lane", routes: "", pos: new google.maps.LatLng(-27.472897,153.027835), type: "Bus", icon: busStopMarkerImage });
|
531
|
+
stopInformation.push({ id: "000098", desc: "Margaret Street Stop 98 near Edward St", zone: "1", location: "Margaret Street, City between Edward Street and Road, approximately 10m from Road", routes: "", pos: new google.maps.LatLng(-27.471136,153.030092), type: "Bus", icon: busStopMarkerImage });
|
532
|
+
stopInformation.push({ id: "000155", desc: "Eagle Street Stop 155 near Charlotte St", zone: "1", location: "Eagle Street, City approximately 50m from Charlotte", routes: "", pos: new google.maps.LatLng(-27.468978,153.030121), type: "Bus", icon: busStopMarkerImage });
|
533
|
+
stopInformation.push({ id: "000065", desc: "Eagle St app Queen St (Stop 65)", zone: "1", location: "Eagle Street, City between Eagle Street and Wharf Street, approximately 15m from Eagle Street", routes: "", pos: new google.maps.LatLng(-27.466297,153.030171), type: "Bus", icon: busStopMarkerImage });
|
534
|
+
stopInformation.push({ id: "000156", desc: "Wharf Street Stop 156 near Ann St", zone: "1", location: "Wharf Street, City between Adelaide Street and Wickham Terrace, approximately 35m from Wickham Terrace", routes: "", pos: new google.maps.LatLng(-27.464474,153.028976), type: "Bus", icon: busStopMarkerImage });
|
535
|
+
stopInformation.push({ id: "000008", desc: "Ann Street Stop 8", zone: "1", location: "Ann Street, City", routes: "", pos: new google.maps.LatLng(-27.466487,153.026001), type: "Bus", icon: busStopMarkerImage });
|
536
|
+
stopInformation.push({ id: "000011", desc: "Ann Street Stop 11 at City Hall", zone: "1", location: "Ann Street, City between Pacific Motorway and Roma Street, approximately 96m from Roma Street", routes: "", pos: new google.maps.LatLng(-27.468817,153.022935), type: "Bus", icon: busStopMarkerImage });
|
537
|
+
stopInformation.push({ id: "000105", desc: "William Street Stop 105 near Elizabeth St", zone: "1", location: "William Street, City approximately 33m from Elizabeth Street", routes: "", pos: new google.maps.LatLng(-27.472482,153.023857), type: "Bus", icon: busStopMarkerImage });
|
538
|
+
stopInformation.push({ id: "000103", desc: "William Street Stop 103 at Commissariat/Casino", zone: "1", location: "William Street, City", routes: "", pos: new google.maps.LatLng(-27.472988,153.024363), type: "Bus", icon: busStopMarkerImage });
|
539
|
+
|
540
|
+
for(var i=0; i<stopInformation.length; i++) {
|
541
|
+
stopMarkers.push(new google.maps.Marker({
|
542
|
+
position: stopInformation[i].pos,
|
543
|
+
icon: stopInformation[i].icon,
|
544
|
+
shadow: stopMarkerShadowImage,
|
545
|
+
map: tripMap,
|
546
|
+
title: stopInformation[i].desc,
|
547
|
+
id: i
|
548
|
+
}));
|
549
|
+
google.maps.event.addListener(stopMarkers[i], 'click', function() {
|
550
|
+
addStopInformation({
|
551
|
+
map: tripMap,
|
552
|
+
lat: this.getPosition().lat(),
|
553
|
+
lng: this.getPosition().lng(),
|
554
|
+
stop: stopInformation[this.id]
|
555
|
+
});
|
556
|
+
});
|
557
|
+
}
|
558
|
+
tripMap.fitBounds(new google.maps.LatLngBounds(new google.maps.LatLng(-27.4737547923329, 153.022935121463), new google.maps.LatLng(-27.4644735717926, 153.030171245036)));
|
559
|
+
};
|
560
|
+
$(document).ready(function() {
|
561
|
+
$("#trip-details thead tr:first").append("<th class=\"no-print\">Show on map</th>");
|
562
|
+
$("#trip-details tbody tr").each(function() {
|
563
|
+
var stopName = $("td:last", this).text();
|
564
|
+
$(this).append("<td class=\"no-print centered\"></td>");
|
565
|
+
$("td:last", this).append($("<a href=\"#\" class=\"zoom no-border map-link-top\" title=\"Zoom to " + stopName + " on the map\">Zoom to stop on map</a>"))
|
566
|
+
});
|
567
|
+
$(".zoom").click(function(ev) {
|
568
|
+
ev.preventDefault();
|
569
|
+
tripMap.panTo(eval("new google.maps.LatLng(" + $(this).parents("tr").data().position + ")"));
|
570
|
+
tripMap.setZoom(16);
|
571
|
+
});
|
572
|
+
});
|
573
|
+
</script>
|
574
|
+
<script type="text/javascript" src="/utilities/javascript/mapping-v2.2.3.40"></script>
|
575
|
+
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false&region=AU&callback=initMap&client=gme-translinktransit&signature=9eT5AStkAuPXp_ArcJhFkgzW7ik=" async="async"></script>
|
576
|
+
|
577
|
+
<script type="text/javascript">
|
578
|
+
var _gaq = _gaq || [];
|
579
|
+
_gaq.push(['_setAccount', 'UA-18464408-1']);
|
580
|
+
_gaq.push(['_setDomainName', '.translink.com.au']);
|
581
|
+
_gaq.push(['_trackPageview', '/travel-information/network-information/service-information/counterclockwise/9792/2171146/2012-09-24']);
|
582
|
+
(function () {
|
583
|
+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
584
|
+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
585
|
+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
586
|
+
})();
|
587
|
+
</script>
|
588
|
+
</body>
|
589
|
+
</html>
|