We continued south then west to Bakersfield on CA-58. We stopped in Tehachapi to see the Tehachapi Loop. It is a very special railroad track alignment that the engineers used to allow trains to make an elevation change at Tehachapi mountain without having to make a long incline along the canyon sides. The track was configured to a loop that crosses over itself to change elevation in a small run of track.
My Dad was a railroad fan and Tehachapi Loop was one of his favorite places. In 1992 when my Dad and I built a O-scale model railroad layout, one of the features I created was a scale version of the Tehachapi Loop. My son made a video of a train climbing the Loop, and then entering a vertical transfer table I designed years later:
https://www.youtube.com/watch?v=B_8Hm7wakkY
Jim