Fundamentals of surveying