<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Locator Suggestion Issue When Street Predirection Is Present in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/locator-suggestion-issue-when-street-predirection/m-p/439530#M5308</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.NET Runtime Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More fun with locators!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When feeding a suggestion to a street address locator created in ArcGIS Pro 2.4 (and presumably every version before where the Create Locator tool was first available), using SuggestAsync on a Locator task with a street name that is just a number and contains a predirection (ie. 12944 S 124 W Ave, Tulsa, OK), the 124 part seems to “reset” the suggestions and it uses 124 as the address number instead of the address street name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the same locator in both ArcGIS Runtime SDK and ArcGIS Pro:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/453454_runtimelocatorsearch.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/453533_arcprolocatorsearch.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to clarify, this is using v100.5.0 of the ArcGIS Runtime SDK for .NET.&amp;nbsp; The issue does not seem to manifest in runtime when excluding the predirection (S), but including the predirection is necessary in our workflow.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/453534_runtimelocatorsearchwithoutpredirection.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pro and Runtime are using the same locator (TulsaOK_Centerline_Locator6).&amp;nbsp; Here is the code snippet being used to get the suggestions from the locator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; (BaseMap.LocatorTask != &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; &amp;amp;&amp;amp; BaseMap.LocatorTask.LoadStatus == Esri.ArcGISRuntime.LoadStatus.Loaded &amp;amp;&amp;amp; BaseMap.LocatorTask.LocatorInfo.SupportsSuggestions)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; suggestParams = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; SuggestParameters { MaxResults = 10, SearchArea = BaseMap.Maps[0].InitialViewpoint.TargetGeometry };&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; suggestions = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;await&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; BaseMap.LocatorTask.SuggestAsync(LocationSearchBox.Text, suggestParams);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ObservableCollection&amp;lt;SuggestResult&amp;gt; sr = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; ObservableCollection&amp;lt;SuggestResult&amp;gt;(suggestions);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LocationResultsListBox.ItemsSource = sr;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BaseMap is the MobileMapPackage that the locator was exported with.&amp;nbsp; The MMPK was created in ArcGIS Pro 2.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have noticed that subtle parameter differences in SuggestParameters cause large differences in the outcome.&amp;nbsp; For instance, if &lt;SPAN style="font-size: 9.5pt; color: black;"&gt;SearchArea = BaseMap.Maps[0].InitialViewpoint.TargetGeometry &lt;/SPAN&gt;was removed from the SuggestParameters, the results would be radically different, so I’m wondering if there’s another SuggestParameter property that needs to be set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jul 2019 20:25:27 GMT</pubDate>
    <dc:creator>KyleGruber</dc:creator>
    <dc:date>2019-07-18T20:25:27Z</dc:date>
    <item>
      <title>Locator Suggestion Issue When Street Predirection Is Present</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/locator-suggestion-issue-when-street-predirection/m-p/439530#M5308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.NET Runtime Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More fun with locators!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When feeding a suggestion to a street address locator created in ArcGIS Pro 2.4 (and presumably every version before where the Create Locator tool was first available), using SuggestAsync on a Locator task with a street name that is just a number and contains a predirection (ie. 12944 S 124 W Ave, Tulsa, OK), the 124 part seems to “reset” the suggestions and it uses 124 as the address number instead of the address street name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the same locator in both ArcGIS Runtime SDK and ArcGIS Pro:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/453454_runtimelocatorsearch.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/453533_arcprolocatorsearch.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to clarify, this is using v100.5.0 of the ArcGIS Runtime SDK for .NET.&amp;nbsp; The issue does not seem to manifest in runtime when excluding the predirection (S), but including the predirection is necessary in our workflow.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/453534_runtimelocatorsearchwithoutpredirection.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pro and Runtime are using the same locator (TulsaOK_Centerline_Locator6).&amp;nbsp; Here is the code snippet being used to get the suggestions from the locator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; (BaseMap.LocatorTask != &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; &amp;amp;&amp;amp; BaseMap.LocatorTask.LoadStatus == Esri.ArcGISRuntime.LoadStatus.Loaded &amp;amp;&amp;amp; BaseMap.LocatorTask.LocatorInfo.SupportsSuggestions)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; suggestParams = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; SuggestParameters { MaxResults = 10, SearchArea = BaseMap.Maps[0].InitialViewpoint.TargetGeometry };&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; suggestions = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;await&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; BaseMap.LocatorTask.SuggestAsync(LocationSearchBox.Text, suggestParams);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ObservableCollection&amp;lt;SuggestResult&amp;gt; sr = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; ObservableCollection&amp;lt;SuggestResult&amp;gt;(suggestions);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LocationResultsListBox.ItemsSource = sr;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BaseMap is the MobileMapPackage that the locator was exported with.&amp;nbsp; The MMPK was created in ArcGIS Pro 2.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have noticed that subtle parameter differences in SuggestParameters cause large differences in the outcome.&amp;nbsp; For instance, if &lt;SPAN style="font-size: 9.5pt; color: black;"&gt;SearchArea = BaseMap.Maps[0].InitialViewpoint.TargetGeometry &lt;/SPAN&gt;was removed from the SuggestParameters, the results would be radically different, so I’m wondering if there’s another SuggestParameter property that needs to be set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2019 20:25:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/locator-suggestion-issue-when-street-predirection/m-p/439530#M5308</guid>
      <dc:creator>KyleGruber</dc:creator>
      <dc:date>2019-07-18T20:25:27Z</dc:date>
    </item>
  </channel>
</rss>

