{"id":3495,"date":"2019-06-03T03:56:04","date_gmt":"2019-06-03T03:56:04","guid":{"rendered":"https:\/\/grindgis.com\/?p=3495"},"modified":"2019-06-03T03:56:04","modified_gmt":"2019-06-03T03:56:04","slug":"how-to-calculate-the-centroid-of-a-polygon-in-arcgis","status":"publish","type":"post","link":"https:\/\/grindgis.com\/?p=3495","title":{"rendered":"How to calculate the centroid of a polygon in ArcGIS:"},"content":{"rendered":"<p>Sometime while doing the GIS analysis we often have to convert the polygon to point feature and also it has to be centroid of the polygon. So here are few ways that you can create centroid of the polygon.<\/p>\n<p><strong>A. Using Geometry Calculation<br \/>\n<\/strong><\/p>\n<p><strong>B. Using Geoprocessing Tools<br \/>\n<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3>A. Using <strong>Geometry Calculation<\/strong><\/h3>\n<p><span style=\"color: black;\"><span style=\"font-size: 22pt;\"><strong>1.<\/strong><\/span> Create an X field and Y field on your attribute table. Make sure the field type is able to hold decimal places, here we are using double as a field type.<br \/>\n<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2019\/06\/060319_0348_Howtocalcul1.png\" alt=\"\" \/><span style=\"color: black;\"><br \/>\n<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2019\/06\/060319_0348_Howtocalcul2.png\" alt=\"\" \/><span style=\"color: black;\"><br \/>\n<\/span><\/p>\n<p><span style=\"color: black;\"><span style=\"font-size: 22pt;\"><strong>2.<\/strong><\/span> Right Click the X field and click the Calculate Geometry.<br \/>\n<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2019\/06\/060319_0348_Howtocalcul3.png\" alt=\"\" \/><span style=\"color: black;\"><br \/>\n<\/span><\/p>\n<p><span style=\"color: black;\"><span style=\"font-size: 22pt;\"><strong>3.<\/strong><\/span> Then Select the &#8220;X coordinate of Centroid&#8221; and your desired units.<br \/>\n<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2019\/06\/060319_0348_Howtocalcul4.png\" alt=\"\" \/><\/p>\n<p><span style=\"color: black; font-size: 22pt;\"><strong>4.<\/strong><\/span> Repeat the process from 2 to 3 for the <strong>Y field<\/strong>. Make sure you select &#8220;Y Coordinate of Centroid&#8221;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2019\/06\/060319_0348_Howtocalcul5.png\" alt=\"\" \/><\/p>\n<p><span style=\"color: black; font-size: 22pt;\"><strong>5.<\/strong><\/span> Export the table to your local drive and add to the Table of content.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2019\/06\/060319_0348_Howtocalcul6.png\" alt=\"\" \/><span style=\"color: black; font-size: 22pt;\"><strong><br \/>\n<\/strong><\/span><\/p>\n<p><span style=\"color: black; font-size: 22pt;\"><strong>6.<\/strong><\/span> Say &#8220;Yes&#8221; to add to the Table of Contents.<\/p>\n<p><span style=\"color: black; font-size: 22pt;\"><strong>7.<\/strong><\/span> Right click the added table and select &#8220;Display X and Y data&#8221; Coordinates.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2019\/06\/060319_0348_Howtocalcul7.png\" alt=\"\" \/><\/p>\n<p><span style=\"color: black; font-size: 22pt;\"><strong>8.<\/strong><\/span> By default it will take X and Y filed. If you have named it differently then you assign to appropriate field.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2019\/06\/060319_0348_Howtocalcul8.png\" alt=\"\" \/><\/p>\n<p><span style=\"color: black; font-size: 22pt;\"><strong>9.<\/strong><\/span> Press Ok to plot the coordinates. It is an event file, you can export it as a shape file or feature class for permanency.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2019\/06\/060319_0348_Howtocalcul9.png\" alt=\"\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>B. Using Geoprocessing Tools<\/h3>\n<p><span style=\"color: black; font-size: 22pt;\"><strong>1.<\/strong><\/span> Find the tool called the &#8220;Feature to Point&#8221; using the Search box on ArcGIS 10.x. Or it is located under &#8220;Data Management Tools&#8221;.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2019\/06\/060319_0348_Howtocalcul10.png\" alt=\"\" \/><\/p>\n<p><span style=\"color: black; font-size: 22pt;\"><strong>2.<\/strong><\/span> Open the tool, then select your polygon&#8221; under the &#8220;Input Feature&#8221;. Assign the path for your file and make sure you select the &#8220;Inside&#8221; option. Then press Ok which will create a centroid point.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/grindgis.com\/wp-content\/uploads\/2019\/06\/060319_0348_Howtocalcul11.png\" alt=\"\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometime while doing the GIS analysis we often have to convert the polygon to point feature and also it has to be centroid of the polygon. So here are few ways that you can create centroid of the polygon. A. Using Geometry Calculation B. Using Geoprocessing Tools &nbsp; A. Using Geometry Calculation 1. Create an [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3498,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,29],"tags":[575,576],"class_list":["post-3495","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arcgis","category-software","tag-centroid-of-a-polygon-by-using-arcgis","tag-feature-to-point-arcgis","entry","has-media"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/grindgis.com\/index.php?rest_route=\/wp\/v2\/posts\/3495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/grindgis.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/grindgis.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/grindgis.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/grindgis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3495"}],"version-history":[{"count":0,"href":"https:\/\/grindgis.com\/index.php?rest_route=\/wp\/v2\/posts\/3495\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/grindgis.com\/index.php?rest_route=\/wp\/v2\/media\/3498"}],"wp:attachment":[{"href":"https:\/\/grindgis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/grindgis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/grindgis.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}