diff options
| author | Thomas Knudsen <thokn@sdfe.dk> | 2018-01-29 20:47:44 +0100 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2018-01-31 16:26:57 +0100 |
| commit | 52c20a2e095c63fab6e4158c92b8995d882cbe62 (patch) | |
| tree | 58772da8e08b8cc79eb42a192ff556482c43c7f4 /src/proj.c | |
| parent | 0770483f47593317b594e5602e6c2084cab5222e (diff) | |
| download | PROJ-52c20a2e095c63fab6e4158c92b8995d882cbe62.tar.gz PROJ-52c20a2e095c63fab6e4158c92b8995d882cbe62.zip | |
Renamed PJ_IO_UNITS_RADIANS to PJ_IO_UNITS_ANGULAR
Diffstat (limited to 'src/proj.c')
| -rw-r--r-- | src/proj.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -152,12 +152,12 @@ static void process(FILE *fid) { } } else { /* x-y or decimal degree ascii output, scale if warranted by output units */ if (inverse) { - if (Proj->left == PJ_IO_UNITS_RADIANS) { + if (Proj->left == PJ_IO_UNITS_ANGULAR) { data.uv.v *= RAD_TO_DEG; data.uv.u *= RAD_TO_DEG; } } else { - if (Proj->right == PJ_IO_UNITS_RADIANS) { + if (Proj->right == PJ_IO_UNITS_ANGULAR) { data.uv.v *= RAD_TO_DEG; data.uv.u *= RAD_TO_DEG; } @@ -262,7 +262,7 @@ static void vprocess(FILE *fid) { } /* apply rad->deg scaling in case the output from a pipeline has degrees as units */ - if (!inverse && Proj->right == PJ_IO_UNITS_RADIANS) { + if (!inverse && Proj->right == PJ_IO_UNITS_ANGULAR) { dat_xy.x *= RAD_TO_DEG; dat_xy.y *= RAD_TO_DEG; } |
