Skip to content

Commit a7b1267

Browse files
committed
renamed data types
1 parent d5ab7fb commit a7b1267

1 file changed

Lines changed: 29 additions & 29 deletions

File tree

src/layer/variables/index.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ The <QGISPluginName /> adds several variables that can be used in QGIS expressio
1717

1818
| Variable name | Type | Sample value | Description |
1919
|-------------------------|-----------------|----------------|-------------|
20-
| `@mm_full_name` | string| `Joe Schmoe` | Full name of the currently logged in user, blank if the full name is not set |
21-
| `@mm_username` | string | `joe-schmoe` | Username of the user currently logged in to <MainPlatformNameLink /> |
22-
| `@mm_user_email` | string | `joe.schmoe@mail.com` | Email of the user currently logged in to <MainPlatformName /> |
23-
| `@mm_url` | string | `https://app.merginmaps.com` | URL of the <MainPlatformName /> service |
24-
| `@mm_project_name` | string | `My project` | Name of the active <MainPlatformName /> project |
25-
| `@mm_project_full_name` | string | `my-team/My project` | Workspace and project name joined with a forward slash |
26-
| `@mm_project_version` | integer | `9` | Current version of the active project |
20+
| `@mm_full_name` | Text (string) | `Joe Schmoe` | Full name of the currently logged in user, blank if the full name is not set |
21+
| `@mm_username` | Text (string) | `joe-schmoe` | Username of the user currently logged in to <MainPlatformNameLink /> |
22+
| `@mm_user_email` | Text (string) | `joe.schmoe@mail.com` | Email of the user currently logged in to <MainPlatformName /> |
23+
| `@mm_url` | Text (string) | `https://app.merginmaps.com` | URL of the <MainPlatformName /> service |
24+
| `@mm_project_name` | Text (string) | `My project` | Name of the active <MainPlatformName /> project |
25+
| `@mm_project_full_name` | Text (string) | `my-team/My project` | Workspace and project name joined with a forward slash |
26+
| `@mm_project_version` | Number (integer) | `9` | Current version of the active project |
2727

2828

2929
A common use case is to use `@mm_username` or `@mm_user_email` as the [default value](../default-values/) for one of the fields in a survey layer to automatically track who has added (and/or modified) a particular record.
@@ -42,29 +42,29 @@ Extra position variables can be used as [default values in feature forms](../def
4242

4343
| Variable name | Type | Description |
4444
|-------------------------|-----------------|-------------|
45-
| `@position_coordinate` | geometry | A point with the coordinates in WGS84 |
46-
| `@position_latitude` | decimal | Latitude |
47-
| `@position_longitude` | decimal | Longitude |
48-
| `@position_elevation` | decimal | Orthometric or normal height |
49-
| `@position_elevation_ellipsoid` | decimal | Ellipsoidal height |
50-
| `@position_geoid_separation` | decimal | Geoid or quasi-geoid height (undulation) |
51-
| `@position_direction` | integer | The bearing measured in degrees clockwise from true north to the direction of travel |
52-
| `@position_ground_speed` | decimal | The ground speed, in meters/sec |
53-
| `@position_vertical_speed` | decimal | The vertical speed, in meters/sec |
54-
| `@position_magnetic_variation` | decimal | The angle between the horizontal component of the magnetic field and true north, in degrees. Also known as magnetic declination. A positive value indicates a clockwise direction from true north and a negative value indicates a counter-clockwise direction. |
55-
| `@position_horizontal_accuracy` | decimal | The accuracy of the provided latitude-longitude value, in meters |
56-
| `@position_vertical_accuracy` | decimal | The accuracy of the provided altitude value, in meters |
45+
| `@position_coordinate` | Geometry | A point with the coordinates in WGS84 |
46+
| `@position_latitude` | Number (decimal) | Latitude |
47+
| `@position_longitude` | Number (decimal) | Longitude |
48+
| `@position_elevation` | Number (decimal) | Orthometric or normal height |
49+
| `@position_elevation_ellipsoid` | Number (decimal) | Ellipsoidal height |
50+
| `@position_geoid_separation` | Number (decimal) | Geoid or quasi-geoid height (undulation) |
51+
| `@position_direction` | Number (integer) | The bearing measured in degrees clockwise from true north to the direction of travel |
52+
| `@position_ground_speed` | Number (decimal) | The ground speed, in meters/sec |
53+
| `@position_vertical_speed` | Number (decimal) | The vertical speed, in meters/sec |
54+
| `@position_magnetic_variation` | Number (decimal) | The angle between the horizontal component of the magnetic field and true north, in degrees. Also known as magnetic declination. A positive value indicates a clockwise direction from true north and a negative value indicates a counter-clockwise direction. |
55+
| `@position_horizontal_accuracy` | Number (decimal) | The accuracy of the provided latitude-longitude value, in meters |
56+
| `@position_vertical_accuracy` | Number (decimal) | The accuracy of the provided altitude value, in meters |
5757
| `@position_from_gps` | Boolean | *True* if recorded/edited feature's geometry corresponds with current user's position (position marker has the same location as the crosshairs marker) |
58-
| `@position_satellites_visible` | integer | Number of visible satellites |
59-
| `@position_satellites_used` | integer | Number of satellites used to calculate the position |
60-
| `@position_gps_fix` | string | GPS fix, e.g. "RTK float" |
61-
| `@position_gps_antenna_height` | decimal | Antenna height as defined in [GPS settings](../../field/mobile-app-ui/#gps-settings) |
62-
| `@position_provider_type` | string | GPS device type (for internal GPS, returns "internal", for external GPS, returns "external") |
63-
| `@position_provider_name` | string | GPS device name (for internal GPS, returns "Internal", for external GPS, returns the name of the external device) |
64-
| `@position_provider_address` | string | GPS device address (for internal GPS, returns "<NoSpellcheck id="devicegps" />", for external GPS, returns the MAC address) |
65-
| `@position_hdop` | decimal | Horizontal dilution of precision (HDOP) |
66-
| `@position_vdop` | decimal | Vertical dilution of precision (VDOP) |
67-
| `@position_pdop` | decimal | Position (3D) dilution of precision (PDOP) |
58+
| `@position_satellites_visible` | Number (integer) | Number of visible satellites |
59+
| `@position_satellites_used` | Number (integer) | Number of satellites used to calculate the position |
60+
| `@position_gps_fix` | Text (string) | GPS fix, e.g. "RTK float" |
61+
| `@position_gps_antenna_height` | Number (decimal) | Antenna height as defined in [GPS settings](../../field/mobile-app-ui/#gps-settings) |
62+
| `@position_provider_type` | Text (string) | GPS device type (for internal GPS, returns "internal", for external GPS, returns "external") |
63+
| `@position_provider_name` | Text (string) | GPS device name (for internal GPS, returns "Internal", for external GPS, returns the name of the external device) |
64+
| `@position_provider_address` | Text (string) | GPS device address (for internal GPS, returns "<NoSpellcheck id="devicegps" />", for external GPS, returns the MAC address) |
65+
| `@position_hdop` | Number (decimal) | Horizontal dilution of precision (HDOP) |
66+
| `@position_vdop` | Number (decimal) | Vertical dilution of precision (VDOP) |
67+
| `@position_pdop` | Number (decimal) | Position (3D) dilution of precision (PDOP) |
6868

6969
:::tip
7070
**Dilution of precision** (DOP) is a useful value that reflects the confidence level of achieved position precision. In addition to the horizontal and vertical accuracy, the appropriate DOP value (horizontal, vertical, or 3D) can be used to assess the overall quality of your survey accuracy.

0 commit comments

Comments
 (0)