<?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: Problem with geometry.getCentroid method in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300321#M27555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sure does - or so I assume it does.&amp;nbsp; I use a separate tool to draw the polygon on the map and it draws right where it's supposed to draw.&amp;nbsp; I haven't rigorously checked it, but the coordinates of the polygon at least smell right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 May 2016 18:33:20 GMT</pubDate>
    <dc:creator>DaveSouthern</dc:creator>
    <dc:date>2016-05-06T18:33:20Z</dc:date>
    <item>
      <title>Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300307#M27541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following line of code:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;this.centerPoint = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;.graphic.geometry.getCentroid();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;When I run the program and step through the code, the value of geometry.rings is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;[-81.63820933449949,32.72321758156744,-81.6381280506363,32.72321758156744,-81.6381280506363,32.723341259885146,-81.63820933449949,32.723341259885146,-81.63820933449949,32.72321758156744]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;But when I examine the X and Y values of the resultant centerpoint variable, they look opposite from what I would expect:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;X = &lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;81.6392691466801&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;Y = &lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;-32.7237205172898&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;Which would move the geometry from the southeastern U.S. to somewhere in the Indian ocean.&amp;nbsp; Obviously I'm doing something wrong.&amp;nbsp; Any guesses?&lt;/SPAN&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;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 21:28:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300307#M27541</guid>
      <dc:creator>DaveSouthern</dc:creator>
      <dc:date>2016-05-05T21:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300308#M27542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont know what you are doing but the sign of your coordinates are getting flipped.&amp;nbsp; normally this is a coordinate system problem, but you seem to have some graphic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 21:39:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300308#M27542</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-05-05T21:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300309#M27543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me know if you need any additional info.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 22:28:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300309#M27543</guid>
      <dc:creator>DaveSouthern</dc:creator>
      <dc:date>2016-05-05T22:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300310#M27544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know how you get the centroid values.&amp;nbsp; Are they calculated from the input list? If calculated directly, then it is a bug, otherwise something is missing in between &lt;A href="https://community.esri.com/migrated-users/3101"&gt;Robert Scheitlin, GISP&lt;/A&gt;​ might know since it might be a java thing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 00:02:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300310#M27544</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-05-06T00:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300311#M27545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Can I see more of your code where you create this polygon? Are you specifying a spatial reference for the polygon?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 00:24:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300311#M27545</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-05-06T00:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300312#M27546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this is an issue I need to push up to my dev lead - he's the one who wrote the code that actually creates the layers and features.&amp;nbsp; I think the spatial reference id is 4326 - whatever that means.&amp;nbsp; I'm not really good at this gis stuff- .net development is more my thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll see if I can scare up that code in the morning.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 02:01:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300312#M27546</guid>
      <dc:creator>DaveSouthern</dc:creator>
      <dc:date>2016-05-06T02:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300313#M27547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in short, it is a geographic coordinate system... without all the details, the coordinates are in decimal degrees.&amp;nbsp; The part of the issue to focus on is the point between the polygon, or sequence of points was created to where the centroid geometry is calculated. It is quite common for the longitude (-81ish) to have the -ve sign dropped, but not to have both switched.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 02:17:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300313#M27547</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-05-06T02:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300314#M27548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following code to construct the geometry&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;var polygon = new Polygon({&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "rings": [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&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; [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&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; [-81.63820933449949,32.72321758156744],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&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; [-81.6381280506363,32.72321758156744],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&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; [-81.6381280506363,32.723341259885146],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&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; [-81.63820933449949,32.723341259885146],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&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; [-81.63820933449949,32.72321758156744]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&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; ]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "spatialReference": {&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&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; "wkid": 4326&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for this geometry the Cendroid is the following &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/198683_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;alert(selected.geometry.getCentroid().x + " " + selected.geometry.getCentroid().y);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you can see the cendroid point has the right coordinates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check how the polygon constructed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 11:11:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300314#M27548</guid>
      <dc:creator>PanagiotisPapadopoulos</dc:creator>
      <dc:date>2016-05-06T11:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300315#M27549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Working my way backwards through the code, it seems that the graphic that contains the geometry is captured by a map layer's click event.&amp;nbsp; The event handler that is called when the graphic is clicked on the map grabs the graphic from the event args passed to the event handler.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm gonna try to untangle this spaghetti and see where the map layer is actually being created and see what that looks like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More later.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 15:50:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300315#M27549</guid>
      <dc:creator>DaveSouthern</dc:creator>
      <dc:date>2016-05-06T15:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300316#M27550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So here is the function that creates the graphics for the layer.&amp;nbsp; This function runs in response to a dojo ajax request to get the graphic data from the server.&amp;nbsp; Not sure what these various functions/objects represent.&amp;nbsp; Let me know if something jumps out at you or if you want to know the values of any of the variables.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;.graphicLayer.evalGoodResult = dojo.hitch(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;.graphicLayer, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; (data) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; (data.length &amp;gt; 0) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Consolas;"&gt;//feature layers have one common symbol&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; defaultSymbol = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;.customRenderer.theSymbol;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Consolas;"&gt;//load the specified shapes into the layer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;.suspend();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; shapeLoader = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;.shapeLoader;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; shapeField = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;.shapeField;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; srid = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;.defaultSrid;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; shape, attr;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;for&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; (idxShape &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; data) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Consolas;"&gt;//validate and load the geometry and attributes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; (shape) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Consolas;"&gt;//get the symbol for this feature&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;.customRenderer.getSymbol(attr);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Consolas;"&gt;//create a graphic for it&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; esri.Graphic(shape, symbol, attr);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Consolas;"&gt;//determine if this graphic will be visible according to our renderer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;.customRenderer.isVisible(attr);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Consolas;"&gt;//add to the layer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;.add(theGraphic);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;.resume();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 16:56:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300316#M27550</guid>
      <dc:creator>DaveSouthern</dc:creator>
      <dc:date>2016-05-06T16:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300317#M27551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; It looks like you guys are using some custom library that parses shapefiles. The likely issue is that the portion of the custom code that is creating the polygon is not explicitly defining the SpatialReference for the geometry.&amp;nbsp; You need to use the setspatialreference on the geometry and assign wkid 4326 like Panagiotis shows in his snippet above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/polygon-amd.html#setspatialreference" title="https://developers.arcgis.com/javascript/3/jsapi/polygon-amd.html#setspatialreference"&gt;Polygon | API Reference | ArcGIS API for JavaScript | setSpatialReference&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 17:11:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300317#M27551</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-05-06T17:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300318#M27552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I burrowed into the shapeLoader function and this is the code that is used to create the polygon:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Consolas;"&gt;//parse as polygon&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;coords = shapeWkt.split(&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;.PolyRegex);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; ringData = [];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;for&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; (idxCoord = 3; idxCoord &amp;lt; coords.length - 2; idxCoord += 3) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ringData[(idxCoord - 3) / 3] = [parseFloat(coords[idxCoord]), parseFloat(coords[idxCoord + 1])]&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;SPAN style="color: #008000; font-size: 10pt; font-family: Consolas;"&gt;//build the shape&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shape = &lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; esri.geometry.Polygon(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; esri.SpatialReference({ wkid: srid }));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shape.addRing(ringData);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;return&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; shape;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the value of the srid variable is 4326.&amp;nbsp; The only difference I could see between our code and Panagiotis' example is that I didn't have wkid in quotes.&amp;nbsp; I tried changing that, but it didn't help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 18:05:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300318#M27552</guid>
      <dc:creator>DaveSouthern</dc:creator>
      <dc:date>2016-05-06T18:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300319#M27553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so far none of that accounts for the switching of the sign in the coordinates, I would look for a -1 or sign multiplier somewhere and whip in some print statements (dont know if it is possible) at various stages where the geometry is being handled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 18:11:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300319#M27553</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-05-06T18:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300320#M27554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; That looks good then. I am not sure what is going on with the centroid then. Does the polygon display is the correct location on the map?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 18:25:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300320#M27554</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-05-06T18:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300321#M27555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sure does - or so I assume it does.&amp;nbsp; I use a separate tool to draw the polygon on the map and it draws right where it's supposed to draw.&amp;nbsp; I haven't rigorously checked it, but the coordinates of the polygon at least smell right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 18:33:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300321#M27555</guid>
      <dc:creator>DaveSouthern</dc:creator>
      <dc:date>2016-05-06T18:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300322#M27556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your coordinates looks like is in counter-clockwise direction. The documentation in the addRing method says:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;add points counter-clockwise to create a hole&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;May be thats what is causing the problem. At this point I am not sure if the Polygon constructor behaves the same way as the addRing does. as It seem you are getting the right centriod when creating the geometry as part of json parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this was helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thejus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 18:42:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300322#M27556</guid>
      <dc:creator>thejuskambi</dc:creator>
      <dc:date>2016-05-06T18:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300323#M27557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was it, Thejus.&amp;nbsp; I reversed the array and now the centroid is working fine.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However... have I broken anything else in the app?&amp;nbsp; That is the question.&amp;nbsp; Gonna have to bounce this one off my dev lead and see what he says.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any case - you get credit for the answer - and thanks to everyone else who kept pushing this until the answer was found.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 20:03:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300323#M27557</guid>
      <dc:creator>DaveSouthern</dc:creator>
      <dc:date>2016-05-06T20:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300324#M27558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That should not break the app. But to be on safer side. There is a method to check if it is clockwise or not before flipping the coords.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="kwd"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; polygon &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ"&gt;Polygon&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;...&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; clockwise &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; polygon&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;isClockwise&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(ringData&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
&lt;/SPAN&gt;
&lt;SPAN class="pun"&gt;if(clockwise){&lt;/SPAN&gt;
&lt;SPAN class="pun"&gt;&lt;SPAN class="pun"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; polygon.addRing(ringData);&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class="pun"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="pun"&gt;else {&lt;/SPAN&gt;
&lt;SPAN class="pun"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //flip the coords here&lt;/SPAN&gt;
&lt;SPAN class="pun"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; polygon.addRing(ringData);&lt;/SPAN&gt;
&lt;SPAN class="pun"&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:24:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300324#M27558</guid>
      <dc:creator>thejuskambi</dc:creator>
      <dc:date>2021-12-11T14:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300325#M27559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So let me see if I have this correct... a incorrectly oriented polygon would produce a negative area, from which the centroid coordinates are calculated incorrectly, without consideration of the input coordinate space at all. If anybody knows, what geometry engine is being used to produce this affect?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 20:42:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300325#M27559</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-05-06T20:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with geometry.getCentroid method</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300326#M27560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; This is the JS API.&amp;nbsp; I would have never guessed that a reversed poly out produce a bad centroid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 May 2016 02:10:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-with-geometry-getcentroid-method/m-p/300326#M27560</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-05-08T02:10:50Z</dc:date>
    </item>
  </channel>
</rss>

