aboutsummaryrefslogtreecommitdiff
path: root/src/proj.c
diff options
context:
space:
mode:
authorThomas Knudsen <thokn@sdfe.dk>2018-01-29 20:47:44 +0100
committerKristian Evers <kristianevers@gmail.com>2018-01-31 16:26:57 +0100
commit52c20a2e095c63fab6e4158c92b8995d882cbe62 (patch)
tree58772da8e08b8cc79eb42a192ff556482c43c7f4 /src/proj.c
parent0770483f47593317b594e5602e6c2084cab5222e (diff)
downloadPROJ-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/proj.c b/src/proj.c
index 1d702ea4..1c86854e 100644
--- a/src/proj.c
+++ b/src/proj.c
@@ -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;
}