Railroad track photos are cliche.
Also, unless the rail is not in use (as in, confirmed not in use - as in, you can personally see that it's disconnected from any other rail, or is in deep disrepair and covered in trees etc), or unless you have two dedicated spotters with tested communication equipment, it's a pretty bad idea. "But trains are so loud, you can hear them from miles away!" Modern trains can be incredibly quiet. You might not notice it until it's less than a quarter mile away, which is only a couple seconds to gtfo. Every year, some folk die taking railroad track photos. Fucking stupid way to die, you may as well do something fun instead, like jumping off a cliff or fighting a bear or something.