<?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: Calculate the centroid of a polygon using field calculator in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/calculate-the-centroid-of-a-polygon-using-field/m-p/567069#M3810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also add&amp;nbsp;&lt;STRONG&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/add-geometry-attributes.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/add-geometry-attributes.htm"&gt;Add Geometry Attributes—Data Management toolbox | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;to your model for adding new geometry fields to the input features.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Nov 2016 01:51:27 GMT</pubDate>
    <dc:creator>JayantaPoddar</dc:creator>
    <dc:date>2016-11-11T01:51:27Z</dc:date>
    <item>
      <title>Calculate the centroid of a polygon using field calculator</title>
      <link>https://community.esri.com/t5/developers-questions/calculate-the-centroid-of-a-polygon-using-field/m-p/567067#M3808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to calculate the centroid of a polygon using field calculator? I am using model builder, and have an empty longitude and latitude field I need to populate (with a goal of identifying the centroid for when the model later converts the polygon to a point shapefile). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using (!shape.extent.YMax! + !shape.extent.YMin!) / 2&amp;nbsp; &amp;amp; (!shape.extent.XMax! + !shape.extent.XMin!) / 2 to calculate lat long values, but of course this does not result in the center of the polygon unless it is a square.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 23:59:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/calculate-the-centroid-of-a-polygon-using-field/m-p/567067#M3808</guid>
      <dc:creator>AdamVajda</dc:creator>
      <dc:date>2016-11-10T23:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the centroid of a polygon using field calculator</title>
      <link>https://community.esri.com/t5/developers-questions/calculate-the-centroid-of-a-polygon-using-field/m-p/567068#M3809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/python/reading-geometries.htm#GUID-9FC74E09-898D-4A5E-9A07-76CD911C2AC6" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/python/reading-geometries.htm#GUID-9FC74E09-898D-4A5E-9A07-76CD911C2AC6"&gt;Reading geometries—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;You missed a whole section in the arcpy help... maybe Truecentroid... your choice, but have a look at what is there&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 00:31:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/calculate-the-centroid-of-a-polygon-using-field/m-p/567068#M3809</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-11-11T00:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the centroid of a polygon using field calculator</title>
      <link>https://community.esri.com/t5/developers-questions/calculate-the-centroid-of-a-polygon-using-field/m-p/567069#M3810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also add&amp;nbsp;&lt;STRONG&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/add-geometry-attributes.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/add-geometry-attributes.htm"&gt;Add Geometry Attributes—Data Management toolbox | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;to your model for adding new geometry fields to the input features.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 01:51:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/calculate-the-centroid-of-a-polygon-using-field/m-p/567069#M3810</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2016-11-11T01:51:27Z</dc:date>
    </item>
  </channel>
</rss>

