Skip to content
Permalink
Browse files
Fix #12406 (measured area is wrong when computed on ellipsoid)
Introduced in e568493
  • Loading branch information
wonder-sk committed May 21, 2015
1 parent a80c349 commit 19c1dc69e9ff09cbb4323cb73a64c7cd805dc63f
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/qgsdistancearea.cpp
@@ -232,10 +232,11 @@ bool QgsDistanceArea::setEllipsoid( const QString& ellipsoid )
// set transformation from project CRS to ellipsoid coordinates
mCoordTransform->setDestCRS( destCRS );

mEllipsoid = ellipsoid;

// precalculate some values for area calculations
computeAreaInit();

mEllipsoid = ellipsoid;
return true;
}

0 comments on commit 19c1dc6

Please sign in to comment.