It seems like it a bad place. It would probably shorten the panels’ lifetime, and maintenance would be tricky without interrupting train traffic.
Let’s work on putting more solar panels on schools, malls, parking lots, train stations, and any structure with a large roof.
Then someone will write an utility that automatically sets timezone using geoclue location data.