Bug report #3500
fTools: unsufficient field width for Area and Perimeter fields
|Affected QGIS version:||Regression?:|
|Operating System:||All||Easy fix?:|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||13560|
I try to calculate area with ftools add geometry column. I have noted that in automatic new field “AREA” have this properties type=real lenght=10 > precision=6, this involve an error, some numbers are lost, because the Area number have lenght>10.
Example: if I calculate Piedmont area with Ftools obtain 2539107283
if I calculate the same Area , add new column (type real lenght=20
precision=5) and use calc field ($area) I obtain 25391072834.9971.
#3 Updated by Alexander Bruy almost 10 years ago
Well, I extend field width for AREA, PERIMETER, XCOORD and YCOORD in 3c0f834e (SVN r15740).
But I think it is better to allow users select desired field width and precision. Unfortunately now we are in string and feature freeze, so I'll add this after 1.7