Returns the altitude of the user's last position.

1 system.user.getGPSAltitude

<system.user.getGPSAltitude code='code'/>
Example

Obtain the last altitud in which the user was by default.

Copy
<xsql-script name='system_user_getAltitude_sample1'>
    <body>
        <println>
            <system.user.getGPSAltitude />
        </println>
    </body>
</xsql-script>

If you do not pass a user code via the attribute code, the system returns the value related with the user which executes the command.

Example

Obtain the latitude of a specific user.

Copy
<xsql-script name='system_user_getAltitude_sample2'>
    <body>
        <println>
            <system.user.getGPSAltitude code='bpr'/>
        </println>
    </body>
</xsql-script>

Informing the attribute code, the system returns the value related with the specified user code.