<?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: Spatial Enable DataFrame in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-enable-dataframe/m-p/1122097#M6868</link>
    <description>&lt;P&gt;Thanks Brian for the help. I have try your solution but still needs some help to get it working. I am able to create the point data but really need to get it out as polygon using the geometry column. Have attached the image of the error. Thank for the support.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/28683iDA77103C5D61B585/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Thu, 02 Dec 2021 10:17:29 GMT</pubDate>
    <dc:creator>FrankAwuah-Antwi</dc:creator>
    <dc:date>2021-12-02T10:17:29Z</dc:date>
    <item>
      <title>Spatial Enable DataFrame</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-enable-dataframe/m-p/1121996#M6864</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FrankAwuahAntwi_0-1638401621293.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/28663i6FA35A608E8BAC66/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FrankAwuahAntwi_0-1638401621293.png" alt="FrankAwuahAntwi_0-1638401621293.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How do I Spatial Enable my dataframe with the geometry(Polygon) instead of the from_xy ultilizing the latlon which gives me point data instead of the polygon data I am after.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 23:39:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-enable-dataframe/m-p/1121996#M6864</guid>
      <dc:creator>FrankAwuah-Antwi</dc:creator>
      <dc:date>2021-12-01T23:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Enable DataFrame</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-enable-dataframe/m-p/1122003#M6865</link>
      <description>&lt;P&gt;If you already have a feature class of type polygon you could load it, then you'd have the polygon type and attributes defined for you.&amp;nbsp; The feature class could be empty.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 773px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/28665i16D8DEEDF019B305/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 00:09:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-enable-dataframe/m-p/1122003#M6865</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2021-12-02T00:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Enable DataFrame</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-enable-dataframe/m-p/1122048#M6867</link>
      <description>&lt;P&gt;Brian's answer above is a good workflow.&lt;/P&gt;&lt;P&gt;But if for some reason, your workflow involves reading the data first into a `data_df`, then you can use the `from_df()` method. Please see: &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html#arcgis.features.GeoAccessor.from_df" target="_blank"&gt;https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html#arcgis.features.GeoAccessor.from_df&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;You can then pass the `geometry` column in your screenshot to the `geometry_column` argument.&lt;/P&gt;&lt;P&gt;We are rewriting the SeDF guide doc. The parts 2 and 3 talk about data IO extensively. At the moment it is in draft form here: &lt;A href="https://github.com/Esri/arcgis-python-api/pull/1125" target="_blank"&gt;https://github.com/Esri/arcgis-python-api/pull/1125&lt;/A&gt;. You are welcome to check it out and share feedback.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 03:42:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-enable-dataframe/m-p/1122048#M6867</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-02T03:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Enable DataFrame</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-enable-dataframe/m-p/1122097#M6868</link>
      <description>&lt;P&gt;Thanks Brian for the help. I have try your solution but still needs some help to get it working. I am able to create the point data but really need to get it out as polygon using the geometry column. Have attached the image of the error. Thank for the support.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/28683iDA77103C5D61B585/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 10:17:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-enable-dataframe/m-p/1122097#M6868</guid>
      <dc:creator>FrankAwuah-Antwi</dc:creator>
      <dc:date>2021-12-02T10:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Enable DataFrame</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-enable-dataframe/m-p/1122101#M6869</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thanks AtmaMani&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;for the help. I have try your solution but still needs some help to get it working. I am able to create the point data but really need to get it out as polygon using the geometry column. Have attached the image of the error. Thank for the support.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/28685i37228AFC7A9853D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 10:20:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-enable-dataframe/m-p/1122101#M6869</guid>
      <dc:creator>FrankAwuah-Antwi</dc:creator>
      <dc:date>2021-12-02T10:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Enable DataFrame</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-enable-dataframe/m-p/1122246#M6871</link>
      <description>&lt;P&gt;It sounds like you have a collection of points and you are trying to convert them into polygons?&lt;/P&gt;&lt;P&gt;How are the points in your CSV related -- are the all part of one polygon? Can you use a convex hull to make them into a polygon? Or some other function... this is the time when we say "exactly what do you need to end up with?"&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/2.8/tool-reference/data-management/minimum-bounding-geometry.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/2.8/tool-reference/data-management/minimum-bounding-geometry.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you don't have access to desktop ArcGIS to use arcpy there is also a thing called "GeoPandas".&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 16:34:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-enable-dataframe/m-p/1122246#M6871</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2021-12-02T16:34:51Z</dc:date>
    </item>
  </channel>
</rss>

