<?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: Calculating the centroid of each polygoin, but weighted by points from another la in Spatial Statistics Questions</title>
    <link>https://community.esri.com/t5/spatial-statistics-questions/calculating-the-centroid-of-each-polygoin-but/m-p/360407#M1181</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;Wow this is great. Thanks a lot everyone for your suggestions. I have moved on to other projects and have not looked at this dataset for awhile. I will note everything said here in case I encounter a similar problem in the future. I appreciate all of your replies!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Palermo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jan 2014 01:36:45 GMT</pubDate>
    <dc:creator>Palermo_SPenano</dc:creator>
    <dc:date>2014-01-21T01:36:45Z</dc:date>
    <item>
      <title>Calculating the centroid of each polygoin, but weighted by points from another layer</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/calculating-the-centroid-of-each-polygoin-but/m-p/360402#M1176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to get the centroid of each polygon in the attached image, but I want the centroid calculation to be based on the clusters of green dots in each polygon. The purple polygons are from one layer and the green dots are from another layer. How can I do this? How can I calculate the centroid of each polygon based on the clusters of green dots within each polygons?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Palermo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 22:09:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/calculating-the-centroid-of-each-polygoin-but/m-p/360402#M1176</guid>
      <dc:creator>Palermo_SPenano</dc:creator>
      <dc:date>2013-12-13T22:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating the centroid of each polygoin, but weighted by points from another la</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/calculating-the-centroid-of-each-polygoin-but/m-p/360403#M1177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Palermo,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are several ways of doing this. For instance by following these manual steps:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Make sure the point layer has X and Y as fields added to the attribute table. If you don't have them use the "&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//001700000032000000"&gt;Add XY Coordinates (Data Management)&lt;/A&gt;" tool&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Next use the "&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00080000000q000000"&gt;Spatial Join (Analysis)&lt;/A&gt;" tool to obtain the ID (Feature ID or any other unique ID) of the polygons for each point.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Open the attribute table to the points with the joined polygons.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Now do a summarize on the field that contains the polygon ID. (see more explanation in the Help topic on "&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//005s00000055000000"&gt;Summarizing data in a table&lt;/A&gt;")&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;In this summarize you will calculate the average of the POINT_X and POINT_Y fields. The output is a table that holds the field you summarize on (ID of the polygons) and the average X and Y per polygon. These are the center point coordinates based on the points per polygon.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;The make this spatial, use the "&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000006z000000"&gt;Make XY Event Layer (Data Management)&lt;/A&gt;" tool.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xander&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2014 13:19:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/calculating-the-centroid-of-each-polygoin-but/m-p/360403#M1177</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2014-01-02T13:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating the centroid of each polygoin, but weighted by points from another la</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/calculating-the-centroid-of-each-polygoin-but/m-p/360404#M1178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sol, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First of all thanks for the +1, and for the additional ideas you have on the matter.&amp;nbsp; If I look at the original question, to me it clearly states that the density of the points is asked. The polygons are merely used to define which points should be combined to 1 center. On the other hand, we should ask Palermo what he wishes to achieve with the analysis, to be able to define what analysis suits his needs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I look close at the picture and the name of it ("Urban_density.jpg") it sounds to me that the polygons are counties and the points are urbanizations. To get the "center of gravity" it might be more realistic to use a certain characteristic as weight; say population per point. This would result in the center of gravity of population per county.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One more thought on using the outline of the polygon to determining the center; if you use for instance each vertex or equally separated points on the outline, a polygon with a lot of detail on one side (like the one center right in the picture) would pull the center of gravity towards the detailed part of the outline. I don't think this is what we want...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xander&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2014 16:16:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/calculating-the-centroid-of-each-polygoin-but/m-p/360404#M1178</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2014-01-02T16:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating the centroid of each polygoin, but weighted by points from another la</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/calculating-the-centroid-of-each-polygoin-but/m-p/360405#M1179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sol,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good point that a center of gravity of population may well be placed on a location where no population exists (+1 for that)... Key question remains; what is the purpose of the analysis?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xander&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2014 18:50:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/calculating-the-centroid-of-each-polygoin-but/m-p/360405#M1179</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2014-01-02T18:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating the centroid of each polygoin, but weighted by points from another la</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/calculating-the-centroid-of-each-polygoin-but/m-p/360406#M1180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The analysis would become more exciting if taken into raster environment, solving some issues of center of gravity for irregular polygons. Take the green points also to a raster. Options increase many times to includes weights in a raster environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2014 19:59:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/calculating-the-centroid-of-each-polygoin-but/m-p/360406#M1180</guid>
      <dc:creator>RamB</dc:creator>
      <dc:date>2014-01-02T19:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating the centroid of each polygoin, but weighted by points from another la</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/calculating-the-centroid-of-each-polygoin-but/m-p/360407#M1181</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;Wow this is great. Thanks a lot everyone for your suggestions. I have moved on to other projects and have not looked at this dataset for awhile. I will note everything said here in case I encounter a similar problem in the future. I appreciate all of your replies!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Palermo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 01:36:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/calculating-the-centroid-of-each-polygoin-but/m-p/360407#M1181</guid>
      <dc:creator>Palermo_SPenano</dc:creator>
      <dc:date>2014-01-21T01:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating the centroid of each polygoin, but weighted by points from another la</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/calculating-the-centroid-of-each-polygoin-but/m-p/360408#M1182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Polermo,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Another strategy &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Make sure your polygon features have an ID field (so every polygon has a unique ID).&amp;nbsp; Then do a Spatial Join on the points (Target = points, Join Features = polygons) to add that ID value to each point.&amp;nbsp; Now each point "knows" which polygon it is in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Run the Mean Center tool on the points.&amp;nbsp; Use the polygon ID associated with each point as the Case Field.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will create a centroid for each polygon weighted by the points inside.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope I have correctly understood your objectives.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Best wishes!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lauren&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lauren M Scott, PhD&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Esri&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Geoprocessing and Spatial Statistics&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 21:47:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/calculating-the-centroid-of-each-polygoin-but/m-p/360408#M1182</guid>
      <dc:creator>LaurenScott</dc:creator>
      <dc:date>2014-01-23T21:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating the centroid of each polygoin, but weighted by points from another layer</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/calculating-the-centroid-of-each-polygoin-but/m-p/360409#M1183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;I know this is super old but this reply really helped me!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2020 21:25:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/calculating-the-centroid-of-each-polygoin-but/m-p/360409#M1183</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2020-01-13T21:25:41Z</dc:date>
    </item>
  </channel>
</rss>

