Survey123: Can you move house address info to geopoint search?

3359
10
Jump to solution
05-15-2019 05:04 AM
JordanMiller4
Occasional Contributor III

Can you move house address information directory into the geopoint search?

0 Kudos
1 Solution

Accepted Solutions
JordanMiller4
Occasional Contributor III

Thank you. It took some reading to figure out how to get the reverse geocoding to work with Portal 106 due to an error or bug. But I found this workaround by Johnathan Hosthorpe and it's working.

https://community.esri.com/groups/survey123/blog/2018/07/06/understanding-reverse-geocoding-in-surve...

If you sign into a portal that uses the default geocode service configuration (i.e the inbuilt Esri World Geocoder item is at the top of the list in the portal settings) - you will get an error when trying to perform a reverse geocode using pulldata("@GeoPoint",${location},"reversegeocode") if you do not specify a URL parameter. This is because the app will use the first locator service in the portal list and if it is the default World Geocoder it will require a token (even though the service is public).

 

To get this working the user must create a proxy item in the portal and put this at the top of the locator list. See: https://docdev.arcgis.com/en/survey123/desktop/create-surveys/geopoints.htm#ESRI_SECTION1_E89036D9C3... 

 

Steps

  • Create an item in the portal org that links to the url for the world gecocode service (https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer) and has AGOL credentials saved into it. The credentials must be for an AGOL org user that has the permissions to perform geocodes (Geocoding).
  • Create a new locator in the portal based on the service URL of the item created above and add it the top of the locator list.
  • This will now be the default geocode service for the portal and will work for reverse geocodes (where a url paramter is not specified in the function).

View solution in original post

0 Kudos
10 Replies
Shwu-jingJeng
Esri Regular Contributor

Hi,

The geosearch does support geocoding function. You could type the house number and street information to search the address.

Geopoints—Survey123 for ArcGIS | ArcGIS 

Starting at Survey123 3.0, geopoint questions include geosearch functionality, allowing users to search for an address or point of interest and have the map zoom to and place the geopoint marker at this location.

Or you want to populate the House Number and Street fields info into geosearch?

0 Kudos
GabrielRodríguez_Rojas
New Contributor

Hello Shwu-jing Jeng,

I have the same question as Jordan Miller. I want to populate an address field into the geosearch rather than having to do reversegeocoding from a point into a field. 

The points that I'm trying to generate are quite precise and the properties provided from the reverse geocode are not what I want them to be.

-Gabriel

0 Kudos
Shwu-jingJeng
Esri Regular Contributor

Hi Gabriel,

Please see this post regarding the question you are asking.

https://community.esri.com/message/796297-can-you-pulldata-address-into-geosearch

We also have 'Calculate Location from CSV' Sample in Survey123 Connect which you can try.

GabrielRodríguez_Rojas
New Contributor

Thank you for your reply. 

0 Kudos
EricPescatore
Occasional Contributor

A great question would be are any of these requests placed on as a Feature Enhancement?  Not being able to adjust the geopoint question or work with the "geosearch" window to move the point based upon previous input fields seems a missed opportunity.

  • Ability to populate the geosearch from fields within the form, then have it move the geopoint on an Enhancement request. There doesn't seem to be anything for the Geocoding.

In my scenario, we are using Web Form of Survey123, so users would not necessarily have GPS or location enable, nor would they be at the location when they answer the questions.  We don't even want to have the geopoint question appear with the map. I just want the person to input the address and then update behind the scenes the geopoint centroid, so it doesn't end up of the coast of the Atlantic Ocean and so I don't have to geocode them after the fact. Perhaps I'm missing something but all i want Survey123 to do is geocode the XY location based upon the input address.

0 Kudos
JamesTedrick
Esri Esteemed Contributor

Hi Eric,

This has been noted as a potential enhancement for Survey123.  It would be helpful to place this use case with in ArcGIS Ideas; https://community.esri.com/ideas/15504 appears to be the same basic feature.

EricPescatore
Occasional Contributor

Thanks when I can find some time I'll travel to the Ideas page and write something up. I will also put it in as an enhancement request tied to our ESRI Customer number etc.

0 Kudos
JordanMiller4
Occasional Contributor III

Is it possible to pull the address from the geocode back to the fields similar to the youtube video below where he searches for an address on the geopoint map and it populates fields?

Survey123 GeoSearch

https://www.youtube.com/watch?v=4Rj9mbz7EH0

0 Kudos
Shwu-jingJeng
Esri Regular Contributor

Hi Jordan,

The demo in the YouTube video is "Reverse Geocode" function, which we do provide a sample of survey form available in Survey123 Connect. 

Open Survey123 Connect>New Survey>Click Samples and search "Reverse Geocode."