aboutsummaryrefslogtreecommitdiff
path: root/src/proj_4D_api.c
diff options
context:
space:
mode:
authorThomas Knudsen <busstoptaktik@users.noreply.github.com>2018-02-10 18:52:05 +0100
committerGitHub <noreply@github.com>2018-02-10 18:52:05 +0100
commitc99cf890e3ce13ddc5cfaae092851ccf77182ea3 (patch)
treecbb0283b16e8e2dc8ebe7c79dfee6bc22d2e065d /src/proj_4D_api.c
parent3b9505243e3da8a47aae10bbc294740f01362e7f (diff)
parent75fca1c0e2fdd58d997ff962936888b6f983e8ec (diff)
downloadPROJ-c99cf890e3ce13ddc5cfaae092851ccf77182ea3.tar.gz
PROJ-c99cf890e3ce13ddc5cfaae092851ccf77182ea3.zip
Merge pull request #786 from busstoptaktik/interdependent-wrap-ups
Interdependent wrap ups
Diffstat (limited to 'src/proj_4D_api.c')
-rw-r--r--src/proj_4D_api.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/proj_4D_api.c b/src/proj_4D_api.c
index 42e3cbf9..8f6305a4 100644
--- a/src/proj_4D_api.c
+++ b/src/proj_4D_api.c
@@ -473,12 +473,13 @@ invocators can emulate the behaviour of pj_transform and the cs2cs app.
def = malloc (100+n);
if (0==def)
return 0;
- sprintf (def, "break_cs2cs_recursion proj=helmert %s", s);
+ sprintf (def, "break_cs2cs_recursion proj=helmert %s transpose", s);
Q = proj_create (P->ctx, def);
+ pj_inherit_ellipsoid_def (P, Q);
free (def);
if (0==Q)
return 0;
- P->helmert = skip_prep_fin(Q);
+ P->helmert = skip_prep_fin (Q);
break;
}
@@ -491,14 +492,14 @@ invocators can emulate the behaviour of pj_transform and the cs2cs app.
Q = proj_create (P->ctx, def);
if (0==Q)
return 0;
- pj_inherit_ellipsoid_def(P, Q);
- P->cart = skip_prep_fin(Q);
+ pj_inherit_ellipsoid_def (P, Q);
+ P->cart = skip_prep_fin (Q);
sprintf (def, "break_cs2cs_recursion proj=cart ellps=WGS84");
Q = proj_create (P->ctx, def);
if (0==Q)
return 0;
- P->cart_wgs84 = skip_prep_fin(Q);
+ P->cart_wgs84 = skip_prep_fin (Q);
}
return 1;