mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Fix #12406 (measured area is wrong when computed on ellipsoid)
Introduced in e568493
This commit is contained in:
parent
a80c3496ac
commit
19c1dc69e9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user