Skip to content
Permalink
Browse files

QgsCoordinateTransform::transformCoords(): do not convert elevations …

…to radians

Fixes #14702
  • Loading branch information
rouault committed Jun 27, 2016
1 parent 8610175 commit af2993e97b5a4ab98107bdce86780d11dca91109
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/core/qgscoordinatetransform.cpp
@@ -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;
}

}
@@ -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

0 comments on commit af2993e

Please sign in to comment.
You can’t perform that action at this time.