Skip to content

Commit

Permalink
QgsCoordinateTransform::transformCoords(): do not convert elevations …
Browse files Browse the repository at this point in the history
…to radians

Fixes #14702
  • Loading branch information
rouault committed Jun 27, 2016
1 parent 8610175 commit af2993e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/qgscoordinatetransform.cpp
Expand Up @@ -668,7 +668,6 @@ void QgsCoordinateTransform::transformCoords( int numPoints, double *x, double *
{
x[i] *= DEG_TO_RAD;
y[i] *= DEG_TO_RAD;
z[i] *= DEG_TO_RAD;
}

}
Expand Down Expand Up @@ -736,7 +735,6 @@ void QgsCoordinateTransform::transformCoords( int numPoints, double *x, double *
{
x[i] *= RAD_TO_DEG;
y[i] *= RAD_TO_DEG;
z[i] *= RAD_TO_DEG;
}
}
#ifdef COORDINATE_TRANSFORM_VERBOSE
Expand Down

0 comments on commit af2993e

Please sign in to comment.