I was lucky to travel by overnight train from Lisbon Santa Apolonia station to Madrid Chamartin last week. I was able to keep my N95 by the window for nearly the entire journey and have uploaded a 15102-point GPX trace. There are a few glitches near tunnels, etc, but it looks quite good.
It's nearly 800km long! Would anybody like to help "nudging" the landsat-traced line into place?