jbccollins / metro-monitor

:metro: A live filterable map of the DC Metro system. Features train positions, station arrival predictions and WMATA alerts all in once place!
https://www.dcmetromonitor.com
Other
14 stars 2 forks source link

If a station has no trains arriving in either direction, mark it closed on the map #40

Open binxboll opened 6 years ago

binxboll commented 6 years ago

Grey out closed stations

jbccollins commented 6 years ago

May need to use the MetroHero API to reliably get this data.

binxboll commented 6 years ago

The data is already displayed when a user clicks on a station.

jbccollins commented 6 years ago

Yeah but I can't rely on the "if a station has no trains arriving" criteria. It is very possible that a station is open but no train is close enough to be returned by WMATA's arrival predictions API. Weekend service and single tracking cause this pretty frequently actually.

binxboll commented 6 years ago

So slap a ? over any station icon that has not had a train arrival prediction for more than two hours.

jbccollins commented 6 years ago

That's possible. However, given that any closed station will certainly have an associated alert which will be indicated as per #38, I don't really see what value this would add.

binxboll commented 6 years ago

A picture is worth a thousand words.

jbccollins commented 6 years ago

https://developer.wmata.com/docs/services/5476364f031f590f38092507/operations/5476364f031f5909e4fe3312