<?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: Using Local Geocoding service to Reverse Geocode (FAIL) in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/using-local-geocoding-service-to-reverse-geocode/m-p/399152#M1946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;&lt;SPAN&gt;It works...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;&lt;SPAN&gt;you need to pass it web mercator coordinates..&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-setdir="false" dir="ltr" style="color: #000000; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;&lt;SPAN&gt;&lt;A href="http://www.snydercountygis.org:6080/arcgis/rest/services/Roads_AddressLocator/GeocodeServer/reverseGeocode?location=-8426273%2C+5023877&amp;amp;distance=100&amp;amp;langCode=&amp;amp;outSR=&amp;amp;returnIntersection=false&amp;amp;f=pjson" style="color: blue; text-decoration: underline !important; background-position: initial;"&gt;http://www.snydercountygis.org:6080/arcgis/rest/services/Roads_AddressLocator/GeocodeServer/reverseGeocode?location=-8426273%2C+5023877&amp;amp;distance=100&amp;amp;langCode=&amp;amp;outSR=&amp;amp;returnIntersection=false&amp;amp;f=pjson&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-setdir="false" dir="ltr" style="color: #000000; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;&lt;/P&gt;&lt;P data-setdir="false" dir="ltr" style="color: #000000; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jun 2015 15:51:50 GMT</pubDate>
    <dc:creator>ScottRutzmoser2</dc:creator>
    <dc:date>2015-06-18T15:51:50Z</dc:date>
    <item>
      <title>Using Local Geocoding service to Reverse Geocode (FAIL)</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/using-local-geocoding-service-to-reverse-geocode/m-p/399151#M1945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a local Geocoding service for a 911 project. I can add the service in ArcMap and the Address Inspector shows it works great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I am trying to use it in Leaflet and it doesn't return anything. (code 400 no results)&lt;A href="http://www.snydercountygis.org:6080/arcgis/rest/services/Roads_AddressLocator/GeocodeServer"&gt;http://www.snydercountygis.org:6080/arcgis/rest/services/Roads_AddressLocator/GeocodeServer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I tried the Rest Service directly an passed it a coordinate or address, same result code 400,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.snydercountygis.org:6080/arcgis/sdk/rest/index.html#/Reverse_Geocode/02ss00000030000000/" rel="nofollow" target="_blank"&gt;http://www.snydercountygis.org:6080/arcgis/sdk/rest/index.html#/Reverse_Geocode/02ss00000030000000/&lt;/A&gt;&lt;SPAN&gt; //help file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; // &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.snydercountygis.org:6080/arcgis/rest/services/Roads_AddressLocator/GeocodeServer/reverseGeocode?location=-75.579659,41.045444&amp;amp;distance=0" rel="nofollow" target="_blank"&gt;http://www.snydercountygis.org:6080/arcgis/rest/services/Roads_AddressLocator/GeocodeServer/reverseGeocode?location=-75.579659,41.045444&amp;amp;distance=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample address and it's coordinate&lt;/P&gt;&lt;P&gt;&amp;nbsp; //41.045444,-75.579659 for '10 LAKE HARMONY RD' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas, I'm stumped as it looks like the service is not right but when ArcMap uses it it's ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My leaflet file is attached if it helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Bill Chappell 6/18&#xD;
&#xD;
The attached script is now working after code changes to convert lat/long to meters in Leaflet.&#xD;
&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 02:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/using-local-geocoding-service-to-reverse-geocode/m-p/399151#M1945</guid>
      <dc:creator>BillChappell</dc:creator>
      <dc:date>2015-06-17T02:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using Local Geocoding service to Reverse Geocode (FAIL)</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/using-local-geocoding-service-to-reverse-geocode/m-p/399152#M1946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;&lt;SPAN&gt;It works...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;&lt;SPAN&gt;you need to pass it web mercator coordinates..&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-setdir="false" dir="ltr" style="color: #000000; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;&lt;SPAN&gt;&lt;A href="http://www.snydercountygis.org:6080/arcgis/rest/services/Roads_AddressLocator/GeocodeServer/reverseGeocode?location=-8426273%2C+5023877&amp;amp;distance=100&amp;amp;langCode=&amp;amp;outSR=&amp;amp;returnIntersection=false&amp;amp;f=pjson" style="color: blue; text-decoration: underline !important; background-position: initial;"&gt;http://www.snydercountygis.org:6080/arcgis/rest/services/Roads_AddressLocator/GeocodeServer/reverseGeocode?location=-8426273%2C+5023877&amp;amp;distance=100&amp;amp;langCode=&amp;amp;outSR=&amp;amp;returnIntersection=false&amp;amp;f=pjson&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-setdir="false" dir="ltr" style="color: #000000; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;&lt;/P&gt;&lt;P data-setdir="false" dir="ltr" style="color: #000000; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 15:51:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/using-local-geocoding-service-to-reverse-geocode/m-p/399152#M1946</guid>
      <dc:creator>ScottRutzmoser2</dc:creator>
      <dc:date>2015-06-18T15:51:50Z</dc:date>
    </item>
  </channel>
</rss>

