If the parties interested cannot agree upon the amount to be paid for damages caused thereby, either of them may petition the court of common pleas in the county in which the land is situated, which court shall appoint a time for a hearing as soon as may be, and order at least fourteen days' notice to all parties interested, and with or without a view of the premises, as the court may determine, hear the parties and their witnesses, and assess damages.
74 P.S. § 122