I want both sharply focused and that's the point I asked if that was possible without being limited to incredibly stable sunny weather and very slow trains! Depth of Field really isn't much of a problem for me if the sun is out. If the sun is not out I've got bigger problems. There is no way I could calculate depth of field even if I knew what it should be because I can't judge distance well at all and often barely have time to get the camera open and exposure set. Anyway, I can't see well enough to ensure sharp manual focus using viewfinder. I rely on the lens being in focus to infinity. I have returned to using One Shot AF mode with only a single AF point with sharp focus confirmation. So to answer your question I am talking motor sport meets landscape photography. Folks taking photos of aircraft in flight would probably know best how to overcome these problems. I tried planes once and what an AF nightmare!
Understood. If I remember correctly, for any given focus distance 1/3 of your DoF in between you and the focus point and 2/3 of the DoF is behind the subject. Since the foreground and train are prominent I'd have the camera focus at your desired point then manually move focus back toward you. Depending on your gear you may have to set the lens to manual focus after focus is achieved or easier yet use back button focus.
Rod

