aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_unitconvert.c
diff options
context:
space:
mode:
authorThomas Knudsen <busstoptaktik@users.noreply.github.com>2018-01-08 03:41:45 +0100
committerGitHub <noreply@github.com>2018-01-08 03:41:45 +0100
commit07bb446ec474cf62094070a8ea848b37c911a075 (patch)
treef3212861bb79716af0d4d7008e3b3e44e40f2cd3 /src/PJ_unitconvert.c
parent4809a281abca09085cba6494a0da247c03f0a487 (diff)
downloadPROJ-07bb446ec474cf62094070a8ea848b37c911a075.tar.gz
PROJ-07bb446ec474cf62094070a8ea848b37c911a075.zip
Discern between 2D projected and 3D cartesian linear units (#732)
Diffstat (limited to 'src/PJ_unitconvert.c')
-rw-r--r--src/PJ_unitconvert.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/PJ_unitconvert.c b/src/PJ_unitconvert.c
index bf1fcd37..06224362 100644
--- a/src/PJ_unitconvert.c
+++ b/src/PJ_unitconvert.c
@@ -397,8 +397,8 @@ PJ *CONVERSION(unitconvert,0) {
P->fwd = forward_2d;
P->inv = reverse_2d;
- P->left = PJ_IO_UNITS_METERS;
- P->right = PJ_IO_UNITS_METERS;
+ P->left = PJ_IO_UNITS_WHATEVER;
+ P->right = PJ_IO_UNITS_WHATEVER;
/* if no time input/output unit is specified we can skip them */
Q->t_in_id = -1;
@@ -485,4 +485,3 @@ PJ *CONVERSION(unitconvert,0) {
return P;
}
-