mobile icon indicating copy to clipboard operation
mobile copied to clipboard

Default value is not applied for the position variable in the first instance

Open saberraz opened this issue 3 years ago • 1 comments

I have a project with the @position_latitude @position_longitude as defaults for lat and long in the table. https://public.cloudmergin.com/projects/saber/12-gps-buff

When I try to record a point for the first time, the default values are not applied. I need to edit geometry or add a new point for the values to appear.

saberraz avatar Feb 15 '22 09:02 saberraz

this bug also causes the other GNSS variables not to be filled out, such as @position_horizontal_accuracy and @position_from_gps

Sometimes the first point one takes of the day is the most important if it is a survey stake and then the accuracy info is missing. I tried to circumvent it by setting a non-null constraint on the @position_from_gps but then if you go back in and move a point's location you can't save the record because of the constraint

rjwillson avatar Jun 28 '22 15:06 rjwillson

A project to test can be found here: https://app.merginmaps.com/projects/saber/gps_defaults

saberraz avatar Sep 06 '22 10:09 saberraz