-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Attributes Form gives Wrong value for $area #27854
Comments
Author Name: Giovanni Manghi (@gioman) For me on linux an Int64 returns null.
|
Author Name: Lene Fischer (@LeneFischer) Regression from 3.2 to 3.3 sorry If I have misunderstood that ...
|
Author Name: Giovanni Manghi (@gioman) Lene Fischer wrote:
Hi Lene, Anyway here on master (linux) if the field is an Int64 it gives NULL, so no difference with 3.2 (still a bug anyway).
|
Author Name: Loïc BARTOLETTI (@lbartoletti) What are:
Also, what are the area from measurement tools or postgis/spatialite st_area functions? Can you send the geometry and maybe the project?
|
Author Name: Paolo Cavallini (@pcav) Please give us feedback or close this issue. Thanks. |
Author Name: Nyall Dawson (@nyalldawson)
|
Author Name: Lene Fischer (@LeneFischer)
Original Redmine Issue: 20032
Affected QGIS version: 3.3(master)
Redmine category:forms
Using Geopackage setting 'Attributes form' to Text Edit Default value using $area and apply default value on update.
I get following result for different field types and for different versions
Int and Int64 gives failure
Version3.3 2aef195
If the field is an Int it gives NULL
If the field is decimal it gives eg. 5838,240008868463
If the field is an Int64 it gives 5838240008868463 same numbers but no decimal or round
Version 3.2 9b17680
If the field is an Int it gives 5838240008868463 same numbers but no decimal or round
If the field is decimal it gives eg. 5838,240008868463
If the field is an Int64 it gives NULL
When setting the Attributes form
Int64 and Decimal start as Text Edit and Int as Range
The text was updated successfully, but these errors were encountered: