Bootstrapped web app delivers NYC transit options

 

Connecting state and local government leaders

Using open source technology, in-house development expertise and a scalable cloud architecture, the New York City Transportation Department created iRideNYC, a much-needed mobile transit solution at a fraction of the estimated cost.

With an annual subway ridership of 1.7 billion in 2013 and the 11th largest bus fleet in North America, New York City’s transportation system is one of the world’s largest. Even in this public transit-friendly city though,  10 percent of the city’s residents and visitors are lost at any given time, according to the city’s Transportation Department.

Project at a glance

Project: iRideNYC

Office: New York City Department of Transportation, IT & Telecom

Technology used: Responsive HTML 5 code base; Esri and Mapbox products in addition to the Entity Framework 5.0 object-relational mapper and an open source stack; Python 2.7 to process transit data in real-time and SQLITE, an open source relational database management system; Amazon Web Services Elastic Compute Cloud (EC2) for hosting.

Time To Implementation: 6 months

Before: Residents of and visitors to New York City had to navigate one of the world’s largest transit systems by walking into a subway station to get arrival times or using information sources that lacked additional transit options.

After: IRideNYC, a location-based web app, finds users in seconds and automatically provides transit options in addition to information on nearby sights and events.

To help them find their way, NYCDOT developed the first web app with actual, not scheduled, transit information. That means users can use iRideNYC, built on HTLM 5, to see real timetables using data streams from New York state’s Metropolitan Transportation Authority (MTA), New York City’s CitiBike vendor, user geographical data and “online urban guide” Yelp.com.

“It recreates the experience of a local app, but you always have up-to-the minute information,” said Cordell Schachter, chief technology officer at NYCDOT.

Within seconds, iRideNYC finds users on the map and offers transit options. Before, New Yorkers had to go into subway stations to check times or use information sources that lacked additional transit options.

iRideNYC consolidates data on the Big Apple’s 6,000 of miles of road, 12,750 miles of sidewalks, 6,000-bike sharing program and robust car-for-hire to make it useful. It can take into account roads affected by construction or maintenance, for example, and lead users to more efficient routes.

Additionally, iRideNYC can suggest nearby sights, CitiBike station locations and real-time bike availability as well as upcoming events within walking distance by time. The latter was part of the development team’s goal to promote neighborhood exploration through the app.

The team built the app in 450 hours over six months at a cost of $50,000, well under the contractor estimate of $2 million. It worked with the same mobile development platform NYCDOT used to document damage from Hurricane Sandy in 2012. For interactive maps, it uses Esri and Mapbox products in addition to the Entity Framework 5.0 object-relational mapper and an open source stack that includes QGIS geographic information system code and Mapbox’s TileMill.

To process data in real time, the department uses Python 2.7 programming language and SQLITE, an open source relational database management system.

P’arry Drew, GIS developer at NYCDOT, said the MTA provides a series of files that get updated whenever the it provides a live feed, which is about every 30 seconds. The data stream must include GIS information so it can be plotted on a map. “We’re able to take that using a Python script and fold it into our database here, and then we’re able to make that into a web service,” he said.

The whole system is hosted on Amazon Web Services Elastic Compute Cloud, Elastic Load Balancing, Auto Scaling and CloudWatch.

One challenge Schachter and his team encountered was fitting everything on a smart phone screen. Their solution was a mobile first strategy that also incorporated responsive web design, which means that phones, tablets and desktop computers access the same HTML 5 code base that formats a map optimized to the size of the screen in use. iRideNYC works on most Internet browsers: Chrome, Safari, Firefox and Internet Explorer.

“Mobile devices are really the true personal computer in that we have them on our person, we take them with us,” Schachter said. “It was very important that it work for mobility. Really, we had the vision before we had the technology.”

Chandrima Pal, a senior GIS developer at Esri who consulted on iRideNYC, attributes part of the app’s accomplishments to collaboration among people who hadn’t worked together before.

Faced with a procurement process that required the project to be completely scoped out (to ensure transparent and fair bidding), the team used free, open source technology, as well as in-house development expertise and a scalable cloud architecture.

Additionally, NYCDOT delivered a highly repeatable mobile development platform and technology stack that can, and has already been, leveraged to develop numerous other innovative solutions.

A new iteration of the app is due out this fall. It will offer improved menus so that users can get all the information they need with two clicks. The first click will be for mode of transportation – bus or train – and then another to see the schedule.

X
This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
Accept Cookies
X
Cookie Preferences Cookie List

Do Not Sell My Personal Information

When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

Allow All Cookies

Manage Consent Preferences

Strictly Necessary Cookies - Always Active

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data, Targeting & Social Media Cookies

Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

Save Settings
Cookie Preferences Cookie List

Cookie List

A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Functional Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Performance Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Social Media Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Targeting Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.