<?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 Re: Problems with the Rest World Geocoding Service  in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problems-with-the-rest-world-geocoding-service/m-p/324748#M1588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like you are trying to enter a partial street name and expect it to return results based on that.&amp;nbsp; Is that correct?&amp;nbsp; If so, you should really be using the "suggest" operation instead to get suggestion results and then use the suggest results to send to the findAddressCandidates operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex.&lt;/P&gt;&lt;P&gt;&lt;A href="http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/suggest?text=rue+Notre-Da&amp;amp;countryCode=CA&amp;amp;location=-75%2C45&amp;amp;f=pjson"&gt;http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/suggest?text=rue+Notre-Da&amp;amp;countryCode=CA&amp;amp;location=-75%2C45&amp;amp;f=pjson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the text and magicKey to send to the findAddressCandidates operation.&amp;nbsp; I am choosing the first one in this example:&lt;/P&gt;&lt;P&gt;&lt;A href="http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?CountryCode=CA&amp;amp;SingleLine=Rue+Notre+Dame%2C+Cornwall%2C+Ontario%2C+K6J%2C+CAN&amp;amp;outFields=*&amp;amp;maxLocations=7&amp;amp;location=-75%2C45&amp;amp;magicKey=dHA9MCNsb2M9ODk0ODg3MSNsbmc9NDIjbGJzPTEwOTozNTQ0NjQ4OQ%3D%3D&amp;amp;f=pjson"&gt;http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?CountryCode=CA&amp;amp;SingleLine=Rue+Notre+Dame%2C+Cornwall%2C+Ontario%2C+K6J%2C+CAN&amp;amp;outFields=*&amp;amp;maxLocations=7&amp;amp;location=-75%2C45&amp;amp;magicKey=dHA9MCNsb2M9ODk0ODg3MSNsbmc9NDIjbGJzPTEwOTozNTQ0NjQ4OQ%3D%3D&amp;amp;f=pjson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The findAddressCandidates operation doesn't search for partial inputs.&amp;nbsp; It does handle aliases and typos but not partial input strings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Nov 2017 18:09:50 GMT</pubDate>
    <dc:creator>BradNiemand</dc:creator>
    <dc:date>2017-11-28T18:09:50Z</dc:date>
    <item>
      <title>Problems with the Rest World Geocoding Service</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problems-with-the-rest-world-geocoding-service/m-p/324747#M1587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are having a difficult time trying to explain certain&amp;nbsp;score obtain when requesting the Rest World Geocoding Service. Anyone can help us out?&lt;/P&gt;&lt;P&gt;We are looking for the "rue Notre-Dame" [in the province of Quebec] and when launching&amp;nbsp;this request:&lt;/P&gt;&lt;P&gt;&lt;A href="https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?SingleLine=rue%20Notre-da%20&amp;amp;f=pjson&amp;amp;distance=50000&amp;amp;location=-75,45&amp;amp;countryCode=CA&amp;amp;maxLocations=6"&gt;https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?SingleLine=rue%20Notre-da%20&amp;amp;f=pjson&amp;amp;distance=50000&amp;amp;location=-75,45&amp;amp;countryCode=CA&amp;amp;maxLocations=6&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are obtaining :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;"candidates": [&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp; "address": "Rue du passage, Grand-Mère, Shawinigan, Québec, G9T",&amp;nbsp;&amp;nbsp;&amp;nbsp; "location": {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "x": -72.687233532632504,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "y": 46.604699724003538&amp;nbsp;&amp;nbsp;&amp;nbsp; },&amp;nbsp;&amp;nbsp;&amp;nbsp; "score": 89.400000000000006,&amp;nbsp;&amp;nbsp;&amp;nbsp; "attributes": {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&amp;nbsp;&amp;nbsp;&amp;nbsp; "extent": {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "xmin": -72.688233532632509,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "ymin": 46.60369972400354,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "xmax": -72.6862335326325,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "ymax": 46.605699724003536&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp; },&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp; "address": "Rue Rd, Fort McMurray, Wood Buffalo, Alberta, T9H",&amp;nbsp;&amp;nbsp;&amp;nbsp; "location": {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "x": -111.15360547309186,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "y": 56.660170619287101&amp;nbsp;&amp;nbsp;&amp;nbsp; },&amp;nbsp;&amp;nbsp;&amp;nbsp; "score": 93.030000000000001,&amp;nbsp;&amp;nbsp;&amp;nbsp; "attributes": {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&amp;nbsp;&amp;nbsp;&amp;nbsp; "extent": {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "xmin": -111.15460547309186,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "ymin": 56.659170619287103,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "xmax": -111.15260547309185,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "ymax": 56.661170619287098&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp; },&lt;/PRE&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even though there are many Notre-Dame streets in Quebec, the first candidate as nothing to do with "Notre-Da" and the score is 89.4!&lt;/P&gt;&lt;P&gt;Do you see something in our request?&lt;/P&gt;&lt;P&gt;How should we use the distance and the location parameters?&lt;/P&gt;&lt;P&gt;Any clue as why we obtain this score?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;J-F&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2017 21:50:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problems-with-the-rest-world-geocoding-service/m-p/324747#M1587</guid>
      <dc:creator>Jean-FrançoisDolbec</dc:creator>
      <dc:date>2017-11-13T21:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with the Rest World Geocoding Service</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problems-with-the-rest-world-geocoding-service/m-p/324748#M1588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like you are trying to enter a partial street name and expect it to return results based on that.&amp;nbsp; Is that correct?&amp;nbsp; If so, you should really be using the "suggest" operation instead to get suggestion results and then use the suggest results to send to the findAddressCandidates operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex.&lt;/P&gt;&lt;P&gt;&lt;A href="http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/suggest?text=rue+Notre-Da&amp;amp;countryCode=CA&amp;amp;location=-75%2C45&amp;amp;f=pjson"&gt;http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/suggest?text=rue+Notre-Da&amp;amp;countryCode=CA&amp;amp;location=-75%2C45&amp;amp;f=pjson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the text and magicKey to send to the findAddressCandidates operation.&amp;nbsp; I am choosing the first one in this example:&lt;/P&gt;&lt;P&gt;&lt;A href="http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?CountryCode=CA&amp;amp;SingleLine=Rue+Notre+Dame%2C+Cornwall%2C+Ontario%2C+K6J%2C+CAN&amp;amp;outFields=*&amp;amp;maxLocations=7&amp;amp;location=-75%2C45&amp;amp;magicKey=dHA9MCNsb2M9ODk0ODg3MSNsbmc9NDIjbGJzPTEwOTozNTQ0NjQ4OQ%3D%3D&amp;amp;f=pjson"&gt;http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?CountryCode=CA&amp;amp;SingleLine=Rue+Notre+Dame%2C+Cornwall%2C+Ontario%2C+K6J%2C+CAN&amp;amp;outFields=*&amp;amp;maxLocations=7&amp;amp;location=-75%2C45&amp;amp;magicKey=dHA9MCNsb2M9ODk0ODg3MSNsbmc9NDIjbGJzPTEwOTozNTQ0NjQ4OQ%3D%3D&amp;amp;f=pjson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The findAddressCandidates operation doesn't search for partial inputs.&amp;nbsp; It does handle aliases and typos but not partial input strings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 18:09:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/problems-with-the-rest-world-geocoding-service/m-p/324748#M1588</guid>
      <dc:creator>BradNiemand</dc:creator>
      <dc:date>2017-11-28T18:09:50Z</dc:date>
    </item>
  </channel>
</rss>

