Skip to content

Interactive transit map created for Jersey City during the #hackforchange hackathon 2014

License

Notifications You must be signed in to change notification settings

CodeForJerseyCity/interactive-transit-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This project aims to create an interactive transit map of Jersey City public transportation from GTFS data. Markers denoting transit vehicles are animated along route lines according to their GTFS schedules.

The project was started during the #hackforchange hackathon 2014.

The code is essentially a clone of https://github.com/vasile/transit-map, plus GTFS data.

Status

Currently, the map shows MTA Metro North data. Yes, NYC instead of JC. This is because we had the following problems with JC GTFS data.

  1. a required GTFS file, calendar.txt, is missing

    • this file tells us what days of week and during which date window each service is active
  2. some timestamps in stop_times.txt don't make sense, e.g., 27:26:00

  3. route_short_names in routes.txt are all empty strings; they should contain the same info as displayed on train terminals, or some other short identifier

  4. we could also filter the data to display only trains that stop in JC

  1. we could not get started with this during the hackathon due to the sheer size of the GTFS export (224 MB), but we should try again after filtering out buses that don't stop in JC

  2. a required GTFS file, calendar.txt, is missing

    • this file tells us what days of week and during which date window each service is active
  1. we used a stale GTFS export (from January 2014) since we could not find anything made available directly by NY Waterway

  2. some timestamp data in stop_times.txt contains spaces, e.g., 09:20:00 ,09:20:00

  1. no GTFS data available

Getting started

To run the current visualization locally:

  1. run a web server (e.g., Apache)

  2. configure it to serve the index.html page from the repo

To import new GTFS data:

  1. follow the readme at https://github.com/vasile/GTFS-viz (allow yourself 2-3 hours for this...)

Other Links

About

Interactive transit map created for Jersey City during the #hackforchange hackathon 2014

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published