The alignment of a tunnel constructed from two ends and meeting somewhere is the middle is achieved via old fashioned surveying methods. If the tunnel breaks through to the surface, surveying stations are accurately established on the surface of the Earth at each end of the tunnel.