"Alternate Track-A-Train" v2

Amtrak Unlimited Discussion Forum

Help Support Amtrak Unlimited Discussion Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
Status
Not open for further replies.
Thanks for putting this together, the official one hasn't worked for me all day.
 
IE support has been added. The fix involved a line of code that was the same in both old and new, so the old one wouldn't have worked in the new one.

The issue was with the Google API that generates the number image given text and color, apparently IE didn't think the output was an image. So now it calls a middleman script which fetches the image and presents it to the front end with the right headers. There may be a slight slowdown in populating the map as a result.
 
IE support has been added. The fix involved a line of code that was the same in both old and new, so the old one wouldn't have worked in the new one.

The issue was with the Google API that generates the number image given text and color, apparently IE didn't think the output was an image. So now it calls a middleman script which fetches the image and presents it to the front end with the right headers. There may be a slight slowdown in populating the map as a result.
Don't know what you just said but, it works for IE! I use both IE and Chrome for no apparent reasons!

Thanks
 
Thank you for getting it fixed. It has been missed and I like the new look with the bigger time numbers.
 
This may be a limitation of the data you get from Amtrak's site, but would it be possible to put actual expected times in the left had column instead of just how many minutes late a train is expected? That way if someone does not know what time a train is suppose to arrive at a particular station, it would tell them.
I do have that data. However, given the limited space available in the column, I think that OTP is a better use, so it's easy to see the trend and predictions.

If more people want times, it's easy to show them instead - but showing both in the column is not possible (except by tooltip, which isn't mobile compatible but I'll give it a shot)
This may not be doable but thought I would throw it out there...

What about a duplicate page that shows times instead of just minutes?

Just a thought. Thanks!
 
Update: Upon request (and realizing that I misinterpreted the Amtrak OTP standards), the thresholds used for determining color schemes have been changed to match PRIIA Section 207.
 
Update: Amtrak has made a significant change to their data feed. I have a working local version but there's some issues that need to be worked out before I can make it publicly usable.
 
Last edited by a moderator:
I got the map yesterday, but today I see only the map withthe red routes but no train data. Using Chrome

Tried Explorer and got the "unable to connect to server.
 
Last edited by a moderator:
Thanks again for your effort. Your map is faster, easier to use, and more functional than any of the other maps I've tried including Amtrak's own.
 
*Temporarily* restored. I have no idea how long it will stay up.

The data may be a couple minutes staler than usual; and the ability to force an update by clicking on the time has (hopefully temporarily) been removed.
 
Crashed again with "an unknown error"

I really love this site and thank you for setting it up.

Can't wait for it to return.
 
Last edited by a moderator:
Still not working for me this morning 12/10/2015. The official Amtrak version works but requires going into the Amtrak.com website. Much prefer this alternate version 2.
 
I haven't been able to replicate these intermittent failures myself - if refreshing the page doesn't work, try waiting 2 minutes and reloading it again. (it caches for 2m, so any corrupt data will be expired by then)
 
Still not working at 5:30 central time and now "track a train" on Amtrak not working. I have cleared my cache and also cleared my browsing history in Chrome with no success.
 
Just about 4 PM PST and neither the better nor the Amtrak version is working. Better gives "unknown error" and shows the map with routes but no trains. Amtrak "track a Train" doesn't respond at all. Tried both Firefox and IE.

Curiously, Am Status Map (Dixieland) shows all the trains just fine EXCEPT 14(10). Surely it has left LA by now.
 
Try to go here. At the top of the page is a blue circle with a white arrow in it. Click on it. It should bring up the Better Track-A-Train with the map partially zoomed into 14(10). Did that work?

jb
 
Status
Not open for further replies.
Back
Top