I am trying to use the QGIS Field Calculator to calculate the area of a feature. When I do this, the area returned is calculated using the planimetric method. This differs to $area which uses the ellipsoidal method.
When I try area(intersection(feature1, feature2), it returns the planimetric area, but I need the ellipsoidal area.
How can I change the method of the area command from planimetric to ellipsoid in QGIS? Or is there a way to get the ellipsoidal area of intersection(feature1, feature2) in Field Calculator?

$areaalready gives ellipsoidal area. – Kadir Şahbaz Sep 22 '20 at 18:47area($geometry)which returns the planimetric area, 2.$areawhich returns ellipsoidal area. Which method do you use to calculate the area of a feature? – Kadir Şahbaz Sep 23 '20 at 08:37area($geometry)to calculate ellipsoidal area instead of planimetric area?". If you mean that, you need to change source code of QGIS. – Kadir Şahbaz Sep 23 '20 at 08:52area_v2(feature1, feature2). There is a simple tutorial here. – Kadir Şahbaz Sep 24 '20 at 21:49