aboutsummaryrefslogtreecommitdiff
path: root/src/transformations/hgridshift.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/hgridshift.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/hgridshift.cpp')
-rw-r--r--src/transformations/hgridshift.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transformations/hgridshift.cpp b/src/transformations/hgridshift.cpp
index 788c2ebb..2e2294cb 100644
--- a/src/transformations/hgridshift.cpp
+++ b/src/transformations/hgridshift.cpp
@@ -93,8 +93,8 @@ PJ *TRANSFORMATION(hgridshift,0) {
P->fwd = nullptr;
P->inv = nullptr;
- P->left = PJ_IO_UNITS_ANGULAR;
- P->right = PJ_IO_UNITS_ANGULAR;
+ P->left = PJ_IO_UNITS_RADIANS;
+ P->right = PJ_IO_UNITS_RADIANS;
if (0==pj_param(P->ctx, P->params, "tgrids").i) {
proj_log_error(P, "hgridshift: +grids parameter missing.");