<?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: Geocoder not returning any address candidates from JavaScript API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoder-not-returning-any-address-candidates-from/m-p/254208#M23528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have taken the sample code for geocoding that I found here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/locator_address.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/locator_address.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And tried to get it to work with my own geocoder. The only code that I have changed is the URL to my geocoder service, and the default address in the textbox, I also added a message box to display the number of candidates returned (for debugging).&lt;BR /&gt;&lt;BR /&gt;For some reason, when I try to use my geocoder service it returns 0 candidates:&lt;BR /&gt;&lt;A href="http://northmiamicra.org/geoCodeMyLocator.html"&gt;http://northmiamicra.org/geoCodeMyLocator.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Even though it does return plenty of candidates if I just call the geocode service from rest:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://192.168.110.10/ArcGIS_External/rest/services/MDStreets_NoOpaLocka/GeocodeServer/findAddressCandidates?Street=&amp;amp;City=&amp;amp;State=&amp;amp;ZIP=&amp;amp;Single+Line+Input=776+ne+125+st&amp;amp;outFields=&amp;amp;outSR=&amp;amp;f=html"&gt;http://192.168.110.10/ArcGIS_External/rest/services/MDStreets_NoOpaLocka/GeocodeServer/findAddressCandidates?Street=&amp;amp;City=&amp;amp;State=&amp;amp;ZIP=&amp;amp;Single+Line+Input=776+ne+125+st&amp;amp;outFields=&amp;amp;outSR=&amp;amp;f=html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Any idea what the problem may be? &lt;BR /&gt;&lt;BR /&gt;Could it be something to with some sort of caching? Because originally there was something wrong with the locator that i was using and I had to replace it with a new one. I have stopped and restarted the service and it is now working in the REST web interface but is still not working when called from the API.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't view your rest service, its an internal address (192.168). My guess is this is the same problem your app is having, it cant see the geocoder.&amp;nbsp; If you had a format problem , you should at least get an error response.&amp;nbsp; I get "aborted"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Nov 2011 14:45:39 GMT</pubDate>
    <dc:creator>JeffPace</dc:creator>
    <dc:date>2011-11-07T14:45:39Z</dc:date>
    <item>
      <title>Geocoder not returning any address candidates from JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoder-not-returning-any-address-candidates-from/m-p/254207#M23527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have taken the sample code for geocoding that I found here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/locator_address.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/locator_address.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And tried to get it to work with my own geocoder. The only code that I have changed is the URL to my geocoder service, and the default address in the textbox, I also added a message box to display the number of candidates returned (for debugging).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For some reason, when I try to use my geocoder service it returns 0 candidates:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://northmiamicra.org/geoCodeMyLocator.html"&gt;http://northmiamicra.org/geoCodeMyLocator.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even though it does return plenty of candidates if I just call the geocode service from rest:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://192.168.110.10/ArcGIS_External/rest/services/MDStreets_NoOpaLocka/GeocodeServer/findAddressCandidates?Street=&amp;amp;City=&amp;amp;State=&amp;amp;ZIP=&amp;amp;Single+Line+Input=776+ne+125+st&amp;amp;outFields=&amp;amp;outSR=&amp;amp;f=html"&gt;http://192.168.110.10/ArcGIS_External/rest/services/MDStreets_NoOpaLocka/GeocodeServer/findAddressCandidates?Street=&amp;amp;City=&amp;amp;State=&amp;amp;ZIP=&amp;amp;Single+Line+Input=776+ne+125+st&amp;amp;outFields=&amp;amp;outSR=&amp;amp;f=html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea what the problem may be? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could it be something to with some sort of caching? Because originally there was something wrong with the locator that i was using and I had to replace it with a new one. I have stopped and restarted the service and it is now working in the REST web interface but is still not working when called from the API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 14:40:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoder-not-returning-any-address-candidates-from/m-p/254207#M23527</guid>
      <dc:creator>GarethMann</dc:creator>
      <dc:date>2011-11-07T14:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoder not returning any address candidates from JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoder-not-returning-any-address-candidates-from/m-p/254208#M23528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have taken the sample code for geocoding that I found here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/locator_address.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/locator_address.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And tried to get it to work with my own geocoder. The only code that I have changed is the URL to my geocoder service, and the default address in the textbox, I also added a message box to display the number of candidates returned (for debugging).&lt;BR /&gt;&lt;BR /&gt;For some reason, when I try to use my geocoder service it returns 0 candidates:&lt;BR /&gt;&lt;A href="http://northmiamicra.org/geoCodeMyLocator.html"&gt;http://northmiamicra.org/geoCodeMyLocator.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Even though it does return plenty of candidates if I just call the geocode service from rest:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://192.168.110.10/ArcGIS_External/rest/services/MDStreets_NoOpaLocka/GeocodeServer/findAddressCandidates?Street=&amp;amp;City=&amp;amp;State=&amp;amp;ZIP=&amp;amp;Single+Line+Input=776+ne+125+st&amp;amp;outFields=&amp;amp;outSR=&amp;amp;f=html"&gt;http://192.168.110.10/ArcGIS_External/rest/services/MDStreets_NoOpaLocka/GeocodeServer/findAddressCandidates?Street=&amp;amp;City=&amp;amp;State=&amp;amp;ZIP=&amp;amp;Single+Line+Input=776+ne+125+st&amp;amp;outFields=&amp;amp;outSR=&amp;amp;f=html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Any idea what the problem may be? &lt;BR /&gt;&lt;BR /&gt;Could it be something to with some sort of caching? Because originally there was something wrong with the locator that i was using and I had to replace it with a new one. I have stopped and restarted the service and it is now working in the REST web interface but is still not working when called from the API.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't view your rest service, its an internal address (192.168). My guess is this is the same problem your app is having, it cant see the geocoder.&amp;nbsp; If you had a format problem , you should at least get an error response.&amp;nbsp; I get "aborted"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 14:45:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoder-not-returning-any-address-candidates-from/m-p/254208#M23528</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2011-11-07T14:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoder not returning any address candidates from JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoder-not-returning-any-address-candidates-from/m-p/254209#M23529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry I was not aware of the IP Address being internal only, I am learnuing new things every day, thanks for pointing that out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have now updated the page with what I think is the external IP address &lt;/SPAN&gt;&lt;STRONG&gt;but I am still getting 0 resuts from the API&lt;/STRONG&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://northmiamicra.org/geoCodeMyLocator.html"&gt;http://northmiamicra.org/geoCodeMyLocator.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the rest service should now be visible for you here, it is returning 466 candidates:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://209.149.254.202/ArcGIS_External/rest/services/MDStreets_NoOpaLocka/GeocodeServer/findAddressCandidates?Street=&amp;amp;City=&amp;amp;State=&amp;amp;ZIP=&amp;amp;Single+Line+Input=776+ne+125+st&amp;amp;outFields=&amp;amp;outSR=&amp;amp;f=html"&gt;http://209.149.254.202/ArcGIS_External/rest/services/MDStreets_NoOpaLocka/GeocodeServer/findAddressCandidates?Street=&amp;amp;City=&amp;amp;State=&amp;amp;ZIP=&amp;amp;Single+Line+Input=776+ne+125+st&amp;amp;outFields=&amp;amp;outSR=&amp;amp;f=html&lt;BR /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 16:17:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoder-not-returning-any-address-candidates-from/m-p/254209#M23529</guid>
      <dc:creator>GarethMann</dc:creator>
      <dc:date>2011-11-07T16:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoder not returning any address candidates from JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoder-not-returning-any-address-candidates-from/m-p/254210#M23530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Sorry I was not aware of the IP Address being internal only, I am learnuing new things every day, thanks for pointing that out.&lt;BR /&gt;&lt;BR /&gt;I have now updated the page with what I think is the external IP address &lt;STRONG&gt;but I am still getting 0 resuts from the API&lt;/STRONG&gt;:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://northmiamicra.org/geoCodeMyLocator.html"&gt;http://northmiamicra.org/geoCodeMyLocator.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And the rest service should now be visible for you here, it is returning 466 candidates:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://209.149.254.202/ArcGIS_External/rest/services/MDStreets_NoOpaLocka/GeocodeServer/findAddressCandidates?Street=&amp;amp;City=&amp;amp;State=&amp;amp;ZIP=&amp;amp;Single+Line+Input=776+ne+125+st&amp;amp;outFields=&amp;amp;outSR=&amp;amp;f=html"&gt;http://209.149.254.202/ArcGIS_External/rest/services/MDStreets_NoOpaLocka/GeocodeServer/findAddressCandidates?Street=&amp;amp;City=&amp;amp;State=&amp;amp;ZIP=&amp;amp;Single+Line+Input=776+ne+125+st&amp;amp;outFields=&amp;amp;outSR=&amp;amp;f=html&lt;BR /&gt;&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your parameter is wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you need to change it to &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;var address = {"Single Line Input":dojo.byId("address").value}; &lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;instead of SingleInput&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 16:26:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoder-not-returning-any-address-candidates-from/m-p/254210#M23530</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2011-11-07T16:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoder not returning any address candidates from JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoder-not-returning-any-address-candidates-from/m-p/254211#M23531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, that worked, what is the difference between "SingleInput" and "Single Line Input"? The ESRI sample uses "SingleInput".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, for some reason, it is returning 776 NW 125 ST as the closest match even though the closest match is obviously 776 NE 125 ST. Why would this be? This was never a problem in the locators I made with ArcGIS 9.x, using the same data. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In fact even if I use ESRI's geocode service used on the original sample page and input the city and state aswell (776 NE 125 ST, North Miami, Fl.), it still returns NW instead of NE as the top candidate match:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/demos/locator/locator_address.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/demos/locator/locator_address.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 16:47:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoder-not-returning-any-address-candidates-from/m-p/254211#M23531</guid>
      <dc:creator>GarethMann</dc:creator>
      <dc:date>2011-11-07T16:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoder not returning any address candidates from JavaScript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoder-not-returning-any-address-candidates-from/m-p/254212#M23532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;They only difference I can see is there are running 10.02 and you are running 10.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the result, its because the score on the NE is higher, but I cannot tell you why (in my opinion it shouldnt be).&amp;nbsp; That is a question for the ESRI geocoder voodoo folks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 17:17:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoder-not-returning-any-address-candidates-from/m-p/254212#M23532</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2011-11-07T17:17:47Z</dc:date>
    </item>
  </channel>
</rss>

