It shall be the duty of every railroad company whose line runs through or across any desert or other unoccupied territory, to keep and maintain suitable crossings and cattle guards, wherever any public highway or publicly traveled road crosses the same, and to place gates at convenient intervals not exceeding four (4) miles apart, for the crossing of the same wherever there are no roads within such distances.
Idaho Code § 62-407