Skip to content
Commits on Source (2)
proj (5.0.0-3~exp2) experimental; urgency=medium
* Add patch to fix height_unit() in proj_transform.c.
-- Bas Couwenberg <sebastic@debian.org> Fri, 09 Mar 2018 12:20:41 +0100
proj (5.0.0-3~exp1) experimental; urgency=medium
* Add upstream patches to fix regressions in 5.0.0:
......
Description: Fix height_unit() in proj_transform.c.
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: https://github.com/OSGeo/proj.4/pull/845#issuecomment-371785556
--- a/src/pj_transform.c
+++ b/src/pj_transform.c
@@ -397,7 +397,10 @@ static int height_unit (PJ *P, PJ_DIRECT
fac = P->vfr_meter;
/* Nothing to do? */
- if (P->vto_meter==0.0)
+ if (fac == 1.0)
+ return 0;
+
+ if (z == NULL)
return 0;
for (i = 0; i < n; i++)
0001-Revert-fix-to-22.patch
pr845_Refactor-pj_transform-reintroduce-support-for-vertical-scaling.patch
pj_transform-height_unit.patch