BuildingCityDashboards / bcd-dd-v2.1

MIT License
7 stars 5 forks source link

Train motion modelling #545

Open LiamOSullivan opened 4 years ago

LiamOSullivan commented 4 years ago

SS to develop prototype application to model train location.

Will sketch a possible design following redesign of Query > Getting Around Map and assess how it may be integrated into dashboard.

Should this be a standalone map and/or included in Q>GO

111

samstehle commented 4 years ago

I envision this to be integrated in the Q>GO map. It is an enhancement of the GO interface, where trains and LUAS visibly update with new data by estimating the location of trains at a given moment. Currently, trains (not available atm) and LUAS real-time information updates upon selection of a station. This model would require interface update with every data update, or at a defined frequency (1 minute preferred, to coincide with timescale of the data)

samstehle commented 4 years ago

This may not be necessary. The Irish Rail API gives locations of trains in real time. I think it would be a useful enhancement to increase the 'realtimeness' of the GO query to have updated positions of trains and luas in addition to clickable stations with popups. Link to API guide: http://api.irishrail.ie/realtime/ Link to real-time current trains: http://api.irishrail.ie/realtime/realtime.asmx/getCurrentTrainsXML XML sample:

N 51.8491 -8.29956 P246 31 Jan 2020 P246\nCobh to Cork\nExpected Departure 16:30 To Cork
LiamOSullivan commented 4 years ago

Possible technical implementation: https://qri.io/data-stories/brooklyn-bus-times