laptop and a wrench

Bug

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

Last Published: August 11, 2017 ArcGIS Runtime SDK
Bug ID Number BUG-000102342
SubmittedJanuary 24, 2017
Last ModifiedJune 5, 2024
Applies toArcGIS Runtime SDK
Version found100.0.0
Operating SystemWindows OS
Operating System Version10.0
StatusWill Not Be Addressed

Additional Information

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.

Workaround

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("*");

Steps to Reproduce

Bug ID: BUG-000102342

Software:

  • ArcGIS Runtime SDK

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options