Creates GTFS file with JR Hokkaido and South Hokkaido Railway data. Hokkaido Shinkansen schedules are omitted.
Python3 (version 3.6 or later) is required with 5 additional libraries:
All python requirements can be installed with pip3 install -U -r requirements.txt
.
python3 hokkaidorail.py
. After a while the GTFS file, hokkaidorail.zip, will be ready.
In general, the produced feed follows the GTFS-JP standard, with 2 exceptions:
- Routes aren't splitted by direction,
- Fare information is omitted.
Direction ID: 0 means "down" (下り), 1 means "up" (上り).
Route colors are based on https://www.jrhokkaido.co.jp/global/pdf/e-route_map.pdf.
HokkaidoRailGTFS is reeleeased under the MIT License.
For full text see the license.md
file.