About Nhan's MetroMinder

A live Victorian PT tracker

This site maps realtime positions of trains, trams and buses using public data distributed by Transport Victoria.

Use information on this site as a guide only. Do not rely on its accuracy. This site is not endorsed by the DTP.

Realtime data including positions, service, arrival and departure information are sourced from GTFS Realtime APIs made available by the Victorian Department of Transport and Planning and consumed by other third party software such as Google Maps. As such, the quality of the information on this site is subject to the DTP data's quality (and any upstream outages, omissions and errors). It is the same data used by the PTV app and website, but they do not use the public API layer so the PTV app may still be able to display realtime information when outages affect this and other third party apps. Vehicle positions appear to be updated in the API about once a minute.

Arrival and departure information is sourced exclusively from the PTV GTFS Realtime Trip Updates APIs and does not include static timetable data (such as from the GTFS Schedule dataset) or the PTV Timetable API. For more complete arrival and departure information, visit the PTV or other sources.

Features include:

Usage

Most interactions follow conventional patterns. The map can be interacted with using the buttons on the left or mouse/trackpad/touch gestures, and supports fullscreen, rotation, zoom, panning and returning to initial view.

The compass button's functionality differs between mouse and touch. When using a mouse, click on the compass, hold and drag to the right to rotate the map. Click and release on the button to return to the default rotation (north pointing directly up).

When using a touchscreen, the compass button has three modes which are cycled through when pressed. To return to the default rotation (north pointing directly up), press on the button until you get there.

You can zoom in and out using the plus/minus zoom buttons or by pinching on the trackpad or touchscreen. You can also zoom to a rectangle that you can specify by holding shift while you click and drag.

Use the search button to search for a stop (or also route depending on the page). When you search for a stop or click on the stop marker, there are buttons to Set, Add and Filter. These change which routes are displayed on the map. Consider examples with an initial state of the Cranbourne and Frankston lines visible and hitting a button on Huntingdale station (which is serviced by the Cranbourne and Pakenham lines).

This can be useful if you want to see trains running between two stations. Suppose that I need to take a single train from Caulfield station to Parliament station. To view relevant trains, I can first Set lines on Caulfield station then Filter lines on Parliament station (removing the Frankston line).

Alternatively, suppose that I wish to take the train from Box Hill station to Dandenong station, although to do so I must transfer in the city. To view relevant trains, I can first Set routes on Box Hill station then Add routes on Dandenong station.

You can show and hide stop markers, routes and presets using the layer control in the top right. Performance degrades a bit the more stop and vehicle markers there are, so filter the routes that you need and hide stop markers for the best performance.

Other sites

In addition to PTV and operator websites and apps, there are a number of third party projects, commercial and not, that use the DTP public transport APIs.

Some other projects, covering more public transport modes, include:

This site was initially inspired by the Ventura Tracker mobile app by BusMinder. I wanted a similar app for the train network that could select a line and see its route, trains and stations on a live map with a simple and intuitive interface. Nothing that I could find perfectly fit or focused on that so I made this - maybe it will work for you too.

Attribution

By Nhan.

GTFS Schedule and GTFS Realtime data and transport mode pictograms © State of Victoria (Department of Transport and Planning) licensed under a Creative Commons Attribution 4.0 International licence.

Vehicle icons used with permission from TransportVic.

Rolling stock information, fleet numbers and names from Metro Trains Melbourne and Vicsig.

Map tiles © OpenStreetMap.

Built using Leaflet.

See the README for full software details and build instructions.

Shoutout to the Transport Engineers at Monash and Monash Railway Express.