Preguntas frecuentes

¿Es posible que las encuestas de ArcGIS Survey123 con geocodificación inversa con ArcGIS World Geocoder estén accesibles para los usuarios públicos?

Last Published: June 19, 2024

Respuesta

Reverse geocoding using the ArcGIS World Geocoder consumes credits and requires users to sign in to an ArcGIS Online organizational account. However, it is possible for ArcGIS Survey123 surveys with reverse geocoding using the ArcGIS World Geocoder to be accessible to public users.

Use a different locator service

In ArcGIS Survey123 Connect, specify the URL to a custom locator as a parameter in the calculation column in the XLSForm using the following format:

pulldata("@geopoint",${location},"reversegeocode.address.Match_addr","https://yourlocatorservice/GeocodeServer")

Add the ArcGIS World Geocoder to the ArcGIS Online content

Note:
The following workflow makes the reverse geocoding available to public users, however, the credits consumed are charged against the author’s ArcGIS Online service credits. To limit the usage of the author’s locator service, apply a rate limit or add a referrer URL or IP. 
Refer to How To: Limit access to secured hosted services in ArcGIS Online for public-facing web applications for more information.
  1. Log in to the ArcGIS Online organizational account.
  2. Click Content > My Content.
  3. Click + New item, and select URL, as shown in the next image:
Adding a new URL item
  1. In the New item window, paste the following URL to ArcGIS World Geocoder in the URL box and make sure that the ArcGIS Server web service is selected for Type.
https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer
  1. In the New item dialog shown below, toggle on the switch to enable the Store credentials with service item. Do not prompt for authentication option and click Next.
eEnabling the new item options
  1. Add a username in the Enter username box, and password in the Enter password box with the credentials for an ArcGIS Online organizational account with geocoding privileges (both username and password are case-sensitive).
  2. Click Next.
Entering credentials
  1. Give the item a title and click Save. A new locator is added.
New locator item
  1. On the Overview tab of the locator's item details page, share the locator to the public. On the Settings tab, set the Limit Usage configurations if needed (for instance, to make your locator accessible only through your survey form. Refer to ArcGIS Online: Limit usage of secure services for more information).
The share the locator to public window from the locator's item details page.
  1. Copy the URL of the locator, and paste the link in the calculation column in the XLSForm using the following format:
pulldata("@geopoint",${location},"reversegeocode.address.Match_addr","https:// ")
The locator's URL to copy and paste to the XLSForm in the calculation column.
The pulldata function for reverse geocoding with the copied locator's URL.
  1. Save the changes, and publish the survey.

Id. de artículo: 000025328

Recibir notificaciones y encontrar soluciones a problemas nuevos o comunes

Obtenga respuestas resumidas y soluciones de vídeo de nuestro nuevo chatbot de IA.

Descargar la aplicación de soporte de Esri

Información relacionada

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga