Hate to blame the victim, but in addition to the posted signs saying the area was dangerous to cyclists because of the tracks, and the local history of cyclist injuries on the tracks, it's exceedingly common for places where ships are unloaded to have railroad tracks.
I'm kind of scratching my head how he ended up drowning as well, I guess he couldn't swim?