<?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>idea ArcGIS Python API SpatialDataFrame loads() for WKT geometry in Developers Ideas</title>
    <link>https://community.esri.com/t5/developers-ideas/arcgis-python-api-spatialdataframe-loads-for-wkt/idi-p/935765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently in the ArcGIS Python API (from what I can tell) there is no geometry function which loads text from WKT format into ESRI geometry format.&amp;nbsp; The closest thing that I can find is &lt;A href="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.features.toc.html?highlight=from_xy#arcgis.features.SpatialDataFrame.from_xy"&gt;loads_xy&lt;/A&gt;&amp;nbsp;method which handles point x, y data.&amp;nbsp; But there is nothing for lines, polygons or multipolygons.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a work around I am currently using the shapely function &lt;A href="http://toblerity.org/shapely/shapely.html#shapely.wkt.loads"&gt;loads&lt;/A&gt;&amp;nbsp;and then converting back to ESRI format as I have documented in &lt;A _jive_internal="true" href="https://community.esri.com/thread/223454-arcgis-python-api-set-geometry-column-of-spatially-enabled-data-frame"&gt;this geonet thread&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Nov 2018 16:45:13 GMT</pubDate>
    <dc:creator>NathanielEvatt</dc:creator>
    <dc:date>2018-11-02T16:45:13Z</dc:date>
    <item>
      <title>ArcGIS Python API SpatialDataFrame loads() for WKT geometry</title>
      <link>https://community.esri.com/t5/developers-ideas/arcgis-python-api-spatialdataframe-loads-for-wkt/idi-p/935765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently in the ArcGIS Python API (from what I can tell) there is no geometry function which loads text from WKT format into ESRI geometry format.&amp;nbsp; The closest thing that I can find is &lt;A href="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.features.toc.html?highlight=from_xy#arcgis.features.SpatialDataFrame.from_xy"&gt;loads_xy&lt;/A&gt;&amp;nbsp;method which handles point x, y data.&amp;nbsp; But there is nothing for lines, polygons or multipolygons.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a work around I am currently using the shapely function &lt;A href="http://toblerity.org/shapely/shapely.html#shapely.wkt.loads"&gt;loads&lt;/A&gt;&amp;nbsp;and then converting back to ESRI format as I have documented in &lt;A _jive_internal="true" href="https://community.esri.com/thread/223454-arcgis-python-api-set-geometry-column-of-spatially-enabled-data-frame"&gt;this geonet thread&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 16:45:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-ideas/arcgis-python-api-spatialdataframe-loads-for-wkt/idi-p/935765</guid>
      <dc:creator>NathanielEvatt</dc:creator>
      <dc:date>2018-11-02T16:45:13Z</dc:date>
    </item>
  </channel>
</rss>

