Bug report #12622
In virtual fields $area function computes always values using "None/planimetric" ellipsoid
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Field calculator | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 20739 |
Description
New description:
in QGIS master area calculations seems to be (finally) sorted out/fixed. Anyway it seems that when computing $area in Virtual Fields then the None/planimetric" option for the ellipsoid regardless what the one is configured in the project properties.
Old description:
After doing some reading, i think i will file this problem as an issue:
I have a new shapefile layer in CRS 3857, in a project that has the same CRS. Under project properties, the measure tool is on ellipsoid WGS 84.
When i use the normal field calculator to create a new field for the layer and use the function "$area", the fields get filled with the correct values.
Now when i use the field calculator to add a virtual field with the function "$area", the values in the field represent the area value of the features calculated without ellipsoid (None/Planimetric).
I suppose it's similar or related to issue #12057
Related issues
Associated revisions
History
#1 Updated by Giovanni Manghi over 9 years ago
- Status changed from Open to Feedback
I "cannot" confirm, in the sense that here (qgis master) the area values computed with OTFR are completely bogus as per #12057
#2 Updated by Giovanni Manghi over 9 years ago
- Target version changed from Version 2.8.1 to Version 2.8.2
#3 Updated by Jürgen Fischer over 9 years ago
- Target version changed from Version 2.8.2 to Future Release - High Priority
#4 Updated by Giovanni Manghi about 9 years ago
- Status changed from Feedback to Open
- Subject changed from Virtual field $area function not using same Ellipsoid setting as normal field Calculator to In virtual fields $area function computes always values using "None/planimetric" ellipsoid
- Affected QGIS version changed from 2.8.1 to master
- Target version deleted (
Future Release - High Priority)
#5 Updated by Nyall Dawson almost 9 years ago
- Status changed from Open to Closed
Fixed in changeset 4094bae960a8521eca6dfe281408ae2e9ad773be.