Surveying system based on measuring triangles