diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-04-07 15:35:08 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-04-07 16:38:26 +0200 |
| commit | ac78787bf3bfa15dabbbad0042ca762020542365 (patch) | |
| tree | aaf7b2a09416901f991c3b853817d281e31f635a /src/PJ_pipeline.c | |
| parent | 5f0e22ecec2ed479d37b5a3a3d861d56a1a0557b (diff) | |
| download | PROJ-ac78787bf3bfa15dabbbad0042ca762020542365.tar.gz PROJ-ac78787bf3bfa15dabbbad0042ca762020542365.zip | |
Pipeline: make sure geocentric/cartesian space transform is done with original ellipsoid parameters (before any projection mess with them)
Diffstat (limited to 'src/PJ_pipeline.c')
| -rw-r--r-- | src/PJ_pipeline.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/PJ_pipeline.c b/src/PJ_pipeline.c index b60e05a8..aa7d76f8 100644 --- a/src/PJ_pipeline.c +++ b/src/PJ_pipeline.c @@ -306,6 +306,8 @@ static void set_ellipsoid(PJ *P) { /* the PJ you provided". */ proj_errno_reset (P); } + P->a_orig = P->a; + P->es_orig = P->es; pj_calc_ellipsoid_params (P, P->a, P->es); |
