This idea - found via @fj and @temptoetiam - to install solar panels between train tracks strikes me as ridiculous
Railway tracks are grimy. Things fall off trains, like melting snow mixed with grit in winter. You can't incline the panels. How are you going to keep the panels clean enough? Because you absolutely don’t want to stop the train traffic to do it