<?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: How do I export cordinates of polygon shapes to excel. in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714851#M40497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you can make a video for this code, it will&amp;nbsp; be great....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jun 2019 10:08:09 GMT</pubDate>
    <dc:creator>MRC</dc:creator>
    <dc:date>2019-06-20T10:08:09Z</dc:date>
    <item>
      <title>How do I export cordinates of polygon shapes to excel.</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714842#M40488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I received shape files, and imported it. &amp;nbsp;I can see the shapes, but I need to export the cordinate points of the shape to an excel or csv file in order to import into another program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 13:14:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714842#M40488</guid>
      <dc:creator>Nicolettevan_den_Heever</dc:creator>
      <dc:date>2017-03-13T13:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I export cordinates of polygon shapes to excel.</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714843#M40489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are looking for the XY&amp;nbsp;coordinates of &lt;STRONG&gt;Centroid of polygons&lt;/STRONG&gt;, you could add two Fields to Attribute Table, viz, X and Y and use &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/tables/calculating-area-length-and-other-geometric-properties.htm"&gt;Calculate Geometry&lt;/A&gt; to populate the fields with the X and Y coordinate of the Centroid. Then you can use &lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/conversion/table-to-excel.htm"&gt;Table to Excel&lt;/A&gt; geoprocessing tool to export to Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, if you want the&amp;nbsp;XY coordinates&amp;nbsp;of all the &lt;STRONG&gt;vertices of the polygon&lt;/STRONG&gt;, you will need to convert &lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/feature-vertices-to-points.htm"&gt;feature vertices to points&lt;/A&gt;, add the XY fields to attribute table and populate using Calculate Geometry. Then Go for Table to Excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 14:48:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714843#M40489</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2017-03-13T14:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I export cordinates of polygon shapes to excel.</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714844#M40490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For all points for all license levels, there are other workarounds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/339805_featureclasstoexcel.png" style="width: 758px; height: 329px;" /&gt;&lt;/P&gt;&lt;P&gt;The key is the explode_to_points which busts up the geometry into its constituent points.&amp;nbsp; Rows 1 to 5 form the clockwise points of a square in this example.&amp;nbsp; Once busted up, bring it back in as table and export to excel, or there are tools to simply send the array to excel directly...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 18:32:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714844#M40490</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-03-13T18:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I export cordinates of polygon shapes to excel.</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714845#M40491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to export the coordinates of vertices of a polygon into excel or as a text file in the following format: Polygon1: y,x ; y,x ;y,x ; y,x&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore, all coordinates that make up a polygon should be in one row?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2019 10:16:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714845#M40491</guid>
      <dc:creator>LieslDe_Swardt1</dc:creator>
      <dc:date>2019-01-14T10:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I export cordinates of polygon shapes to excel.</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714846#M40492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Liesl Not without coding the output to from numpy to a row format.&amp;nbsp; If you have a use case, you might want to start another question describing the need to go to excel and why WKT or similar output format is needed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2019 13:05:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714846#M40492</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-01-14T13:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I export cordinates of polygon shapes to excel.</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714847#M40493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/338727" target="_blank"&gt;Liesl De Swardt&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you could do something like this with a bit of Python code:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;def&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;main&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy

&amp;nbsp;&amp;nbsp;&amp;nbsp; fc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;'C:\GeoNet\WKT\data.gdb\polygons'&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN class="comment token"&gt;# the input polygons&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fld_id &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'OID@'&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN class="comment token"&gt;# use the OID as ID field in the output&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; txt &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;'C:\GeoNet\WKT\output2.txt'&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN class="comment token"&gt;# teh output text file to load into Excel&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;with&lt;/SPAN&gt; open&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;txt&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'w'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; f&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;with&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;da&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SearchCursor&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fld_id&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'SHAPE@'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; curs&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; row &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; curs&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&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; polygon &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; row&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&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; result &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; GetYXcrdList&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;polygon&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;WKT&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&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; f&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;write&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"{}\t{}\n"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;row&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; result&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;


&lt;SPAN class="keyword token"&gt;def&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;GetYXcrdList&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;wkt&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; wkt &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; wkt&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;replace&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'MULTIPOLYGON ((('&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;''&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;replace&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;')))'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;''&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; lst &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; wkt&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;split&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;','&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; result &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; crd &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; lst&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xy &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; crd&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;strip&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;split&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;' '&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; result &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;''&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"{},{}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;xy&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; xy&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result &lt;SPAN class="operator token"&gt;+=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;";{},{}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;xy&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; xy&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; result

&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; __name__ &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'__main__'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; main&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Just change:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;line 4 to point to your polygon featureclass&lt;/LI&gt;&lt;LI&gt;line 5 to include a field to identify the resulting coordinate lists&lt;/LI&gt;&lt;LI&gt;line 6 to point to an output text file that can be loaded into Excel&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below the result of a test run:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/433175_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you want to do with this list of Lat, Lon coordinates in Excel?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 06:36:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714847#M40493</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-12T06:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I export cordinates of polygon shapes to excel.</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714848#M40494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="450919" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/450919_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;i cant run this code&amp;nbsp;&lt;/P&gt;&lt;P&gt;pls help me with this error @&lt;A _jive_internal="true" class="" data-userid="3100" data-username="xander_bakker" href="https://community.esri.com/people/xander_bakker" style="color: #8ca9cd; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;Xander Bakker&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 08:01:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714848#M40494</guid>
      <dc:creator>MRC</dc:creator>
      <dc:date>2019-06-20T08:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I export cordinates of polygon shapes to excel.</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714849#M40495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have a shapefile in a geodatabase... try a featureclass in a geodatabase&lt;/P&gt;&lt;P&gt;You have to edit the full path to the inputs... you just changed "Polygons" to polygons.shp in Xander's code on line 4, so unless you recreated his folder path structure, it won't work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 08:33:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714849#M40495</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-06-20T08:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I export cordinates of polygon shapes to excel.</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714850#M40496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have ald changed folder path structure , but it didn't work. .&lt;/P&gt;&lt;P&gt;it is my link folder , i make like him&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/450939_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/450940_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;the error still just say: "cannot open"&lt;/P&gt;&lt;P&gt;could you please give me an advise... thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 10:05:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714850#M40496</guid>
      <dc:creator>MRC</dc:creator>
      <dc:date>2019-06-20T10:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I export cordinates of polygon shapes to excel.</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714851#M40497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you can make a video for this code, it will&amp;nbsp; be great....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 10:08:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714851#M40497</guid>
      <dc:creator>MRC</dc:creator>
      <dc:date>2019-06-20T10:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I export cordinates of polygon shapes to excel.</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714852#M40498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You still have a shapefile...&lt;/P&gt;&lt;P&gt;Line 9.... it is Shape@ , not Shape*&lt;/P&gt;&lt;P&gt;I prefer&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.esri.com/message/672481-re-how-do-i-export-cordinates-of-polygon-shapes-to-excel?commentID=672481#comment-672481" title="https://community.esri.com/message/672481-re-how-do-i-export-cordinates-of-polygon-shapes-to-excel?commentID=672481#comment-672481"&gt;https://community.esri.com/message/672481-re-how-do-i-export-cordinates-of-polygon-shapes-to-excel?commentID=672481#comm…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 10:20:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714852#M40498</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-06-20T10:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I export cordinates of polygon shapes to excel.</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714853#M40499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;""You still have a shapefile..."" what would file i need ??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;i changed it to shape@ but still same, can you use this code and run it ? then you can find the point i fail, thanks you very much because help me ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 10:34:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714853#M40499</guid>
      <dc:creator>MRC</dc:creator>
      <dc:date>2019-06-20T10:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I export cordinates of polygon shapes to excel.</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714854#M40500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/367524"&gt;Havan Cong&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you look at the original code I provided, you will see on line 4:&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;    fc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;'C:\GeoNet\WKT\data.gdb\polygons'&lt;/SPAN&gt;  # the input polygons&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case, I have a featureclass named "polygons" which is stored inside a file geodatabase called "data.gdb" inside the folder "C:\GeoNet\WKT".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case you have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;    fc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;'C:\GeoNet\WKT\data.gdb\polygons.shp'&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You are using a shapefile called "polygons.shp" which is located inside a folder called&amp;nbsp;"C:\GeoNet\WKT\data.gdb". Possibly using a folder name with a point in it is causing the problems or maybe there is something wrong with the polygon shapefile. Is it possible to attach&amp;nbsp;a ZIP file with the shapefile to this thread to see what is causing the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error indicates that it cannot open the shapefile.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2019 16:52:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714854#M40500</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-06-20T16:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I export cordinates of polygon shapes to excel.</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714855#M40501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help Xander, it's worked. But&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;the result of a test run i get not like my wish&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;example: the&amp;nbsp;&lt;/SPAN&gt;coordinates of polygon i use is a&amp;nbsp;GCS_WGS_1984 and the result show me like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/451022_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;but the file result i want to receive like below :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/451023_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;the type coordinates is&amp;nbsp;Degree same like coordinates of Google earth file&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me change a little bit of the code and then export the coordinates like i hope&lt;/P&gt;&lt;P&gt;thank you very much Xander....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2019 02:35:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714855#M40501</guid>
      <dc:creator>MRC</dc:creator>
      <dc:date>2019-06-21T02:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I export cordinates of polygon shapes to excel.</title>
      <link>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714856#M40502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess that if you project your coordinates to WGS 1984, the result will list the coordinates in WGS 1984 decimal degrees. The code will not change the coordinates, just make sure your&amp;nbsp;shapefile or featureclass is in the right coordinate system before you run the code.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2019 12:01:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-do-i-export-cordinates-of-polygon-shapes-to/m-p/714856#M40502</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-06-21T12:01:19Z</dc:date>
    </item>
  </channel>
</rss>

