|
Maxious
|
1 |
Busness Time - An ACT bus timetable webapp |
|
|
2 |
Based on the maxious-canberra-transit-feed @ http://s3-ap-southeast-1.amazonaws.com/busresources/cbrfeed.zip |
|
|
3 |
Source code for the https://github.com/maxious/ACTBus-data transit |
|
|
4 |
feed and https://github.com/maxious/ACTBus-ui this site available from github. |
|
maxious
|
5 |
Uses jQuery Mobile, PHP, PostgreSQL, OpenTripPlanner, OpenLayers, OpenStreetMap, Cloudmade Geocoder |
|
Maxious
|
6 |
and Tile Service |
|
|
7 |
|
|
Alexander Sadleir
|
8 |
Copyright 2010,2011 Alexander Sadleir |
|
|
9 |
|
|
|
10 |
Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
11 |
you may not use this file except in compliance with the License. |
|
|
12 |
You may obtain a copy of the License at |
|
|
13 |
|
|
|
14 |
http://www.apache.org/licenses/LICENSE-2.0 |
|
|
15 |
|
|
|
16 |
Unless required by applicable law or agreed to in writing, software |
|
|
17 |
distributed under the License is distributed on an "AS IS" BASIS, |
|
|
18 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
|
19 |
See the License for the specific language governing permissions and |
|
|
20 |
limitations under the License. |
|
|
21 |
|
|
maxious
|
22 |
See aws/awsStartup.sh for example startup steps. You need to load the included database dump; |
|
|
23 |
for other transit networks you can use the updatedb.php script to load. |
|
Maxious
|
24 |
|
|
maxious
|
25 |
For openstreetmap static maps, may have to do |
|
|
26 |
/usr/sbin/setsebool -P httpd_can_network_connect=1 |
|
|
27 |
on Fedora and other SELinux systems. |
|
|
28 |
|
|
|
29 |
To enter a service override, you can use the psql tool. eg. |
|
|
30 |
transitdata=# COPY calendar_dates (service_id, date, exception_type) FROM stdin; |
|
|
31 |
Enter data to be copied [spaced with tabs] followed by a newline. |
|
|
32 |
End with a backslash and a period on a line by itself. |
|
|
33 |
>> saturday 20110416 2 |
|
|
34 |
>> sunday 20110416 1 |
|
Maxious
|
35 |
>> saturday 20110423 2 |
|
|
36 |
>> sunday 20110423 1 |
|
|
37 |
>> weekday 20110425 2 |
|
|
38 |
>> sunday 20110425 1 |
|
|
39 |
>> weekday 20110422 2 |
|
|
40 |
>> noservice 20110422 1 |
|
|
41 |
>> weekday 20110426 2 |
|
|
42 |
>> noservice 20110426 1 |
|
|
43 |
>> sunday 20110424 2 |
|
|
44 |
>> noservice 20110424 1 |
|
maxious
|
45 |
>> weekday 20110613 2 |
|
|
46 |
>> sunday 20110613 1 |
|
|
47 |
>> \. |