Giter Club home page Giter Club logo

gtfs-viewer's Introduction

GTFS Transit Route Viewer

This application is a viewer to display general transit feed specification (GTFS) data in a web browser. Its intent is to act as an auditing tool for GTFS data or to be modified for implementation with a transit agency trip planning system.

GTFS Viewer Screenshot

Versions

V0.1a, Build XX, Released 2015-08-XX (COMING SOON)

Implementation

Start a local web server by running the following from the command line:

python app.py

Load the following web page to interact with the program:

http://localhost:8080/ 

Testing

This software is currently considered in ALPHA status, meaning that testing is still ongoing and all functionality has yet to be implemented. Use at your own risk.

The current version has primarily been released as proof-of-concept and is not ready for production purposes at this time.

Development and testing to date has primarily been in the Google Chrome browser. Unexpected functionality may occur with other browsers at this time.

Open-source GTFS transit data was used in the testing of this application from the following transit agencies:

Dependencies

The GTFS Viewer is built upon several third-party, open-source dependency packages to provide functionality.

Python

  • Flask >=0.10.1
  • pandas >=0.16.1
  • requests >=2.2.1

HTML/CSS/JavaScript

  • JQuery >=1.11.2
  • Bootstrap >=3.3.4
  • Moment >=2.10.3
  • Bootstrap-DateTimePicker >=4.14.30
  • Spin >=2.3.1
  • Google Maps API >=3.21

Current Features

The GTFS Viewer presently features the following functionality:

  • Select GTFS files from preloaded, unzipped dropdown. Folder structure uses './[UUID]/[Timestamp]/' structure to contain unzipped GTFS files.
  • Select from routes loaded on-the-fly from GTFS files.
  • Specify date/time of trip desired.
  • API based on agency, route, and date/time request will fetch route polylines and dynamically display on map using Google Maps API.
  • Zoom in to see stop level detail and stop locations.

Future Development

Ongoing development of this repository may include the following potential features:

  • Pull GTFS data directly from www.gtfs-data-exchange.com
  • Upload functionality for zipped GTFS files.
  • Inter-relation with other stops and routes.

Project Inspiration

Why did I create this project? Honestly, similar applications have been created for transit agencies, so this really is nothing new.

This project was created so that I could further develop my skills in the following areas:

  • Using the Flask Python framework for API backend development.
  • Working with the GTFS protocol for transit planning and routing.
  • Gain more experience using the Pandas Python package for data analysis.

Contact

For questions or information about this repository, please contact:

[email protected]

License

This code is released under the MIT License

https://github.com/jonkostyniuk/gtfs-viewer/blob/master/LICENSE

Copyright (c) 2015 Jon Kostyniuk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.