Skip to content
Plutoren edited this page Apr 9, 2019 · 11 revisions

Shuttle Tracker has a very dynamic way for administrators to create instances of routes, stops, and vehicles for their application. By navigating to the Shuttle Tracker admin page for example localhost:8080/admin or shuttles.rpi.edu/admin, you will be able to edit the application’s routes stops and vehicles.

Index

Authentication

Routes

Stops

Vehicles

Messages

Authentication

Shuttle Tracker currently uses RPI’s student information system (SIS) to verify administrators. An administrator’s RCS ID (RPI Student ID) must first be added to the application on the backend before they are able to login to the admin page. If a user’s RCS ID is listed as an admin and the user logs in through SIS with a valid admin ID, then they will be able to access the admin panel. Shuttle Tracker does not store any user passwords in this way. For more details on how to add administrators to your application see the Setup Guide.

Routes

Through the admin panel admins can create new routes by clicking on the map where the route goes. Route Creation

A route also needs the following details:

Name:

The Name of the route.

Description:

A short description of the route.

Color:

A hex triplet color code which will be the color of the line when the route is active.

Enabled:

If this route is enabled currently.

Width:

The number of pixels wide a route is on the map.

Route Details

A route can also be copied from an existing Shuttle Tracker route by pasting its Json format into the text-field at the bottom of the routes creation page. Once a route is submitted it can be seen on the Shuttle Tracker home page. Existing routes can be deleted from the routes admin panel as well.

Schedules

Once a route is created it can be seen at the top of the routes page and its schedule can be edited.

Stops

A stop is a location where a shuttle will stop along its route to let people off and on.

Stop Creation

Stops can be added from the admin panel simply by clicking on the map where the stop should be located. A stop also has a name and description to help people identify it.

Once a stop is submitted, it still needs to be edited further before it is active. The stops will be listed at the top of the stops panel and can be updated to include which route they are for and if they are currently enabled.

Once enabled a stop will appear on the shuttle tracker home page.

Vehicles

RPI's shuttle's are equipped with iTrak GPS trackers that allow the Shuttle Tracker app to track specific vehicles in live time.

Each shuttle has an ID that corresponds with its GPS tracker. The current list of vehicles from the live version of shuttle tracker can be found here. From here you can find the current shuttles and their tracking IDs.

You can add new vehicles from the Vehicles panel. A vehicle requires a tracker ID, name, and if the vehicle is enabled or not. Once added the application will request information on the tracker ID you provided and the vehicle will then appear on the map if the data it is available.

Messages

The Messages panel allows admins to create a notification that will appear directly on the home page. For example this notification can be used to inform users of an outage, or a temporary route change due to weather.

The message can be edited from the Messages panel. All that is needed is a message and if the message should be enabled or not.

Example Notification

Clone this wiki locally