aboutsummaryrefslogtreecommitdiff
path: root/src/projections
diff options
context:
space:
mode:
Diffstat (limited to 'src/projections')
-rw-r--r--src/projections/latlong.cpp4
-rw-r--r--src/projections/ob_tran.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/projections/latlong.cpp b/src/projections/latlong.cpp
index f114504b..970c4893 100644
--- a/src/projections/latlong.cpp
+++ b/src/projections/latlong.cpp
@@ -98,8 +98,8 @@ static PJ *latlong_setup (PJ *P) {
P->fwd3d = latlong_forward_3d;
P->inv4d = latlong_inverse_4d;
P->fwd4d = latlong_forward_4d;
- P->left = PJ_IO_UNITS_ANGULAR;
- P->right = PJ_IO_UNITS_ANGULAR;
+ P->left = PJ_IO_UNITS_RADIANS;
+ P->right = PJ_IO_UNITS_RADIANS;
return P;
}
diff --git a/src/projections/ob_tran.cpp b/src/projections/ob_tran.cpp
index 1726b622..6daae394 100644
--- a/src/projections/ob_tran.cpp
+++ b/src/projections/ob_tran.cpp
@@ -237,7 +237,7 @@ PJ *PROJECTION(ob_tran) {
/* Support some rather speculative test cases, where the rotated projection */
/* is actually latlong. We do not want scaling in that case... */
- if (Q->link->right==PJ_IO_UNITS_ANGULAR)
+ if (Q->link->right==PJ_IO_UNITS_RADIANS)
P->right = PJ_IO_UNITS_PROJECTED;