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/ob_tran.cpp | |
| 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/ob_tran.cpp')
| -rw-r--r-- | src/projections/ob_tran.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
