The planet's longest train trip would come to around 18,755 kilometres, take three weeks, travel through 13 countries and require at least seven different visas. Certain rules were taken into account. There should be no pointless back-and-forth between two places and no transfers to boats or planes (duh).