aboutsummaryrefslogtreecommitdiff
path: root/src/pj_inv.c
diff options
context:
space:
mode:
authorThomas Knudsen <thokn@sdfe.dk>2018-01-29 20:47:44 +0100
committerKristian Evers <kristianevers@gmail.com>2018-01-31 16:26:57 +0100
commit52c20a2e095c63fab6e4158c92b8995d882cbe62 (patch)
tree58772da8e08b8cc79eb42a192ff556482c43c7f4 /src/pj_inv.c
parent0770483f47593317b594e5602e6c2084cab5222e (diff)
downloadPROJ-52c20a2e095c63fab6e4158c92b8995d882cbe62.tar.gz
PROJ-52c20a2e095c63fab6e4158c92b8995d882cbe62.zip
Renamed PJ_IO_UNITS_RADIANS to PJ_IO_UNITS_ANGULAR
Diffstat (limited to 'src/pj_inv.c')
-rw-r--r--src/pj_inv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pj_inv.c b/src/pj_inv.c
index 02a2ca53..45e43820 100644
--- a/src/pj_inv.c
+++ b/src/pj_inv.c
@@ -49,7 +49,7 @@ static PJ_COORD pj_inv_prepare (PJ *P, PJ_COORD coo) {
coo = proj_trans (P->axisswap, PJ_INV, coo);
/* Check validity of angular input coordinates */
- if (INPUT_UNITS==PJ_IO_UNITS_RADIANS) {
+ if (INPUT_UNITS==PJ_IO_UNITS_ANGULAR) {
double t;
/* check for latitude or longitude over-range */
@@ -120,7 +120,7 @@ static PJ_COORD pj_inv_prepare (PJ *P, PJ_COORD coo) {
coo.xyz.x *= P->ra;
coo.xyz.y *= P->ra;
return coo;
- /* Silence some compiler warnings about PJ_IO_UNITS_RADIANS not handled */
+ /* Silence some compiler warnings about PJ_IO_UNITS_ANGULAR not handled */
default:
break;
}
@@ -137,9 +137,9 @@ static PJ_COORD pj_inv_finalize (PJ *P, PJ_COORD coo) {
return proj_coord_error ();
}
- if (OUTPUT_UNITS==PJ_IO_UNITS_RADIANS) {
+ if (OUTPUT_UNITS==PJ_IO_UNITS_ANGULAR) {
- if (INPUT_UNITS!=PJ_IO_UNITS_RADIANS) {
+ if (INPUT_UNITS!=PJ_IO_UNITS_ANGULAR) {
/* Distance from central meridian, taking system zero meridian into account */
coo.lp.lam = coo.lp.lam + P->from_greenwich + P->lam0;