Bug report #8895
Field calculator "Area"
|Affected QGIS version:||2.0.1||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||invalid|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||17573|
I have a shapefile with two polygons - EPSG:27700 (British national grid).
- Enable editing
- Open field calculator
- "update existing field" (which is was set to a 10 width "real" at shapefile creation time)
- expression: $area
Result: One of them has a value of "0", the other one has a value of "243914090660769".
- save changes
- close table
- re open table
The one that was 0 is still 0. The other one has a new value: "-1397046367".
I guess maybe QGIS doesn't like the format I used for the number, but rather than provide erroneous results, QGIS should warn the user.