Edinburgh Waverly, the main railway station in Edinburgh, is in the city center. Edinburgh Turnhouse Airport lies in a more rural area west of the city. A bus between the two takes 20 to 30 minutes...
These airports are about 350 miles apart. If you travel by car the distance is longer, about 460 miles and would take from 7 to 12 hours. Air travel between the two points would take about ab hour...