[Users] How to add elevation field

Matthias Kuhn matthias at opengis.ch
Sat Dec 26 06:43:36 PST 2020


Try

    z(@position_coordinate)

As default value

Matthias

On Sat, Dec 26, 2020, 11:26 Grant Boxer <boxerg at iinet.net.au> wrote:

> Hi Mattias,
>
> I can't seem to find any documentation on that. Would the field entry be
> something like "position_coordinate(Altitude)"?
>
> Cheers Grant
> On 26/12/2020 4:09 pm, Matthias Kuhn wrote:
>
> Hi Grant
>
> See
> https://qfield.org/docs/prepare/attributes-form.html#additional-variables
>
> It's possible to extract this from @position_coordinate with the z
> function.
> It'd be great if you could add that example to the docs.
>
> Bests
> Matthias
>
> On Sat, Dec 26, 2020, 00:44 Grant Boxer <boxerg at iinet.net.au> wrote:
>
>> Hi All, and hope everyone had a good Christmas. I have been
>> experimenting with QField and I have used the $x and $y to automatically
>> populate the Easting and Northings fields, but how do I use the GPS
>> height to populate the Z field. There seems to be no $z function. Any
>> thoughts?
>>
>> Cheers Grant
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.qfield.org
>> http://lists.qfield.org/listinfo.cgi/users-qfield.org
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qfield.org/pipermail/users-qfield.org/attachments/20201226/316374f9/attachment.htm>


More information about the Users mailing list