mobile
mobile copied to clipboard
Default value is not applied for the position variable in the first instance
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.
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
A project to test can be found here: https://app.merginmaps.com/projects/saber/gps_defaults