diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-02-20 13:21:15 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-02-20 13:21:15 +0100 |
| commit | 04844ac495f65e824a0bd9f9e49ea3360f2c063f (patch) | |
| tree | 01f357111ee7f5d2ce2287d4372bb8bb95f81044 /src/transformations | |
| parent | 0d8600e46b20fba28eb0cf0cabbbb4c6b586c6bf (diff) | |
| download | PROJ-04844ac495f65e824a0bd9f9e49ea3360f2c063f.tar.gz PROJ-04844ac495f65e824a0bd9f9e49ea3360f2c063f.zip | |
Apply multiplier in proj_vgrid_value()
Diffstat (limited to 'src/transformations')
| -rw-r--r-- | src/transformations/vgridshift.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transformations/vgridshift.cpp b/src/transformations/vgridshift.cpp index 664010b8..4cd48fb6 100644 --- a/src/transformations/vgridshift.cpp +++ b/src/transformations/vgridshift.cpp @@ -26,7 +26,7 @@ static PJ_XYZ forward_3d(PJ_LPZ lpz, PJ *P) { if (P->vgridlist_geoid != nullptr) { /* Only try the gridshift if at least one grid is loaded, * otherwise just pass the coordinate through unchanged. */ - point.xyz.z += Q->forward_multiplier * proj_vgrid_value(P, point.lp, Q->forward_multiplier); + point.xyz.z += proj_vgrid_value(P, point.lp, Q->forward_multiplier); } return point.xyz; @@ -41,7 +41,7 @@ static PJ_LPZ reverse_3d(PJ_XYZ xyz, PJ *P) { if (P->vgridlist_geoid != nullptr) { /* Only try the gridshift if at least one grid is loaded, * otherwise just pass the coordinate through unchanged. */ - point.xyz.z -= Q->forward_multiplier * proj_vgrid_value(P, point.lp, Q->forward_multiplier); + point.xyz.z -= proj_vgrid_value(P, point.lp, Q->forward_multiplier); } return point.lpz; |
