Skip to content
/ maps Public

Map of Providence area with real-time traffic and optimized routes

Notifications You must be signed in to change notification settings

sanghaya/maps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maps

  • Which partner’s Stars, Autocomplete, and Bacon were used (Remember that each partner must supply at least one of the three)

We used Autocomplete from Sang Ha's (sp86), Stars and Bacon from Jaehyun's (jjeon5).

  • Known bugs

-Design details specific to your code, including how you fit each of the prior project’s codebases together

  • How to run your tests

For TA tests, ./tests/cs32-test ./tests/ta/.test For student tests, ./tests/cs32-test ./tests/student/.test Rest are standard JUnit tests that can be run with mvn package.

Inside our traffic server code, we request to traffic server every ONESECOND and we do this by using the thread.sleep command on a separate thread. therefore when running system tests it may take an additional second after fully outputting the results because we safely terminate this separately running thread

  • Any tests you wrote and tried by hand
  • How to build/run your program from the command line
  1. Traffic Server run on port 8080. our database is maps.sqlite3 (locally we had it on ./data/maps/maps.sqlite3)

  2. terminal ./run, then set database (ex: map data/maps/maps.sqlite3), then run 5 commands ways (ex: ways 42.0 -71.0 43.0 -72.0) nearest (ex: nearest 42.0 -71.0) route (ex: route 42.0 -71.0 43.0 -72.0) route "Street 1" "Cross-street 1" "Street 2" "Cross-street 2" suggest (ex: suggest Broadw)

  3. GUI ./run --gui, go to localhost:4567/maps, wait for the page to load (it takes about 30 secs - 1 min depending on computer) *** please wait until it loads without refreshing

-What browser you used to test your GUI (we prefer Chrome, but we'll accept other common web browsers) We tested our GUI on chrome.

-Checkstyle In Main.java line 120,

About

Map of Providence area with real-time traffic and optimized routes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published