aboutsummaryrefslogtreecommitdiff
path: root/src/inv.cpp
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2020-04-13 10:32:05 +0200
committerGitHub <noreply@github.com>2020-04-13 10:32:05 +0200
commit031b6ab95e4bedbf2f8f5d55407562b2b69ce98f (patch)
treebe30b23ad491e2bd2970ee9a281c0867624b5b3b /src/inv.cpp
parentb0215f78903a0303c8c214119dc1b1508ffef846 (diff)
parent925ae56c40b0cfa7d861f55e4332cb5603168a2c (diff)
downloadPROJ-031b6ab95e4bedbf2f8f5d55407562b2b69ce98f.tar.gz
PROJ-031b6ab95e4bedbf2f8f5d55407562b2b69ce98f.zip
Merge pull request #2144 from kbevers/proj_degree_inoutput
Add proj_degree_input() and proj_degree_output()
Diffstat (limited to 'src/inv.cpp')
-rw-r--r--src/inv.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/inv.cpp b/src/inv.cpp
index 17eb15b4..626c9ee5 100644
--- a/src/inv.cpp
+++ b/src/inv.cpp
@@ -54,6 +54,9 @@ static PJ_COORD inv_prepare (PJ *P, PJ_COORD coo) {
case PJ_IO_UNITS_WHATEVER:
return coo;
+ case PJ_IO_UNITS_DEGREES:
+ return coo;
+
/* de-scale and de-offset */
case PJ_IO_UNITS_CARTESIAN:
coo.xyz.x *= P->to_meter;