Skip to content

Commit 19c1dc6

Browse files
committedMay 21, 2015
Fix #12406 (measured area is wrong when computed on ellipsoid)
Introduced in e568493
1 parent a80c349 commit 19c1dc6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/core/qgsdistancearea.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,11 @@ bool QgsDistanceArea::setEllipsoid( const QString& ellipsoid )
232232
// set transformation from project CRS to ellipsoid coordinates
233233
mCoordTransform->setDestCRS( destCRS );
234234

235+
mEllipsoid = ellipsoid;
236+
235237
// precalculate some values for area calculations
236238
computeAreaInit();
237239

238-
mEllipsoid = ellipsoid;
239240
return true;
240241
}
241242

0 commit comments

Comments
 (0)
Please sign in to comment.