In the event a corporation fails, upon application to individuals, corporations, or railroad companies to secure rights-of-way for the canals, drains, or other works by consent, contract, or agreement, then the corporation shall have the right to proceed to procure the condemnation of the property, lands, privileges, and easements in the manner prescribed by law for railroads, as provided by §§ 18-15-1201 -- 18-15-1207.