Hi George
> On 18 Nov 2024, at 11:31, GB <
gbk...@gmail.com> wrote:
>
> The centre point of the berth areas would be good enough to provide a rough visualisation, at a push in some areas it might be possible to roughly
> work something out from the open train times schematics, I was just hoping there was a simple set of lat, longs somewhere.
That’s my point - there is no ‘centre’. You would be better off taking the position of the signal head itself and snapping a train in a berth to that, and being open and honest that you’ll have discrepancies.
If the latitude and longitude of berths were available, you can guarantee that I’d be showing it on OpenTrainTimes and pointing people to the data source :-)
> My understanding is that there is no GPS data available from trains (is that correct) in an ideal world they would be tracked and the head and tail of each train would be visible
> When I first started looking at this it seemed odd they weren't given all buses are tracked in the UK.
There’s a lot of GPS data sent out by trains - a lot. However it’s not openly available for a number of reasons, nor does it show where the ‘head’ and ’tail’ of each train is. GPS antennas could be in the middle of the middle carriage of a unit, they could be at the ‘A’ cab end, they could be at the ‘B’ cab end, or they could be a third of the way down the carriage behind the ‘A’ end. Units may be coupled in multiple, and you might have both ‘A’ ends next to each other so get two GPS fixes that are about 5m from each other, or the ‘B’ ends may be coupled together and you could have two GPS fixes a fair distance from each other. Unless you know that unit 1 is coupled to unit 2, and which way around they are (see trains may have this data available, but it may not be accessible outside the train), I don’t think you can even begin to work out the extent of track occupied by a train.
I think it’s probably important to say that train describer berths reflect the occupation of a section of track, and say nothing about where a train is within that section, or how fast it’s travelling, or whether it’s stopped.
A bit of a crude analogy, but think of a berth like a toilet cubicle - you don’t care if the person inside has just started, is just finishing, or is doing Sudoku and will be quite a long time - you just care whether the cubicle is free.
Peter