Feature request #14624
Field Calculator: warn users when new field is not large enough to fit computed values
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||22589|
I am using QGIS 2.8.2 on Ubuntu 12.
When I calculate area of a polygon, Field calculator provides option of creating new field. If I do not provide appropriate (large enough) output field width, field calculator trims the area values.
If I set output field width =3 and precision=2 and perform area calculation, any area bigger than 999.99 will be converted, thus, 1200.20 will be converted to 120.20.
When I use the option Vector - Geometry Tools – Export/Add geometry columns, the area calculations are correct.
#1 Updated by Giovanni Manghi about 7 years ago
- Category set to Field calculator
- Subject changed from Field Calculator new field issue to Field Calculator: warn users when new field is not large enough to fit computed values
- Tracker changed from Bug report to Feature request
#2 Updated by Giovanni Manghi about 6 years ago
- Easy fix? set to No