UMass Dartmouth Mobile Campus Map Specification Document

perchmysteriousData Management

Dec 1, 2012 (4 years and 11 months ago)

212 views


Mobile Campus Map Specifications

Page
1

of
5






UMass Dartmouth Mobile
Campus
Map

Specification Document







Mobile Campus Map Specifications

Page
2

of
5


Overview

Implement a

UMass Dartmouth campus map based on Google maps that shows the user’s current position on
campus, descriptions of buildings, parking lots, outdoor facilities, and bus routes. Map features can be activated and
deactivated by the user.



Technology

Server:

Linux, Apache, PHP, PostgreSQL

Scripting:

HTML, CSS, JavaScript/JSON/AJAX, PHP

Target platforms:

Safari on iPhone, Android browser, or any standard web browser platform that supports
location services, webtoolkit, Google maps API

http://code.google.com/api
s/maps/documentation/javascript/



Customized Map Controls

The standard Google maps controls are a subset of “traffic”, “more...”, “maps”, “satellite”, “earth”. Usually these
appear in the upper right corner of a Google map, but could be place anywhere aro
und the map. Each control can
have a HTML pop
-
up with it.

The limited screen real
-
estate on a mobile device requires careful consideration and placement of custom controls
that allow users to enable map features to their liking.

These features are:



Main ca
mpus buildings with information about the building



Resident halls



Dining locations with information about operating hours and menu offerings



Parking lots differentiating types of parking per lot (fac/staff/admin, commuter, residents, visitors, etc.)



Athlet
ics facilities



Outdoor locations/facilities



Campus satellite locations (UMass Law, Fall River PCE, CVPA Star Store, SMAST, Fairhaven, ATMC, etc.)



Jump to (i.e. center the map) on a campus satellite location



Bus routes with bus stops and current bus
position en route

The features should be associated with controls in a meaningful way that allow for enabling subsets of map
features. For example: one control for buildings and locations with a submenu of academic buildings, resident halls,
outdoor facili
ties, other; another control for parking lots with a submenu of the permit types; a control for bus
routes with a submenu for route selection and stops.



Features on the Map

Features are displayed on the map with custom icons and polylines/polygons. On a
far
-
away zoom level this will
clutter the map, but this cannot be avoided according to Google’s API documentation. Maybe there would be a way
to enable feature details based on the zoom level. The default map view is a zoom level that fits the entire main
campus on a mobile device screen. Icons need to be designed in a size matching this zoom level. While polygons are
scaled with zoom, icons are not. Polygons should be developed on a very detailed zoom level to get an accurate
match of the underlying shape
(building road, etc.).

Tapping or clicking an icon opens a bubble with additional information about the feature.





Mobile Campus Map Specifications

Page
3

of
5


User’s Position on Campus

Mobile device location services integrate with the Google Maps API. The mobile map should display the user’s
posi
tion as the standard blue dot. Additionally the map could display a notice if the user is not in the vicinity of a
campus facility
-

main campus or satellite facility


based on GPS coordinates and a distance radius to each location.



Map Content Manageme
nt

System (MapCMS)

In order
to separate the technical Google map setup and custom feature programming from the map content, a
small content management system (MapCMS) is needed. The MapCMS

allows content administrators modifying
location and building markers, icons, bus routes, etc. This MapCMS will be a standard web application used from a
“non
-
mobile” device. The MapCMS provides interfaces to collect the following data:




Building:

o

Required
:



GPS lat/long for icon position



icon from list of available icons



building name



building type: academic, resident hall, other

o

Optional
:



short description



URL to description



RSS feed source for building information



GPS lat/long polyline outlining t
he building



links to events, class schedule, etc. for the location



Dining locations:

o

Required
:



GPS lat/long for icon position



icon from list of available icons



dining location name

o

Optional
:



hours of operation



menu offerings



Parking lots:

o

Required
:



GPS lat
/long for icon position



icon from list of available icons



parking lot number or name



allowed decals



Athletic facilities (buildings and outdoor):

o

Required
:



GPS lat/long for icon position



icon from list of available icons



facility name

o

Optional
:



available
services



opening hours



URL for additional information, RSS feed source, link to events



Bus stops:

o

Required
:

Mobile Campus Map Specifications

Page
4

of
5




GPS lat/long for icon position



icon from list of available icons



association with routes that service the stop



Bus routes

o

Required
:



GPS lat/long pol
yline of route line



icon for bus marker on route (see Bus Position Tracking) from list of available icons

o

Optional
:



route description with list of stops



Alert (see Alert Overlay):

o

Required
:



Alert text


It should be determined if the T4 content management system can be used with specialized templates as MapCMS.
The T4 templates would need to be able to populate and build the JavaScript data elements for the Google campus
map. Development would be reduced
to the integration of the published T4 map support content with the Google
campus map.



Icon Design

Icons are designed with help and approval of the UMass Dartmouth Web Design and Development team.



Alert Overlay

The map customization must have an alert
overlay for emergency notifications. The overlay pulls the content from a
server
-
side PHP script in JSON format. The server
-
side PHP script interfaces to notification sources. A notification
source could be an alert message set up in the MapCMS.



Bus Posi
tion Tracking

Bus position tracking consists of three parts: a central data server, a “client” on the buses, and the Google maps
integration.




Central data server:

o

Provides registration services for buses: in service on what route

o

Accepts position posts (G
PS lat/long) from buses that are registered to be in service

o

“Predicts” position of buses that are in service but are not actively posting position (for example out
of network range) based on last known position, route, time of day, traffic volume, past tr
ip data on
route

o

Alert mechanism if a bus does not check in after an expected period of (out of network) time

o

Calculates time of arrival at next stops on route

o

Archives data for algorithm refinement (neural network, learning algorithm, etc.)

o

Polling
interface for Google campus maps to display bus
-
on
-
route position, arrival times, etc.

o

Communication built on web services with public/private key or other token to only accept
communication from valid devices. This requires a permanent client configuratio
n.



“Client” on the buses:

o

Integration with data network and vehicle power through an on
-
board network/system solution

o

Easy startup for non
-
technical driver to register bus with data server and specify the route that the
bus is on

Mobile Campus Map Specifications

Page
5

of
5


o

Fail
-
safe solution or prob
lem report if device cannot register with data server



Google maps integration:

o

If a route display is enabled in a user’s map display, the map JavaScript polls the bus position(s) for
this route.

o

If bus stops are enabled in a user’s map display, the map Jav
aScript polls calculated arrival times of
buses at a stop: all buses if no route is enabled, route
-
specific buses if a route display is enabled.



Supporting Development Documents

Additional documents that outline UMassD web development standards, UMassD l
ayout usage, etc are available to
the developers.



Resources

Google API
-

http://code.google.com/apis/maps/documentation/javascript/

Polygon Creator
-

http://www.the
-
di
-
lab.com/polygon/