Eurail (www.railpass.com/maps.htm) offers an overview on European and Turkish/Moroccan railway tracks with rough information on the length of the journey between the most important stations. You can also check out the official websites of the European railway companies.