Tram Hunter has a database of tram stop locations, which were sourced
from the TramTracker API. The API does have a method to return the
location of a tram, but I think it's only which stop its about to
approach.
If you wanted to plot this sort of information on a map, you'd
probably have to make some pretty crude estimates of times.
Is this the sort of thing you're talking about?
http://andybotting.com/~andy/pub/tram/ (Select route 57, and hit 'Go')
> --
> You received this message because you are subscribed to the Google
> Groups "tramhunter" group.
>
> To post to this group, sign up at:
> http://groups.google.com/group/tramhunter
> To unsubscribe from this group, send email to
> tramhunter+...@googlegroups.com
>
That was made quite some time ago with a friend of mine. Before the
TramTracker API existed, we parsed one of the metlink timetables as
the source data (so it's nothing like real-time), and then used a
fairly crude estimate to make the trams move. It's totally unrealistic
compared to the speed that trams would normally move.
It's all done in javascript, and I can send you the source if you want
to play with it. I don't think it would be that hard to hook it up to
the API, but it may take a few calls to the API to built up the list
of trams on a line.
I found this the other day, which is probably more like what you want to do:
http://traintimes.org.uk/map/tube/
cheers,
Andy