<?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 Multi-Polygon causing error with spatial join of two Spatially Enabled Dataframes in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/multi-polygon-causing-error-with-spatial-join-of/m-p/1197063#M7597</link>
    <description>&lt;P&gt;pdf = p.spatial.join(city_df, how='inner', op='intersects')&lt;/P&gt;&lt;P&gt;I am receiving the below error or similar to it when I try to execute the above spatial join operation.&amp;nbsp; &amp;nbsp;I am trying to extract County parcels for our municipality using an ArcGIS Online notebook.&amp;nbsp; &amp;nbsp;I can easily get this to work using arcpy functions in the advanced notebook, but I would like to be able to achieve this using only the ArcGIS API for Python.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TopologicalError: The operation 'GEOSContains_r' could not be performed. Likely cause is invalidity of the geometry &amp;lt;shapely.geometry.multipolygon.MultiPolygon object.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have seen in Shapely 1.8 there is a make_valid function added, but the ArcGIS Online Notebooks only have 1.6.4 package.&amp;nbsp; &amp;nbsp;Is there a way to replicate this functionality to enable the spatial join to proceed?&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would note that the spatial join is successful if I query the County parcels feature service for only those with a last_edited_date within 30days.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2022 20:11:24 GMT</pubDate>
    <dc:creator>ebarr_indepmo</dc:creator>
    <dc:date>2022-07-28T20:11:24Z</dc:date>
    <item>
      <title>Multi-Polygon causing error with spatial join of two Spatially Enabled Dataframes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/multi-polygon-causing-error-with-spatial-join-of/m-p/1197063#M7597</link>
      <description>&lt;P&gt;pdf = p.spatial.join(city_df, how='inner', op='intersects')&lt;/P&gt;&lt;P&gt;I am receiving the below error or similar to it when I try to execute the above spatial join operation.&amp;nbsp; &amp;nbsp;I am trying to extract County parcels for our municipality using an ArcGIS Online notebook.&amp;nbsp; &amp;nbsp;I can easily get this to work using arcpy functions in the advanced notebook, but I would like to be able to achieve this using only the ArcGIS API for Python.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TopologicalError: The operation 'GEOSContains_r' could not be performed. Likely cause is invalidity of the geometry &amp;lt;shapely.geometry.multipolygon.MultiPolygon object.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have seen in Shapely 1.8 there is a make_valid function added, but the ArcGIS Online Notebooks only have 1.6.4 package.&amp;nbsp; &amp;nbsp;Is there a way to replicate this functionality to enable the spatial join to proceed?&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would note that the spatial join is successful if I query the County parcels feature service for only those with a last_edited_date within 30days.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 20:11:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/multi-polygon-causing-error-with-spatial-join-of/m-p/1197063#M7597</guid>
      <dc:creator>ebarr_indepmo</dc:creator>
      <dc:date>2022-07-28T20:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-Polygon causing error with spatial join of two Spatially Enabled Dataframes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/multi-polygon-causing-error-with-spatial-join-of/m-p/1197128#M7598</link>
      <description>&lt;P&gt;What version of the ArcGIS Python API is your Notebook using? I know that spatial dataframe overlays got some improvements in 2.0.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 21:25:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/multi-polygon-causing-error-with-spatial-join-of/m-p/1197128#M7598</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-07-28T21:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-Polygon causing error with spatial join of two Spatially Enabled Dataframes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/multi-polygon-causing-error-with-spatial-join-of/m-p/1198001#M7599</link>
      <description>&lt;P&gt;The ArcGIS Online Notebook has arcgis 1.9.1&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 14:42:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/multi-polygon-causing-error-with-spatial-join-of/m-p/1198001#M7599</guid>
      <dc:creator>ebarr_indepmo</dc:creator>
      <dc:date>2022-08-01T14:42:03Z</dc:date>
    </item>
  </channel>
</rss>

