laptop and a wrench

Error

The LocatorTask.ReverseGeocodeAsync method does not return any attribute information only for the offline locator.

Última publicación: August 11, 2017 ArcGIS Runtime SDK
Número de ID del error BUG-000102342
EnviadoJanuary 24, 2017
Última modificaciónJune 5, 2024
Relacionado conArcGIS Runtime SDK
Versión encontrada100.0.0
Sistema operativoWindows OS
Versión de sistema operativo10.0
EstadoWill Not Be Addressed

Información adicional

The default return fields for an ArcGIS Runtime locator dataset are Match_addr for a non-composite locator, and Match_addr and Loc_Name for a composite locator. To return additional fields, field names should be added to the ReverseGeocodeParameters.ResultAttributeNames property. Additionally an asterisk ("*") can be used to return all fields.

Solución alternativa

One or more attribute names must be added to the ReverseGeocodeParameters.ResultAttributeNames property, or alternatively "*" for all attributes. ReverseGeocodeParameters rgParams = new ReverseGeocodeParameters();rgParams.MaxDistance = 10;rgParams.OutputSpatialReference = MyMapView.Map.SpatialReference;rgParams.MaxResults = 5;rgParams.ResultAttributeNames.Add("*");

Pasos para reproducir

ID del error: BUG-000102342

Software:

  • ArcGIS Runtime SDK

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

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