210 likes | 383 Views
Developing an iPhone app to Help People Avoid Traffic. Ixtli-Nitzin Sanchez , Eugene Fiorini, Ph.D, André Cohen July 19th 2012. FACT : Americans now spend more than 100 hours a year commuting to work. http://blogs.seattleweekly.com/dailyweekly/2010/11/seattle_rush_hour_traffic_rank.php.
E N D
Developing an iPhone app to Help People Avoid Traffic Ixtli-Nitzin Sanchez, Eugene Fiorini, Ph.D, André Cohen July 19th 2012
FACT: Americans now spend more than 100 hours a year commuting to work. http://blogs.seattleweekly.com/dailyweekly/2010/11/seattle_rush_hour_traffic_rank.php • Source: U.S. Census Bureau's American Community Survey
Purpose • Suggest Alternative Departure Times • Now or Later? • Offer New Solutions to Avoiding traffic.
Project that unfolded: “Using New York City’s 2009 Historical Traffic Data to Develop an iPhone Routing & Ride Sharing Application.”
Specific Aim • To fuse a currently existing Routing Program with Historical Traffic Data. • Beginning with New York City
Key Components of the Project • Traffic Data • 2 files & C Program • Maps • Routing
New York City Traffic Data • Provided by: • New York State Department of Transportation • DATA files: • 1. 2009 Hourly Traffic Data, New York City • 47,643 lines of Data ! • 2. Street ID with Longitude & Latitude correlation
1. Hourly Traffic Data from 2009, New York City • Data for each street: • 24/7 at hourly intervals. • Directional • 1 = North • 3 = East • 5 = South • 7 = West
2. Street ID with Longitude & Latitude correlation • Facts about DATA: • NOT All Streets had Longitude and Latitude Codes
With the Power of Programming • In the C language : • 1. Reorganized the Data & 2. Converted the Dates -> Days
Maps • Needed a Map Provider WITHOUT: • licensing fees • contractual restrictions • Meaning = no Google Maps’ Terms of Service, under ‘Map Information’ section: "Also, you may not use Google Maps in a manner which gives you or any other person access to mass downloads or bulk feeds of numerical latitude and longitude coordinates”
Open Source geospatial data for anybody to use. • Downloaded the geographical data file of New York . SOLUTION: OpenStreetMap
Result • Using a Open Source Program Library • Successfully placed an OpenstreetMap map on a iPhone application. Uses Route-Me map library, (c) 2008-2010 Route-Me Contributors
Routing NEEDED : Preexisting Program to take care of Routing • Libosmscout • PITFALLS: • Long and Tedious build process. • Resulting in a week and half of debugging. • Advised- to find another routing program
Temporary Routing Solution • Google Map’s application programming interface (API) routing program • Serve only as a proof of concept so that we may utilize the traffic data.
Merging the Traffic Data • Work in Progress… • Averaging the traffic for the route. • Return a traffic report to the user.
Future Work • Data Visualization • iPhone extension–Ride Share
Data Visualization • Using GraphStream • Why? • Visualizing & • Understanding
II. iPhone extension –Ride Share • Opportunity to carpool with others will: • Save user’s search results & their point to point location. • Match with another user who has a “similar” travel route. • Create a group that will invite a collection of users who take the same route.
Conclusion Create an iPhone application that will provide users with the opportunity to carpool with others thus saving money and living a stress-free life without traffic. • For more info you can contact me: • Ish.sanchez12@gmail.com • 323-376-5058 (cell) • CoRE Building Room 434
Acknowledgements Special Thanks To: • Dr. Fiorini, Ph.D • André Cohen • Dr. Erenrich, Ph.D • Roselin Rosario