AnsweredAssumed Answered

Reverse Geocoding Returns Different Attributes With Composite Locator

Question asked by NimbusHex on Oct 22, 2019
Latest reply on Oct 22, 2019 by bniemand-esristaff

Hi all,

 

I currently have a support ticket open with ESRI about this, but figured it wouldn't hurt to also post it on the forum.  Reverse geocoding with a local file-based locator returns completely different output attributes when it's a composite locator vs single locator (point address or street address).

 

Single locator:

 

Composite Locator:

 

This issue is not seen with forward geocoding.

 

I'm using a Composite Address Locator made up of a Point Address Locator and Street Address Locator created with ArcGIS Pro 2.4.2.  I'm running ArcGIS Runtime v100.6 in a WPF application.  The code used with both composite and non-composite locators is identical and very simple.

 

var userLocation = MainMap.APSSMapView.ScreenToLocation(e.Position);
                ReverseGeocodeParameters p = new ReverseGeocodeParameters();
                p.ResultAttributeNames.Add("*");
                var closest = await MainMap.BaseMap.LocatorTask.ReverseGeocodeAsync(
                    userLocation, p);

 

Any ideas?  Is this expected behavior?

Outcomes