Yep, I read that most railroad companies cut down trees along the route of the newly laid track, they weren't fussy about the type of wood used either. No wonder so many tracks ended up rotting or sinking into the abyss, I read that creosote wasn't used until the 1920s which is an odd thing considering that creosote is a byproduct of burning fossil fuels, during the 1800's everyone was burning coal and wood, I think the railroads missed an opportunity to preserve their tracks and save themselves a lot of hassle.
as a side note, I've seen articles about the health problems associated with creosote, I wish I hadn't read about it as I spent many years working as a sawyer in a large sawmill, a part of my job was working the 'dip', I got paid an extra £10 per week to dip lumber into a large tank full of creosote, no mask or protective clothing, it would eat through my clothes and I would often get burnt skin....ah those were the days...lol