Skip to content

using the carta api to visualize busses in real time in chattanooga tn

Notifications You must be signed in to change notification settings

bbrock25/cart-a-nooga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Carta Bus Three-js Project

Goals:

  • Plot current bus locations on google maps in real time
  • Plot the routes that each bus takes over the map
  • Plot the bus stops that are on each line
  • Click on bus to see bus's stats: speed, id, etc
  • Single page application using the following tools:
    • node server
    • express
    • three.js
    • dat.gui.js
    • socket.io
    • bustracker api

API Calls that need to be implemented: /bustime/api/v1

  • /gettime: args: none return: current system time

  • /getvehicles: args: vid - comma delimited list of vehicle IDs rt - comma delimited list of rt IDs return: vid, tmstmp, lat, lon, hdg, pid, pidlist, des, dly

  • /getroutes: args: none return: rt, rtnm

  • /getdirections args: rt return: dir (EastBound, WestBound, etc.)

  • /getstops args: rt, dir return: stopid, stopnm, lat, lon

  • /getpatterns args: pid -or- rt response: tldr comments: Use the getpatterns request to retrieve the set of geo-positional points and stops that when connected can be used to construct the geo-positional layout of a pattern (ie. route variation).

  • /getpredictions

  • /getservicebulletins

About

using the carta api to visualize busses in real time in chattanooga tn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published