diff options
| author | Thomas Knudsen <busstoptaktik@users.noreply.github.com> | 2018-02-01 16:52:10 +0100 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2018-02-01 16:52:10 +0100 |
| commit | dd9cd3f821295f4095d3a261bfd9be26065e60b7 (patch) | |
| tree | 3043e38c5d1a6a87463422c92386b2b45d49d2f0 /src/pj_inv.c | |
| parent | b48f7ba228c06ab53d624779e4023d83bd6c352b (diff) | |
| download | PROJ-dd9cd3f821295f4095d3a261bfd9be26065e60b7.tar.gz PROJ-dd9cd3f821295f4095d3a261bfd9be26065e60b7.zip | |
expand proj_geoc_lat to proj_geocentric_latitude (#751)
Diffstat (limited to 'src/pj_inv.c')
| -rw-r--r-- | src/pj_inv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pj_inv.c b/src/pj_inv.c index 45e43820..5e44eb34 100644 --- a/src/pj_inv.c +++ b/src/pj_inv.c @@ -67,7 +67,7 @@ static PJ_COORD pj_inv_prepare (PJ *P, PJ_COORD coo) { /* If input latitude is geocentrical, convert to geographical */ if (P->geoc) - coo = proj_geoc_lat (P, PJ_INV, coo); + coo = proj_geocentric_latitude (P, PJ_INV, coo); /* Distance from central meridian, taking system zero meridian into account */ coo.lp.lam = (coo.lp.lam + P->from_greenwich) - P->lam0; @@ -160,7 +160,7 @@ static PJ_COORD pj_inv_finalize (PJ *P, PJ_COORD coo) { /* If input latitude was geocentrical, convert back to geocentrical */ if (P->geoc) - coo = proj_geoc_lat (P, PJ_FWD, coo); + coo = proj_geocentric_latitude (P, PJ_FWD, coo); } return coo; |
