The court on motion, and after notice to the opposite party, may for cause shown grant an order allowing the party applying therefor to enter upon the land in controversy and make survey thereof for the purposes of the action.