The Shuttle Radar Topography Mission mapped much of the Earth's surface to an accuracy of 15m in altitude. This data can be imported into Rail3D using the digitiser tool - see Digitising a Railway. The following guides pre-date the digitiser's terrain importing functions, and are now outdated, but are kept for reference.
moremstsconversionwithdetailonvalvegear