aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_cart.c
diff options
context:
space:
mode:
authorThomas Knudsen <busstoptaktik@users.noreply.github.com>2017-10-25 10:39:56 +0200
committerGitHub <noreply@github.com>2017-10-25 10:39:56 +0200
commita3fa749bc4f378d005c9e3fd809c0be25de5ffb2 (patch)
treedadf4aa7d1bf3e88478375f2d6d4e3d72eb60549 /src/PJ_cart.c
parent2ad201bdb0f3408eed0aab07fe255c6ff1cd3249 (diff)
downloadPROJ-a3fa749bc4f378d005c9e3fd809c0be25de5ffb2.tar.gz
PROJ-a3fa749bc4f378d005c9e3fd809c0be25de5ffb2.zip
Remove PJ_OBS from the API surface, rename pj_obs_api.c to pj_4D_api.c (#625)
* Remove PJ_OBS from the API surface, rename pj_obs_api.c to pj_4D_api.c * Repair proj.def
Diffstat (limited to 'src/PJ_cart.c')
-rw-r--r--src/PJ_cart.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/PJ_cart.c b/src/PJ_cart.c
index 37aa3b97..99e1af7d 100644
--- a/src/PJ_cart.c
+++ b/src/PJ_cart.c
@@ -387,10 +387,10 @@ int pj_cart_selftest (void) {
b = proj_trans_obs (P, PJ_FWD, obs[1]);
n = proj_transform (
- P, PJ_FWD,
+ P, PJ_FWD,
&(obs[0].coo.lpz.lam), sz, 2,
&(obs[0].coo.lpz.phi), sz, 2,
- &(obs[0].coo.lpz.z), sz, 2,
+ &(obs[0].coo.lpz.z), sz, 2,
0, sz, 0
);
if (2!=n)
@@ -408,10 +408,10 @@ int pj_cart_selftest (void) {
h = 27;
t = 33;
n = proj_transform (
- P, PJ_FWD,
+ P, PJ_FWD,
&(obs[0].coo.lpz.lam), sz, 2,
&(obs[0].coo.lpz.phi), sz, 2,
- &h, 0, 1,
+ &h, 0, 1,
&t, 0, 1
);
if (2!=n)
@@ -429,7 +429,7 @@ int pj_cart_selftest (void) {
obs[0].coo = proj_coord (PJ_TORAD(12), PJ_TORAD(55), 45, 0);
obs[1].coo = proj_coord (PJ_TORAD(12), PJ_TORAD(56), 50, 0);
- if (proj_transform_obs(P, PJ_FWD, 2, obs))
+ if (proj_transform_coord(P, PJ_FWD, 2, (PJ_COORD *) obs))
return 30;
if (a.coo.lpz.lam != obs[0].coo.lpz.lam) return 31;