A python application that generates GTFS (Google Transit Feed Specification) files for Translink (N.I.) transport routes. This is a basic proof of concept that derives its data from scraping the Translink web site. The only coordinate data available is for Belfast Citybus stops and so other services such as Ulsterbus and NIRail aren’t supported at the moment.
Requirements
requests
python-geohash
svn+http://googletransitdatafeed.googlecode.com/svn/trunk/python/
Install
(Tested on linux only).
Install from pypi with easy_install:
$ easy_install gtfsni
or pip:
$ pip install gtfsni
Scripts
This this will install a number of scripts, some of which are from the googletransitdatafeed library. The gtfsni-specific scripts are:
gtfs_generate
gtfs_validate [GTFS_ZIP_FILE]
gtfs_view [GTFS_ZIP_FILE]
Running gtfs_generate will create a zipped file (google_transit.zip) in a data/dist subdirectory of the current working directory.
Release files for gtfsni 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gtfsni-0.0.4.tar.gz | 59.8 kB | Details |
Release files / gtfsni-0.0.4.tar.gz
| Download URL | gtfsni-0.0.4.tar.gz |
|---|---|
| Size | 59.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8458eee8c147e30f0d41abb624638ae56e5bb3a2a9d383e128672e335f20d89e
|
|
BLAKE2b-256 checksum How to use checksums |
4d1e63c08836f0b69e5dc0c9c3c6b96b5f7b3a472947aec06235463b52bc60c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |