<?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: Arcgis Online Geocoding service in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550285#M6747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, so you want the Lat/Long for the addresses you geocode? These attributes are exposed by either the REST or SOAP interfaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or are you just wanting to Reverse Geocode the locations against that ArcGIS Online locator?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Sep 2015 02:55:09 GMT</pubDate>
    <dc:creator>DEWright_CA</dc:creator>
    <dc:date>2015-09-07T02:55:09Z</dc:date>
    <item>
      <title>Arcgis Online Geocoding service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550274#M6736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #365f91;"&gt;I am looking for an online web service to get Lat, Long values for the addresses using Arcgis Online Geocoding service. Please let me know if there is any dll or online web service to get the results using .Net Framework 4.0 and Visual Studio 2010.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #365f91;"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #365f91;"&gt;Mahesh&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 07:49:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550274#M6736</guid>
      <dc:creator>MaheshReddy</dc:creator>
      <dc:date>2015-09-03T07:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis Online Geocoding service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550275#M6737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use ArcGIS Runtime for .NET to access the Geocoding service but it needs 4.5 framework to work. If you have to stay on 4.0 framework, you could have a look our older &lt;A href="http://resources.arcgis.com/en/communities/runtime-wpf/index.html"&gt;ArcGIS Runtime for WPF SDK&lt;/A&gt;. ​It support using &lt;A href="http://resources.arcgis.com/en/help/runtime-wpf/samples/index.html#/Reverse_Geocode_Online/02q20000002q000000/"&gt;locators &lt;/A&gt;too. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 08:12:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550275#M6737</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2015-09-03T08:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis Online Geocoding service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550276#M6738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While going through documentation, I found this link: &lt;A href="http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates" title="http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates"&gt;http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates &lt;/A&gt;to get lat, long from the address provided. Can I use this link from .Net code?&lt;/P&gt;&lt;P&gt;If so, do I need to create a .Net wrapper for authentication and get token to get the results?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, we have to use .Net framework 4.0 only. Is dll mandatory for using Geocoding service? Please let me know if there is any alternative way like using web services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 08:29:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550276#M6738</guid>
      <dc:creator>MaheshReddy</dc:creator>
      <dc:date>2015-09-03T08:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis Online Geocoding service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550277#M6739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One option is to write the task logic by hand and access the rest endpoint from your own code. We provide existing tasks in our SDK's to communicate with the service but in some cases rolling your own implementation might be an option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to go that route, please refer &lt;A href="https://developers.arcgis.com/rest/geocode/api-reference/overview-world-geocoding-service.htm"&gt;ArcGIS REST API: World Geocoding Service documentation&lt;/A&gt; for &lt;A href="https://developers.arcgis.com/rest/geocode/api-reference/geocoding-reverse-geocode.htm"&gt;rest spec&lt;/A&gt; and &lt;A href="https://developers.arcgis.com/rest/geocode/api-reference/geocoding-authenticate-a-request.htm"&gt;authentication details&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 08:35:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550277#M6739</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2015-09-03T08:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis Online Geocoding service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550278#M6740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;ArcGIS REST API should be good for my development purposes. As mentioned, I found following links: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates" rel="nofollow" target="_blank"&gt;http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates&lt;/A&gt;&lt;SPAN&gt;?&amp;lt;PARAMETERS&amp;gt; and &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https://www.arcgis.com/sharing/oauth2/token?client_id=" rel="nofollow" target="_blank"&gt;https://www.arcgis.com/sharing/oauth2/token?client_id=&lt;/A&gt;&lt;SPAN&gt;&amp;lt;YOUR CLIENT ID&amp;gt;&amp;amp;grant_type=client_credentials&amp;amp;client_secret=&amp;lt;YOUR CLIENT SECRET&amp;gt;&amp;amp;f=pjson for authentication and generating token. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me out with a sample .Net code to generate token? Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 08:55:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550278#M6740</guid>
      <dc:creator>MaheshReddy</dc:creator>
      <dc:date>2015-09-03T08:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis Online Geocoding service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550279#M6741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We also provide out-of-the-box implementations for authentication in the SDK's but for more details how to implement it, please refer &lt;A href="https://developers.arcgis.com/authentication/index.html"&gt;authentication&lt;/A&gt; documentation. What comes to c# implementation, you might want to check if there are 3rd party libraries that provides implementation for OAUTH 2.0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 09:11:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550279#M6741</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2015-09-03T09:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis Online Geocoding service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550280#M6742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I am using following url to get lat, long: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?Address=Starbucks&amp;amp;Neighborhood=&amp;amp;City=Tanjong" rel="nofollow" target="_blank"&gt;http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?Address=Starbucks&amp;amp;Neighborhood=&amp;amp;City=Tanjong&lt;/A&gt;&lt;SPAN&gt; Pagar&amp;amp;Subregion=&amp;amp;Region=&amp;amp;CountryCode=SGP&amp;amp;outFields=Addr_type&amp;amp;maxLocations=1&amp;amp;forStorage=false&amp;amp;f=pjson and able to get the results, when Address is provided along with Country.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for some addresses, require Lat, Long for Country only. However, when I just input country code, the result is not correct. For eg., &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?Address=&amp;amp;Neighborhood=&amp;amp;City=&amp;amp;Subregion=&amp;amp;Region=&amp;amp;CountryCode=SGP&amp;amp;outFields=Addr_type&amp;amp;maxLocations=1&amp;amp;forStorage=false&amp;amp;f=pjson" rel="nofollow" target="_blank"&gt;http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?Address=&amp;amp;Neighborhood=&amp;amp;City=&amp;amp;Subregion=&amp;amp;Region=&amp;amp;CountryCode=SGP&amp;amp;outFields=Addr_type&amp;amp;maxLocations=1&amp;amp;forStorage=false&amp;amp;f=pjson&lt;/A&gt;&lt;SPAN&gt;. Is there a way, we can get center of the Country geocodes?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 03:45:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550280#M6742</guid>
      <dc:creator>MaheshReddy</dc:creator>
      <dc:date>2015-09-04T03:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis Online Geocoding service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550281#M6743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't had success either in getting a consistent geocode result using just a country code ("USA" seems to work, others do not).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's an example on the developers.arcgis.com site that does this successfully&amp;nbsp; (&lt;A href="https://developers.arcgis.com/en/features/geocoding/"&gt;https://developers.arcgis.com/en/features/geocoding/&lt;/A&gt;), but uses a combination of "suggest" (to get the desired country) and "find" (to retrieve the result).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One option is to simply query a country boundary service for the geometry and find the center (of the extent, e.g.). For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #569cd6;"&gt;var&lt;/SPAN&gt; queryUrl &lt;SPAN style="color: #b4b4b4;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #d69d85;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/World_Countries_(Generalized)/FeatureServer/0" rel="nofollow" target="_blank"&gt;http://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/World_Countries_(Generalized)/FeatureServer/0&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #569cd6;"&gt;var&lt;/SPAN&gt; queryTask &lt;SPAN style="color: #b4b4b4;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #569cd6;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="color: #4ec9b0;"&gt;QueryTask&lt;/SPAN&gt;(&lt;SPAN style="color: #569cd6;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="color: #4ec9b0;"&gt;Uri&lt;/SPAN&gt;(queryUrl));&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #569cd6;"&gt;var&lt;/SPAN&gt; queryExp &lt;SPAN style="color: #b4b4b4;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #d69d85;"&gt;"ISO = '"&lt;/SPAN&gt; &lt;SPAN style="color: #b4b4b4;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="color: #569cd6;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;CountryTextBox&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;Text &lt;SPAN style="color: #b4b4b4;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="color: #d69d85;"&gt;"'"&lt;/SPAN&gt;; &lt;SPAN style="color: #57a64a;"&gt;// SG, US, DK, for example (two-letter codes)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #57a64a;"&gt;// var queryExp = "Country ='" + this.CountryTextBox.Text + "'"; // Singapore, United States, Denmark, for example&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #569cd6;"&gt;var&lt;/SPAN&gt; countryQuery &lt;SPAN style="color: #b4b4b4;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #569cd6;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="color: #4ec9b0;"&gt;Query&lt;/SPAN&gt;(queryExp);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #569cd6;"&gt;var&lt;/SPAN&gt; result &lt;SPAN style="color: #b4b4b4;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #569cd6;"&gt;await&lt;/SPAN&gt; queryTask&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;ExecuteAsync(countryQuery);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #569cd6;"&gt;if&lt;/SPAN&gt; (result&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;FeatureSet&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;Features&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;Count &lt;SPAN style="color: #b4b4b4;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #b5cea8;"&gt;0&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #569cd6;"&gt;var&lt;/SPAN&gt; countryExtent &lt;SPAN style="color: #b4b4b4;"&gt;=&lt;/SPAN&gt; result&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;FeatureSet&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;Features[&lt;SPAN style="color: #b5cea8;"&gt;0&lt;/SPAN&gt;]&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;Geometry&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;Extent &lt;SPAN style="color: #569cd6;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #4ec9b0;"&gt;Envelope&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #569cd6;"&gt;var&lt;/SPAN&gt; countryCenter &lt;SPAN style="color: #b4b4b4;"&gt;=&lt;/SPAN&gt; countryExtent&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;GetCenter();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #569cd6;"&gt;await&lt;/SPAN&gt; &lt;SPAN style="color: #569cd6;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;MyMapView&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;SetViewAsync(countryCenter);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #4ec9b0;"&gt;MessageBox&lt;/SPAN&gt;&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;Show(&lt;SPAN style="color: #d69d85;"&gt;"Center of '"&lt;/SPAN&gt; &lt;SPAN style="color: #b4b4b4;"&gt;+&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #569cd6;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;CountryTextBox&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;Text &lt;SPAN style="color: #b4b4b4;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="color: #d69d85;"&gt;"' is "&lt;/SPAN&gt; &lt;SPAN style="color: #b4b4b4;"&gt;+&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; countryCenter&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;X&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;ToString() &lt;SPAN style="color: #b4b4b4;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="color: #d69d85;"&gt;" : "&lt;/SPAN&gt; &lt;SPAN style="color: #b4b4b4;"&gt;+&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; countryCenter&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;Y&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;ToString());&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #569cd6;"&gt;else&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #4ec9b0;"&gt;MessageBox&lt;/SPAN&gt;&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;Show(&lt;SPAN style="color: #d69d85;"&gt;"No results found for '"&lt;/SPAN&gt; &lt;SPAN style="color: #b4b4b4;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="color: #569cd6;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;CountryTextBox&lt;SPAN style="color: #b4b4b4;"&gt;.&lt;/SPAN&gt;Text &lt;SPAN style="color: #b4b4b4;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="color: #d69d85;"&gt;"'."&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 19:26:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550281#M6743</guid>
      <dc:creator>ThadTilton</dc:creator>
      <dc:date>2015-09-04T19:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis Online Geocoding service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550282#M6744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know this is slightly off topic, but would just like to point out that .NET 4.0 is losing support on January 12, 2016:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https://support.microsoft.com/en-us/lifecycle?sort=pn&amp;amp;alpha=.net%20framework" rel="nofollow" target="_blank"&gt;https://support.microsoft.com/en-us/lifecycle?sort=pn&amp;amp;alpha=.net%20framework&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So you only have a few months left before you have to upgrade anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 23:47:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550282#M6744</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2015-09-04T23:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis Online Geocoding service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550283#M6745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. Due to some issues, I cannot use ArcGIS runtime dll. Is there any rest url to get the results with countryCode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 02:32:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550283#M6745</guid>
      <dc:creator>MaheshReddy</dc:creator>
      <dc:date>2015-09-07T02:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis Online Geocoding service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550284#M6746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the information. We are in the process of upgrading the framework.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 02:43:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550284#M6746</guid>
      <dc:creator>MaheshReddy</dc:creator>
      <dc:date>2015-09-07T02:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis Online Geocoding service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550285#M6747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, so you want the Lat/Long for the addresses you geocode? These attributes are exposed by either the REST or SOAP interfaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or are you just wanting to Reverse Geocode the locations against that ArcGIS Online locator?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 02:55:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550285#M6747</guid>
      <dc:creator>DEWright_CA</dc:creator>
      <dc:date>2015-09-07T02:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis Online Geocoding service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550286#M6748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want the Lat/Long for the addresses provided. I tried with the REST service and able to get the Lat/Long, but when countryCode alone is passed, I could not get the correct results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thad Tilton provided me code snippet, but I am looking for REST/SOAP url to get the correct results when only countryCode&amp;nbsp; is passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check below:&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I am using following url to get lat, long:&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?Address=Starbucks&amp;amp;Neighborhood=&amp;amp;City=Tanjong" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #287433;" target="_blank"&gt;http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?Address=Starbucks&amp;amp;Neighborhood=&amp;amp;City=Tanjong&lt;/A&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Pagar&amp;amp;Subregion=&amp;amp;Region=&amp;amp;CountryCode=SGP&amp;amp;outFields=Addr_type&amp;amp;maxLocations=1&amp;amp;forStorage=false&amp;amp;f=pjson and able to get the results, when Address is provided along with Country.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;But for some addresses, require Lat, Long for Country only. However, when I just input country code, the result is not correct. For eg.,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?Address=&amp;amp;Neighborhood=&amp;amp;City=&amp;amp;Subregion=&amp;amp;Region=&amp;amp;CountryCode=SGP&amp;amp;outFields=Addr_type&amp;amp;maxLocations=1&amp;amp;forStorage=false&amp;amp;f=pjson" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #287433;" target="_blank"&gt;http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?Address=&amp;amp;Neighborhood=&amp;amp;City=&amp;amp;Subregion=&amp;amp;Region=&amp;amp;CountryCode=SGP&amp;amp;outFields=Addr_type&amp;amp;maxLocations=1&amp;amp;forStorage=false&amp;amp;f=pjson&lt;/A&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Thank you.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 03:14:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550286#M6748</guid>
      <dc:creator>MaheshReddy</dc:creator>
      <dc:date>2015-09-07T03:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis Online Geocoding service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550287#M6749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using only a country code does not meet the needed minimums for a full reverse-geocode for all locations. The more information you include the more precise a result you get. When you pass in only a country code, you will get the center of mass for the polygon for that country.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 03:37:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550287#M6749</guid>
      <dc:creator>DEWright_CA</dc:creator>
      <dc:date>2015-09-07T03:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis Online Geocoding service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550288#M6750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We pass as much information as we have to get the lat/long for the addresses. For some addresses, we have only CountryCode without any other information. We should be able to get Lat/Long from the countryCode provided.&lt;/P&gt;&lt;P&gt;Is there a way we can get lat/long from location or extent below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"candidates": [&lt;/P&gt;&lt;P&gt;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "address": "Sgp",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "location": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "x": -40.309738060999621,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "y": -20.310026429999596&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "score": 100,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "attributes": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Addr_type": "POI"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "extent": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "xmin": -40.314739000000003,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "ymin": -20.315027000000001,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "xmax": -40.304738999999998,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "ymax": -20.305026999999999&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt; ]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 06:20:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550288#M6750</guid>
      <dc:creator>MaheshReddy</dc:creator>
      <dc:date>2015-09-07T06:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis Online Geocoding service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550289#M6751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you only have very little information, geocoding gets more inaccurate. If you increase the maxLocations value to return a few more than one result, it seems to me the second result is the correct one (also achieves a score of 100):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fgeocode.arcgis.com%2Farcgis%2Frest%2Fservices%2FWorld%2FGeocodeServer%2FfindAddressCandidates%3FCountryCode%3DSGP%26outFields%3DAddr_type%26maxLocations%3D10%26f%3Dpjson" rel="nofollow" target="_blank"&gt;http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?CountryCode=SGP&amp;amp;outFields=Addr_type&amp;amp;maxLocations=10&amp;amp;f=pjson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blindly geocoding to the first result without human verification can be a little dangerous. Often it's better to ask for a few locations, and present the user with multiple options during the geocoding process - especially if you get more than one result with a confidence score close to a 100.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 19:17:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550289#M6751</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2015-09-08T19:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis Online Geocoding service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550290#M6752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To me; its looks like you need to put in your code minimum requirements to process so you don't spend time trying to massage data that is already going to be highly inaccurate it not problematic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the least a street address and jurisdiction name, or a address and postal-code; as you look at the various numbers of fields you can use then you can adjust according.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 23:02:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/arcgis-online-geocoding-service/m-p/550290#M6752</guid>
      <dc:creator>DEWright_CA</dc:creator>
      <dc:date>2015-09-08T23:02:22Z</dc:date>
    </item>
  </channel>
</rss>

