English

FAQ: Is it possible to view a geopoint location from Survey123 Connect for ArcGIS in Google Maps?

Question

Is it possible to view a geopoint location from Survey123 Connect for ArcGIS in Google Maps?

Answer

Yes, it is possible to view a geopoint location from Survey123 Connect for ArcGIS in Google Maps. To do so, use one of the following options:

Use an expression in the Survey123 Connect for ArcGIS application
The expression containing the pulldata() function is added to the XLSForm. However, this process only works in the Survey123 for ArcGIS application and not in the browser.

  1. In the XLSForm, use geopoint as a question type to capture the location of the survey.
Use geopoint as the question type
  1. Use note as a question type and fill in the name and label field.
Use note as a question type
  1. In the calculation field, enter the following expression:
concat('<a href="https://www.google.com/maps?daddr=',pulldata ("@geopoint", ${geopoint_name}, "y"), ',' ,pulldata("@geopoint", ${geopoint_name}, "x"), concat('&amp;ll=">Click to open</a>'))
  1. Click Save icon to save the XLSForm.
Insert expression in the calculation field

In Form Preview in the Survey123 Connect for ArcGIS application, select the desired location in Location Selector and select Click to open to view the location in Google Maps.

Click the Click to open icon to open the location in Google Maps
Google Maps is opened in a web browser

Use an online map in the survey
The default basemap in the Survey123 Connect for ArcGIS map setting can be changed from the Survey123 field app in the menu on the map page of the survey. To change the basemap, a URL must be added to the survey .info file. For more information, refer to Survey123 for ArcGIS: Use an online map in your survey.

Related Information