From 6418ba16669bf50f7b813e0c0cb818746254aab8 Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Thu, 3 Jan 2019 15:28:04 +0100 Subject: 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. --- src/transformations/hgridshift.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/transformations/hgridshift.cpp') 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."); -- cgit v1.2.3