The geolocation question type takes location data and uses it in forms. It can be used as a:
- Selector: Opens a map view on a mobile device and allows mobile users to select a location.
- Stamp: Acquires the current location for use in forms.
- A stamp is collected whenever the page containing the stamp question is opened in the form.
Control Types: Selector, Stamp.
- There are no configurable geolocation properties.
Available Restrictions: See Question and Data Types: Restrictions.
Location Services must be enabled for ProntoForms on your mobile device in order for a Geo Location to be collected. This is an OS-level setting.
Note: The mobile device battery may discharge more quickly when Location Services is enabled.
Location Accuracy and Working Indoors
As GPS technology only functions in areas where there is satellite visibility, most GPS devices do not work well indoors. On iPhone and Android devices, assisted GPS is used to determine location, using network information in addition to satellite data. Although less precise, these technologies can provide a location when indoors where a GPS signal is not available.
- Mobile users who work primarily outdoors are good candidates to use the Geo Location capability on any of the supported devices.
- Where some form of Geo Stamp/Control is still desired, although location precision is not as critical, the Android and iPhone Geo Location capability offer a network-based location that can usually be acquired indoors.
Location fixes are split into two classifications depending on the accuracy: Fine and Coarse. This accuracy is determined by the system services used for the fix. GPS would be considered Fine, while Network would be considered Coarse. ProntoForms stores the most recent location fine AND coarse location fix; whenever a new fix is returned, it replaces the previous fix for that accuracy.
The logic to determine whether to grab the fine location fix or the coarse location fix is as follows:
- If a fine location fix was acquired within the last 5 minutes, use it.
- Otherwise if only one of the fine or coarse location fixes are available and it is still considered valid (obtained within the last 5 minutes), use that.
- Finally, if both fine and coarse location fixes are available, grab the most recently obtained that is valid (within 5 minutes).
Consequently, in areas of poor satellite visibility, the Geo Location information displayed in the form may be up to 5 minutes old. Note that the date/time collected with the Geo Location information will show the time the fix was acquired.
When dispatching into Geolocation data using Bulk Dispatch, you must convert your addresses into latitude and longitude coordinates.
If you need assistance doing this, web-based tools such as LatLong.Net may prove helpful. ProntoForms does not endorse any particular service.