<?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: Odd Circle Result - Oval in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-circle-result-oval/m-p/184923#M17169</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It might have to do with the projection, perhaps?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jan 2014 13:12:00 GMT</pubDate>
    <dc:creator>michaelcollins1</dc:creator>
    <dc:date>2014-01-24T13:12:00Z</dc:date>
    <item>
      <title>Odd Circle Result - Oval</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-circle-result-oval/m-p/184922#M17168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was testing out the new Circle API and noticed an odd result, which created an oval-like circle.&amp;nbsp; A JSFiddle showing the issue is below.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this result expected due to the center spatial reference and geodesic values for the circle?&amp;nbsp; I do get different results if I use different values for these items - I was still surprised to see an oval though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://jsfiddle.net/Z25cU/3/"&gt;http://jsfiddle.net/Z25cU/3/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Brian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 13:10:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-circle-result-oval/m-p/184922#M17168</guid>
      <dc:creator>BrianRassier</dc:creator>
      <dc:date>2014-01-24T13:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Circle Result - Oval</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-circle-result-oval/m-p/184923#M17169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It might have to do with the projection, perhaps?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 13:12:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-circle-result-oval/m-p/184923#M17169</guid>
      <dc:creator>michaelcollins1</dc:creator>
      <dc:date>2014-01-24T13:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Circle Result - Oval</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-circle-result-oval/m-p/184924#M17170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That was my initial guess too.&amp;nbsp; I believe if I make the center point use a webmercator projection it is no longer an oval.&amp;nbsp; Changing the circle to set geodesic to true also creates a circle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Either way I was surprised and wanted to confirm this is expected.&amp;nbsp; My initial thought was if the projection was off the center would not be located where I was expecting it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 13:16:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-circle-result-oval/m-p/184924#M17170</guid>
      <dc:creator>BrianRassier</dc:creator>
      <dc:date>2014-01-24T13:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Circle Result - Oval</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-circle-result-oval/m-p/184925#M17171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Brian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My guess it is because you are creating a circle in a geographic projection. The distances will be corrected but the shape will be distorted in that projection. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a look at the help section on projections:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//003r0000000q000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//003r0000000q000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 13:16:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-circle-result-oval/m-p/184925#M17171</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2014-01-24T13:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Circle Result - Oval</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-circle-result-oval/m-p/184926#M17172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any idea how this differs from doing the same via the buffer method of the geometry service?&amp;nbsp; We have an app that creates circles via buffer, and we haven't seen this problem.&amp;nbsp; I believe the jsfiddle below shows a same setup as the odd oval result, but the buffer example does not create ovals.&amp;nbsp; The input/output spatial reference here is also 4326, and geodesic is false.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://jsfiddle.net/3AS5r/2/"&gt;http://jsfiddle.net/3AS5r/2/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 14:26:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-circle-result-oval/m-p/184926#M17172</guid>
      <dc:creator>BrianRassier</dc:creator>
      <dc:date>2014-01-24T14:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Circle Result - Oval</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-circle-result-oval/m-p/184927#M17173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I guess the buffer always returns a geodesic circle where the create circle needs to be set to true for it to create a geodesic one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 14:52:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-circle-result-oval/m-p/184927#M17173</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2014-01-24T14:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Circle Result - Oval</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-circle-result-oval/m-p/184928#M17174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That could be - I'm not well versed in these types of projection issues.&amp;nbsp; I do know the buffer example I attached has the BufferParameters.geodesic value set to false, similar to the oval example.&amp;nbsp; Are you thinking the Buffer is smart enough to override that and the new JS API isn't?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 14:57:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-circle-result-oval/m-p/184928#M17174</guid>
      <dc:creator>BrianRassier</dc:creator>
      <dc:date>2014-01-24T14:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Circle Result - Oval</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-circle-result-oval/m-p/184929#M17175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I'm with you Brian it seems like the buffer service handles things slightly different, the help does mention something about setting geodesic to true when using a geographic coordinate, but it still doesn't make it obvious:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/rest/apiref/buffer.html"&gt;http://resources.arcgis.com/en/help/rest/apiref/buffer.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 15:05:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-circle-result-oval/m-p/184929#M17175</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2014-01-24T15:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Circle Result - Oval</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-circle-result-oval/m-p/184930#M17176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;First of all, using non-geodesic option on web mercator or geographic coordinate system generates meaningless circle. The radius would be a non-fixed value depending on the angle. Technically, it's not a circle even though it may look like a circle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Secondly, the spatial reference of the circle is the same as the center point. If you know the map is under web mercator, the center point should be specified under the same SR.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason you are seeing an oval by passing a lat/lon center point under a web mercator map is the generated circle is under geographic CS, and it should look like a perfect circle under GCS. But the map is under Web Mercator, which would make the x axis shorter and result in an oval.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 19:48:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-circle-result-oval/m-p/184930#M17176</guid>
      <dc:creator>JianHuang</dc:creator>
      <dc:date>2014-01-24T19:48:57Z</dc:date>
    </item>
  </channel>
</rss>

