Bug report #21650

calculator not returning correct area

Added by garret w almost 5 years ago. Updated almost 5 years ago.

Category:Field calculator
Affected QGIS version:3.4.4 Regression?:No
Operating System:ubuntu Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:29466


while using field calculator to calculate acres from ft (state plane 3435 (ft) > acres). I am not getting expected results. I've tried this on QGIS 3.4.4, and 2.18.28.
My formula is:
$area * 0.0000229568

I double checked in postgis. This is returning expected numbers:
st_area(geom) * 0.0000229568


#1 Updated by Nyall Dawson almost 5 years ago

  • Resolution set to invalid
  • Status changed from Open to Rejected

They are two totally different calculations - the PostGIS one is the equivalent of QGIS'


The other is an ellipsoidal area, calculated using the settings from your project properties.

#2 Updated by garret w almost 5 years ago

Ah, I see. Thanks!

Also available in: Atom PDF