QField icon indicating copy to clipboard operation
QField copied to clipboard

Expose Antenna Height from Settings with a expression variable

Open Benwaa74 opened this issue 3 years ago • 1 comments

A small enhancement

Would be good to be able to record the antenna height that is set under the Antenna height compensation option.

The antenna height (pole height) is often used by surveyors both for QA purposes and/or further post processing. It is also critical in determining the corrected (reduced level) of surveyed points. Recording the antenna height can be done manually in a form field, but if the operator changes the pole height during a field survey (which can sometimes happen frequently) it is necessary to change it not only in the settings but also in the form field.

To be able to access a variable to read the value stored in the settings would be a great help as it would mean only having to change it in the one place. For example, a variable called @antenna_height (or similar) could be used as the Default value in a field which would read the value stored in the settings.

Reproduction Steps:

  1. Set Antenna height value under the Antenna height compensation option in settings
  2. Digitise a point
  3. Read the value into a form field from settings using the variable @antenna_height.

QField version: 1.8.2

Additional information:

  • Problem started happening recently, didn't happen in an older version of QField: [No]
  • Problem can be reliably reproduced, doesn't happen randomly: [Yes]
  • Problem happens with all files and projects, not only some files or projects: [Yes]

Please ask if you need any further information/clarification.

Thanks

Ben

Benwaa74 avatar Jan 30 '21 10:01 Benwaa74

that would be a very welcome addition!

soester avatar Feb 02 '21 13:02 soester