use GPS sensor data to set a location field #1579
Labels
released on @master
managed by CI (semantic-release)
released
managed by CI (semantic-release)
Type: Feature
new user-facing feature
As a social field worker I want to record the location of a participant's home with the GPS of my device to quickly document it even if no clear address exists.
Objective
The "location" field datatype currently allows the user to either type a written address and search its geolocation or open an (OpenStreetmap) visual map and manually place a pin on that map. If no accurate streetnames exist or users are mostly doing field visits, this is not possible or convenient. Instead, there should be the option to use GPS location also.
With this new feature, the location field in the app will show an additional location-crosshairs icon next to the address input/search box. When the user clicks on that icon, the device's GPS sensor is accessed (if available) and the current location is loaded and set for the location field. The user sees a preview of the location in the map visualization and confirms this.
The behaviour and result of using the GPS sensor should be the same as clicking on the map to manually place a pin/location. (e.g. reverse-lookup of address should be supported to suggest a written address for display or otherwise a label is displayed that explains the location was fixed through GPS; see #1563 / #139).
Proposed Solutions & Alternatives
The text was updated successfully, but these errors were encountered: