On our recent trip to Chiang Mai I noticed several of these signs.
Here it's blown up so you can see it a little better.
Apparently there is a problem in Thailand with trees falling on the train
trestles. It's very thoughtful of them to put up signs to let you know where such problems occur, because you know, you might go out on an afternoon drive, find a lovely tree near a train trestle and lay out your blanket and lunch, only to have your picnic cruelly ruined as that tree suddenly falls over in an attempt to crush the trestle.