|
|
1 |
=== Introduction === |
|
|
2 |
|
|
|
3 |
This distribution contains everything required to build a basic google transit |
|
maxious
|
4 |
feed for Halifax Metro Transit, Nova Scotia, Canada. Note that it is woefully |
|
|
5 |
incomplete at the moment. |
|
|
6 |
|
|
|
7 |
Requirements: GNU Make, Perl, Python 2.5. |
|
|
8 |
|
|
|
9 |
=== Usage === |
|
|
10 |
|
|
|
11 |
First, grab a copy of google transit feed tools: |
|
|
12 |
|
|
|
13 |
cd $HOME/src |
|
|
14 |
wget http://googletransitdatafeed.googlecode.com/files/transitfeed-1.1.7.tar.gz |
|
|
15 |
tar zxvf transitfeed-1.1.7.tar.gz |
|
|
16 |
|
|
|
17 |
Set PYTHONPATH to the python directory in the above checkout: |
|
|
18 |
|
|
|
19 |
export PYTHONPATH=$HOME/src/transitfeed-1.1.7/python |
|
|
20 |
|
|
|
21 |
Then just type "make" to build the feed. The output at the end is "feed.zip". |
|
|
22 |
For fun, you can view this feed using the snazzy transit feed view application: |
|
|
23 |
|
|
|
24 |
$HOME/src/transitfeed-1.1.7/python/schedule_viewer.py --feed=hfxfeed.zip |
|
|
25 |
|
|
|
26 |
=== Copyright === |
|
|
27 |
|
|
|
28 |
With the exception of createfeed.py, which is licensed under the Apache Public |
|
|
29 |
License, please consider all software tools in distribution to be in the public |
|
|
30 |
domain. Use them for what you will. |
|
|
31 |
|
|
|
32 |
I believe the Metro Transit route data is considered factual information |
|
|
33 |
which can not be copyrighted. Note, however, that Metro Transit and/or |
|
|
34 |
the city of Halifax may have claim over its own name and other trademarks. |
|
|
35 |
|