Walk or Wait

Maximize Walking, Minimize Waiting

Enhance your daily commute with a healthier twist! Walk or Wait helps you find the optimal bus stop to walk to on your chosen NYC MTA bus route. Increase your step count without adding extra time to your journey. By combining real-time bus data with personalized walking times, we make your commute more active and enjoyable.
How to Use the Website
  1. Grant Location Access:

    Upon visiting the website, you'll be prompted to allow access to your GPS location. This enables the app to find nearby bus routes and stops.

  2. Select a Bus Route:

    You'll see a list of bus routes that serve your current location. Tap on the route you're planning to take.

  3. Set Your Preferences:
    • Walking Speed: Choose your walking speed: Slow, Normal, or Fast.
    • Minutes to Arrive Before Bus: Select how many minutes before the bus arrives you want to reach the stop (options range from 0 to 4 minutes).
    • Direction: Pick the direction of travel based on the route's inbound and outbound options.
  4. View Recommended Bus Stops:

    The app will display a list of bus stops you can walk to without missing your bus. Each stop includes:

    • Stop Name: Clickable link to view the location on a map.
    • User Arrival Time: When you'll arrive at the stop.
    • Bus Arrival Time: When the bus is expected to arrive at the stop.
  5. Navigate to the Bus Stop:

    Use the provided map links to navigate to your chosen bus stop.

  6. Refresh or Reset:
    • Refresh: After 30 seconds, you can refresh the results to get updated recommendations based on your current location.
    • Reset: Start over to select a different route or update your preferences.
Frequently Asked Questions
Do I need to enable GPS location services to use Walk or Wait?
A: Yes, enabling GPS location services is essential for the app to function properly. It uses your current location to find nearby bus routes and calculate walking times to bus stops.
What if no bus stops are recommended?
A: If the app doesn't display any bus stops, it means there are currently no buses en route that you can catch from nearby stops based on your preferences. You may try adjusting your walking speed, buffer time, or check back shortly.

This website ignores buses that are scheduled for a stop but not actively on the way. Unfortunately that makes stops near the start of a route less likely to have a bus on the way at that moment.

How does Walk or Wait calculate walking times?
A: The app uses the Open Street Routing Machine (OSRM) API to calculate walking times and distances from your location to various bus stops. It then adjusts these times based on your selected walking speed.
Is the bus arrival time accurate?
A: Bus arrival times are based on real-time data from the NYC MTA Bus Time API. While the app provides estimated arrival times, unforeseen circumstances like traffic can affect actual bus arrivals.
Can I use Walk or Wait without selecting a preferred buffer time before the bus arrives?
A: Yes, you can select a buffer time of 0 minutes if you prefer to arrive at the stop just before the bus is expected to arrive.
How often is the bus and walking data updated?
A: Bus data is fetched in real-time every time you perform a search or refresh the results. Walking times are recalculated based on your current location each time you use the app.
Does Walk or Wait work for all NYC bus routes?
A: Walk or Wait supports all NYC MTA bus routes that provide real-time data through the MTA Bus Time API.
Can I use Walk or Wait on any device?
A: The app is optimized for mobile devices but can be accessed from any device with a web browser.
Is there a cost to use Walk or Wait?
A: No, Walk or Wait is completely free to use.
How does Walk or Wait handle my personal data?
A: The app only uses your location to provide the service and does not store or share your personal data.
Privacy Policy

Your privacy is important to us. This policy outlines how we handle and protect your information when you use our website.

Information We Collect

We do not collect any personal information from users. The only data we store is basic server logs for traffic statistics.

Server Logs

Our server automatically records certain information, such as your IP address, browser type, and the pages you visit on our website. This data is used solely for monitoring traffic and improving our service. We do not use this data to identify or track individual users.

Third-Party Services

We do not share any information with third parties, nor do we use any external services that collect user data.

Changes to This Policy

We may update this Privacy Policy from time to time. Any changes will be posted on this page, and we encourage you to review it periodically.

Contact Us

If you have any questions or concerns about this Privacy Policy, please contact us at eric@wikman.com.

About Walk or Wait

Walk or Wait was created as an entry to the MTA Open Data Challenge of October 2024 by Eric Wikman.

The idea for this app came from a personal routine. I often tried to get more steps in during my commute by walking to a further bus stop instead of waiting at the closest one. However, this simple goal turned out to be a challenge because I had to use two different apps and constantly switch between them to check walking routes and bus times.

Things got even trickier when I had the option of taking two different bus routes to my destination. As a result, I ended up missing the bus about 20% of the time because I couldn't get the timing right, and the bus would drive past me while I was still walking.

Walk or Wait solves this problem by combining real-time bus data with walking distance calculations. It helps you plan your steps efficiently so you can walk more and still catch your bus on time and is quick and easy to switch bus routes.

I can be contacted at eric@wikman.com

MTA Open Data Challenge

Walk or Wait is a mobile-friendly web application designed to enhance the commuting experience for users of the NYC MTA Bus Service. By integrating real-time data from the MTA Bus Time API, the app helps users decide which bus stop to walk to in order to increase their step count without extending their total commute time.

Key Features:

  • Personalized Bus Stop Recommendations:

    Determines the closest bus stop for the selected route and direction based on the user's current GPS location. Calculates walking times to the nearest and subsequent bus stops, factoring in the user's walking speed (Slow, Normal, Fast). Identifies the furthest stop the user can reach in time to catch the same bus, considering a preferred buffer time before the bus arrives (0–4 minutes).

  • Real-Time Data Integration:

    Utilizes the MTA Bus Time API to fetch current bus locations and expected arrival times. Employs the OSRM API to calculate accurate walking times and distances to bus stops.

  • User-Friendly Interface:

    Features a clean, vertical layout optimized for mobile devices. Provides a simple menu of nearby bus routes, allowing users to make quick selections. Includes interactive elements like button groups for walking speed, buffer time, and direction selection.

  • Interactive Map Links:

    Offers hyperlinks for each recommended bus stop that open in a map application, aiding users in navigation.

  • Refresh and Reset Functionality:

    Allows users to refresh their results after 30 seconds to get updated recommendations based on their current location. Provides a reset option to start a new search or update permissions.

Judging Criteria Alignment:

  • Creativity:

    Walk or Wait presents a unique blend of fitness and commuting by encouraging users to walk more without delaying their travel. Transforms the routine of waiting for a bus into an opportunity for physical activity and exploration.

  • Utility:

    Delivers valuable insights by calculating optimal bus stops that align with the user's schedule and fitness goals. Proposes a practical solution for incorporating more walking into daily routines without sacrificing time efficiency.

  • Execution:

    Well-executed with a focus on simplicity and functionality, ensuring a smooth user experience. Employs vanilla JavaScript and simple.css for a responsive and clean interface. Backend efficiently handles data retrieval and processing, providing quick and accurate recommendations.

  • Transparency:

    Makes extensive use of publicly available data from the MTA Bus Time API. Clearly documents data sources and how information is used to generate recommendations. Provides users with transparent insights into bus schedules and walking times.

Conclusion: Walk or Wait enhances the NYC commuting experience by seamlessly integrating open data to provide personalized, actionable recommendations. It encourages a healthier lifestyle through increased physical activity while maintaining a focus on time efficiency.