When I worked on mapping software, we actually had a few options for calculating angles and distances. If points were near enough, we&#x27;d use a flat Earth approximation to speed up the calculations.