<?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: Why does ArcGIS Server geocode service output wrong SRS when f=kmz? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-does-arcgis-server-geocode-service-output/m-p/427713#M39325</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh - and that is ArcGIS Server 10.2.1 we are on now...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jul 2014 18:05:13 GMT</pubDate>
    <dc:creator>MichaelSmith1</dc:creator>
    <dc:date>2014-07-29T18:05:13Z</dc:date>
    <item>
      <title>Why does ArcGIS Server geocode service output wrong SRS when f=kmz?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-does-arcgis-server-geocode-service-output/m-p/427712#M39324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We use the ArcGIS Server geocoding service in vMaine to get locations for addresses entered in Google Earth Enterprise.&amp;nbsp; This worked fine in the 10.1 days.&amp;nbsp; However what happens now is that, despite specifying the outputSRS, it returns the coordinates in UTM when you specify KMZ.&amp;nbsp; For example, this request will return the correct lat/long:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://arcgisserver.maine.gov/arcgis/rest/services/NG911_Rds_Locator/GeocodeServer/findAddressCandidates?Street=100+Lincoln+Ave&amp;amp;City=Gardiner&amp;amp;outSR=4269&amp;amp;f=html"&gt;http://arcgisserver.maine.gov/arcgis/rest/services/NG911_Rds_Locator/GeocodeServer/findAddressCandidates?Street=100+Lincoln+Ave&amp;amp;City=Gardiner&amp;amp;outSR=4269&amp;amp;f=html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which should be -69.77233, 44.22248 and is my house in Gardiner.&amp;nbsp; The HTML gives the correct lat/long (also if I do JSON that works too).&amp;nbsp; Yet if I specify the output to KMZ, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://arcgisserver.maine.gov/arcgis/rest/services/NG911_Rds_Locator/GeocodeServer/findAddressCandidates?Street=100+Lincoln+Ave&amp;amp;City=Gardiner&amp;amp;outSR=4269&amp;amp;f=kmz"&gt;http://arcgisserver.maine.gov/arcgis/rest/services/NG911_Rds_Locator/GeocodeServer/findAddressCandidates?Street=100+Lincoln+Ave&amp;amp;City=Gardiner&amp;amp;outSR=4269&amp;amp;f=kmz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I open the KML file in Google Earth, it takes me to 0,0 lat/long (Atlantic Ocean south of Ghana).&amp;nbsp; If I look at it in a text editor, I see this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Score&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;100&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Match_addr&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;100 Lincoln Ave, Gardiner, ME&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Point&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;coordinates&amp;gt;438310.9883381335,4896873.130619503,0&amp;lt;/coordinates&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Point&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which you can see the coordinates are clearly UTM, not lat/long and hence the reason Google Earth can’t deal with it correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So ArcGIS Server is correctly geocoding the address, it correctly outputs the lat/long to HTML, but if that ‘f’ parameter is changed to KMZ it provides the UTM instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Do you have any suggestions?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 18:03:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-does-arcgis-server-geocode-service-output/m-p/427712#M39324</guid>
      <dc:creator>MichaelSmith1</dc:creator>
      <dc:date>2014-07-29T18:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why does ArcGIS Server geocode service output wrong SRS when f=kmz?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-does-arcgis-server-geocode-service-output/m-p/427713#M39325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh - and that is ArcGIS Server 10.2.1 we are on now...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 18:05:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-does-arcgis-server-geocode-service-output/m-p/427713#M39325</guid>
      <dc:creator>MichaelSmith1</dc:creator>
      <dc:date>2014-07-29T18:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why does ArcGIS Server geocode service output wrong SRS when f=kmz?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-does-arcgis-server-geocode-service-output/m-p/427714#M39326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This seems like a bug as I was able to reproduce your this on your server. Have you contacted Tech Support yet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 13:12:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-does-arcgis-server-geocode-service-output/m-p/427714#M39326</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-07-30T13:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why does ArcGIS Server geocode service output wrong SRS when f=kmz?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-does-arcgis-server-geocode-service-output/m-p/427715#M39327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I have logged a ticket with Esri tech support today, no feedback from them yet.  Thanks for checking it out.  I think it is a bug.  Looks like f=kmz just ignores the outSR parameter and gives you the native coordinates (UTM) in my case.  I may have to use a lat/long projected dataset instead as a workaround.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===============================&lt;/P&gt;&lt;P&gt;Michael Smith MS GISP&lt;/P&gt;&lt;P&gt;State GIS Manager, Maine Office of GIS&lt;/P&gt;&lt;P&gt;State of Maine, Office of Information Technology&lt;/P&gt;&lt;P&gt;michael.smith &lt;U&gt;at&lt;/U&gt; maine.gov 207-215-5530&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Board Member, Maine GeoLibrary&lt;/P&gt;&lt;P&gt;Education Chair, Maine GIS Users Group&lt;/P&gt;&lt;P&gt;State Rep, National States Geographic Information Council&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;State House Station 145&lt;/P&gt;&lt;P&gt;51 Commerce Drive&lt;/P&gt;&lt;P&gt;Augusta, ME 04333-0145&lt;/P&gt;&lt;P&gt;69o 47' 58.9"W  44o 21' 54.8"N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 13:54:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-does-arcgis-server-geocode-service-output/m-p/427715#M39327</guid>
      <dc:creator>MichaelSmith1</dc:creator>
      <dc:date>2014-07-30T13:54:44Z</dc:date>
    </item>
  </channel>
</rss>

