diff options
| author | Charles Karney <charles.karney@sri.com> | 2019-09-22 16:44:57 -0400 |
|---|---|---|
| committer | Charles Karney <charles.karney@sri.com> | 2019-09-22 16:46:34 -0400 |
| commit | a2efc211eb5fa79ce3c6e666e83c3e65afd22e46 (patch) | |
| tree | 131a746927cdff29cb6a445c425e9701c616adb3 /src/apps | |
| parent | d1bf22381344f4377d54386b6adb80c6d772967b (diff) | |
| download | PROJ-a2efc211eb5fa79ce3c6e666e83c3e65afd22e46.tar.gz PROJ-a2efc211eb5fa79ce3c6e666e83c3e65afd22e46.zip | |
Update to version 1.50 of the geodesic library.
* Allow arbitrarily complex polygons in geod_polygon_*. In the case
of self-intersecting polygons the area is accumulated
"algebraically", e.g., the areas of the 2 loops in a figure-8
polygon will partially cancel.
* Simplify code by using C99 functions remainder and remquo.
* More test coverage.
Fixes to associated files:
* src/pipeline.cpp invoke geod_init with f = es / (1 + sqrt(1 - es))
instead of (the less accurate) f = 1 - sqrt(1 - es)
* src/apps/geod_set.cpp remove "#undef f" (a dangling relic?).
Diffstat (limited to 'src/apps')
| -rw-r--r-- | src/apps/geod_set.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/apps/geod_set.cpp b/src/apps/geod_set.cpp index cd6b5018..ed7edeb9 100644 --- a/src/apps/geod_set.cpp +++ b/src/apps/geod_set.cpp @@ -46,7 +46,6 @@ geod_set(int argc, char **argv) { /* check if line or arc mode */ if (pj_param(nullptr,start, "tlat_1").i) { double del_S; -#undef f phi1 = pj_param(nullptr,start, "rlat_1").f; lam1 = pj_param(nullptr,start, "rlon_1").f; if (pj_param(nullptr,start, "tlat_2").i) { |
