aboutsummaryrefslogtreecommitdiff
path: root/src/transformations/affine.cpp
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-01-03 15:28:04 +0100
committerKristian Evers <kristianevers@gmail.com>2019-01-03 15:31:38 +0100
commit6418ba16669bf50f7b813e0c0cb818746254aab8 (patch)
tree94b354630d198c22fdb4bbe4d95dba2a52e67c32 /src/transformations/affine.cpp
parent00de4660a75a9d89c98778cf84f94075b7eef0b9 (diff)
downloadPROJ-6418ba16669bf50f7b813e0c0cb818746254aab8.tar.gz
PROJ-6418ba16669bf50f7b813e0c0cb818746254aab8.zip
Rename PJ_IO_UNITS_ANGULAR to PJ_IO_UNITS_RADIANS
This communicates better what the unit actually is. It also opens the door for potentially adding PJ_IO_UNITS_DEGREES in the future in order to coordinates in degrees correctly as well.
Diffstat (limited to 'src/transformations/affine.cpp')
-rw-r--r--src/transformations/affine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transformations/affine.cpp b/src/transformations/affine.cpp
index 21529a20..bda54f1e 100644
--- a/src/transformations/affine.cpp
+++ b/src/transformations/affine.cpp
@@ -238,8 +238,8 @@ PJ *TRANSFORMATION(geogoffset,0 /* no need for ellipsoid */) {
P->fwd = forward_2d;
P->inv = reverse_2d;
- P->left = PJ_IO_UNITS_ANGULAR;
- P->right = PJ_IO_UNITS_ANGULAR;
+ P->left = PJ_IO_UNITS_RADIANS;
+ P->right = PJ_IO_UNITS_RADIANS;
/* read args */
Q->xoff = pj_param(P->ctx, P->params, "ddlon").f * ARCSEC_TO_RAD;