From 07bb446ec474cf62094070a8ea848b37c911a075 Mon Sep 17 00:00:00 2001 From: Thomas Knudsen Date: Mon, 8 Jan 2018 03:41:45 +0100 Subject: Discern between 2D projected and 3D cartesian linear units (#732) --- src/PJ_unitconvert.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/PJ_unitconvert.c') 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; } - -- cgit v1.2.3