A right-of-way through, over and across any state lands is hereby granted to any irrigation district, or irrigation company duly organized under the laws of this state, and to any association, individual, or the United States of America, constructing or proposing to construct an irrigation ditch or pipe line for irrigation, or to any diking and drainage district or any diking and drainage improvement district proposing to construct a dike or drainage ditch.