<?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: Line and Polygon with same geometry should have same centroid? in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/line-and-polygon-with-same-geometry-should-have/m-p/1021750#M1952</link>
    <description>&lt;P&gt;Dan Patterson,&lt;/P&gt;&lt;P&gt;Thanks again for your reply.&lt;/P&gt;&lt;P&gt;You are probably right, but I was hoping that someone from ESRI confirm it!&lt;/P&gt;&lt;P&gt;Even do, all geometries have the same number of points and they should return the same values.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;JA&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jan 2021 21:10:36 GMT</pubDate>
    <dc:creator>JulioAAlmeida</dc:creator>
    <dc:date>2021-01-29T21:10:36Z</dc:date>
    <item>
      <title>Line and Polygon with same geometry should have same centroid?</title>
      <link>https://community.esri.com/t5/arcmap-questions/line-and-polygon-with-same-geometry-should-have/m-p/1021648#M1942</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have two different line and polygon features with the same geometry. I calculated the X and Y coordinate values using the python expressions&amp;nbsp;!shape.TRUECENTROID.X! and !shape.TRUECENTROID.Y! and the returned values in both features are different.&lt;/P&gt;&lt;P&gt;I'm doing something wrong?&lt;/P&gt;&lt;P&gt;Can any one help me?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JA&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 17:59:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/line-and-polygon-with-same-geometry-should-have/m-p/1021648#M1942</guid>
      <dc:creator>JulioAAlmeida</dc:creator>
      <dc:date>2021-01-29T17:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Line and Polygon with same geometry should have same centroid?</title>
      <link>https://community.esri.com/t5/arcmap-questions/line-and-polygon-with-same-geometry-should-have/m-p/1021661#M1943</link>
      <description>&lt;P&gt;If you converted the polygon to its polyline representation and if the algorithm used to determine the truecentroid is the same for a closed loop polyline and its polygon representation are the same,... then yes.&lt;/P&gt;&lt;P&gt;However, there is no indication of what is actually used for closed loop polylines, then just indicate polylines, so that may not be the case.&amp;nbsp; You can experiment to see what value is being returned and compare the results of the center of the x,y coordinates, the centroid and truecentroid for both a closed-loop polygon and its polygon representation.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 18:18:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/line-and-polygon-with-same-geometry-should-have/m-p/1021661#M1943</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-01-29T18:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Line and Polygon with same geometry should have same centroid?</title>
      <link>https://community.esri.com/t5/arcmap-questions/line-and-polygon-with-same-geometry-should-have/m-p/1021663#M1944</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;two different line and polygon features with the same geometry.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Lines and polygons are not the same geometry....&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 18:20:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/line-and-polygon-with-same-geometry-should-have/m-p/1021663#M1944</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-01-29T18:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Line and Polygon with same geometry should have same centroid?</title>
      <link>https://community.esri.com/t5/arcmap-questions/line-and-polygon-with-same-geometry-should-have/m-p/1021688#M1949</link>
      <description>&lt;P&gt;Dan Patterson,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Both feature where generated/imported from the same DWG file.&lt;/P&gt;&lt;P&gt;The same geometry generated line and polygon objects.&lt;/P&gt;&lt;P&gt;I attached an image,&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;JA&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 19:27:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/line-and-polygon-with-same-geometry-should-have/m-p/1021688#M1949</guid>
      <dc:creator>JulioAAlmeida</dc:creator>
      <dc:date>2021-01-29T19:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Line and Polygon with same geometry should have same centroid?</title>
      <link>https://community.esri.com/t5/arcmap-questions/line-and-polygon-with-same-geometry-should-have/m-p/1021730#M1951</link>
      <description>&lt;P&gt;So my initial post stands.&amp;nbsp; If you need the truecentroid use the polygon if you aren't sure which algorithm is used for closed-loop polylines&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 20:29:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/line-and-polygon-with-same-geometry-should-have/m-p/1021730#M1951</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-01-29T20:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Line and Polygon with same geometry should have same centroid?</title>
      <link>https://community.esri.com/t5/arcmap-questions/line-and-polygon-with-same-geometry-should-have/m-p/1021750#M1952</link>
      <description>&lt;P&gt;Dan Patterson,&lt;/P&gt;&lt;P&gt;Thanks again for your reply.&lt;/P&gt;&lt;P&gt;You are probably right, but I was hoping that someone from ESRI confirm it!&lt;/P&gt;&lt;P&gt;Even do, all geometries have the same number of points and they should return the same values.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;JA&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 21:10:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/line-and-polygon-with-same-geometry-should-have/m-p/1021750#M1952</guid>
      <dc:creator>JulioAAlmeida</dc:creator>
      <dc:date>2021-01-29T21:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Line and Polygon with same geometry should have same centroid?</title>
      <link>https://community.esri.com/t5/arcmap-questions/line-and-polygon-with-same-geometry-should-have/m-p/1021758#M1953</link>
      <description>&lt;P&gt;If you want someone from esri, then the quickest route is to contact Tech Support.&lt;/P&gt;&lt;P&gt;The assumption has nothing to do with the number of points, it is how the points are used.&amp;nbsp; The only way they would return the same value is if the average of the coordinates were used (perhaps ignoring the duplicate first and last point... even that isn't clear).&lt;/P&gt;&lt;P&gt;The centroid and truecentroid for polygons will also differ for multipart features.&amp;nbsp; In fact the centroid may not even be within the polygon (or polyline) since they are weighted.&amp;nbsp; Hopefully you haven't been looking at multipart shapes?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 21:26:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/line-and-polygon-with-same-geometry-should-have/m-p/1021758#M1953</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-01-29T21:26:35Z</dc:date>
    </item>
  </channel>
</rss>

