diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2019-01-03 15:28:04 +0100 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2019-01-03 15:31:38 +0100 |
| commit | 6418ba16669bf50f7b813e0c0cb818746254aab8 (patch) | |
| tree | 94b354630d198c22fdb4bbe4d95dba2a52e67c32 /src/projections | |
| parent | 00de4660a75a9d89c98778cf84f94075b7eef0b9 (diff) | |
| download | PROJ-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/projections')
| -rw-r--r-- | src/projections/latlong.cpp | 4 | ||||
| -rw-r--r-- | src/projections/ob_tran.cpp | 2 |
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; |
