Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field calculator "Area" #17573

Closed
qgib opened this issue Oct 17, 2013 · 1 comment
Closed

Field calculator "Area" #17573

qgib opened this issue Oct 17, 2013 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@qgib
Copy link
Contributor

qgib commented Oct 17, 2013

Author Name: Jonathan Moules (Jonathan Moules)
Original Redmine Issue: 8895
Affected QGIS version: 2.0.1


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

Result:
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.

@qgib
Copy link
Contributor Author

qgib commented Oct 17, 2013

Author Name: Giovanni Manghi (@gioman)


this issue was already fixed in master. It does happen when you have OTFR enabled, regardless if you are really reprojecting something.


  • resolution was changed from to invalid
  • status_id was changed from Open to Closed

@qgib qgib added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

No branches or pull requests

1 participant