aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-06-23 09:59:18 +0200
committerGitHub <noreply@github.com>2019-06-23 09:59:18 +0200
commitb5ac170f7a0ac68127392644249bc2390db5eb76 (patch)
tree64464696efbb64beda9f9122121609f810c94cdb /src
parentfcc696819c84f5794004a7db0bd40f8e2e784632 (diff)
parent5771ac6d4f0ce28c6f9602af2a43ab900edda32c (diff)
downloadPROJ-b5ac170f7a0ac68127392644249bc2390db5eb76.tar.gz
PROJ-b5ac170f7a0ac68127392644249bc2390db5eb76.zip
+proj=ob_tran +o_proj=longlat: set right unit to PJ_IO_UNITS_WHATEVER so as to be able to chain with unitconvert (fixes #1525) (#1526)
+proj=ob_tran +o_proj=longlat: set right unit to PJ_IO_UNITS_WHATEVER so as to be able to chain with unitconvert (fixes #1525)
Diffstat (limited to 'src')
-rw-r--r--src/projections/ob_tran.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/projections/ob_tran.cpp b/src/projections/ob_tran.cpp
index f9eaa6f0..4ae8dbe7 100644
--- a/src/projections/ob_tran.cpp
+++ b/src/projections/ob_tran.cpp
@@ -242,7 +242,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_RADIANS)
- P->right = PJ_IO_UNITS_PROJECTED;
+ P->right = PJ_IO_UNITS_WHATEVER;
return P;