-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more accurate area and length calculation
makes formulas partially account for the non-spherical shape of the earth (but keeps using spherical approximation for the calculations). resulting relative errors are now consistently below 0.1% for "small" features (as typically found in OSM). for comparison: before, areas were sometimes off by a few percent, and lengths typically below half a %
- Loading branch information
Showing
1 changed file
with
68 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters