diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2019-01-04 19:13:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-04 19:13:01 +0100 |
| commit | 3ea468222fdabdae3aa5b47439d6b3bfb0a93c8e (patch) | |
| tree | 7a8bc721676f8df2c3a7e7cdf05387300e03584b /src/inv.cpp | |
| parent | d89a6ab2f3f26d1451971369b0ccfc4eb322729d (diff) | |
| parent | edb068401822c0cb7047019ae7a1dac587778ce3 (diff) | |
| download | PROJ-3ea468222fdabdae3aa5b47439d6b3bfb0a93c8e.tar.gz PROJ-3ea468222fdabdae3aa5b47439d6b3bfb0a93c8e.zip | |
Merge pull request #1205 from kbevers/master
Better handling of pipelines including step with PJ_IO_UNITS_WHATEVER operations
Diffstat (limited to 'src/inv.cpp')
| -rw-r--r-- | src/inv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inv.cpp b/src/inv.cpp index 83c5498c..a05f8376 100644 --- a/src/inv.cpp +++ b/src/inv.cpp @@ -82,7 +82,7 @@ static PJ_COORD inv_prepare (PJ *P, PJ_COORD coo) { coo.xyz.y *= P->ra; return coo; - case PJ_IO_UNITS_ANGULAR: + case PJ_IO_UNITS_RADIANS: coo.lpz.z = P->vto_meter * coo.lpz.z - P->z0; break; } @@ -99,7 +99,7 @@ static PJ_COORD inv_finalize (PJ *P, PJ_COORD coo) { return proj_coord_error (); } - if (OUTPUT_UNITS==PJ_IO_UNITS_ANGULAR) { + if (OUTPUT_UNITS==PJ_IO_UNITS_RADIANS) { /* Distance from central meridian, taking system zero meridian into account */ coo.lp.lam = coo.lp.lam + P->from_greenwich + P->lam0; |
