<?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 Issue converting H3 cell boundary WKT to geometry with GeoAccessor.set_geometry() in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-converting-h3-cell-boundary-wkt-to-geometry/m-p/1709836#M11976</link>
    <description>&lt;H1&gt;&lt;SPAN&gt;H3 polygons work at resolution 8 but become empty at resolution 9+&lt;/SPAN&gt;&lt;/H1&gt;&lt;H2&gt;&lt;SPAN&gt;Environment&lt;/SPAN&gt;&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;ArcGIS Pro 3.6&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;ArcGIS API for Python 2.4.2&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;DuckDB 1.5.4&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;DuckDB Spatial Extension&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;DuckDB H3 Extension&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Python Notebook in ArcGIS Pro&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H2&gt;&lt;SPAN&gt;Description&lt;/SPAN&gt;&lt;/H2&gt;&lt;P class=""&gt;&lt;SPAN&gt;I found what appears to be a bug in &lt;/SPAN&gt;&lt;SPAN&gt;GeoAccessor.set_geometry()&lt;/SPAN&gt;&lt;SPAN&gt; when converting H3 cell boundary WKT geometries.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Using the same workflow, H3 polygons at resolutions &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;0–8&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; are converted correctly and displayed on the map. However, polygons at resolutions &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;9–15&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; are converted to empty geometries.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;The feature class is created successfully, but no geometry is displayed on the map.&lt;/SPAN&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN&gt;Output&lt;/SPAN&gt;&lt;/H2&gt;&lt;H3&gt;&lt;SPAN&gt;Resolution 8 (Works)&lt;/SPAN&gt;&lt;/H3&gt;&lt;PRE&gt;&lt;SPAN&gt;{'rings': [[&lt;SPAN class=""&gt;[31.134037, 29.98722]&lt;/SPAN&gt;, &lt;SPAN class=""&gt;[31.139995, 29.98765]&lt;/SPAN&gt;, &lt;SPAN class=""&gt;[31.143417, 29.983361]&lt;/SPAN&gt;, &lt;SPAN class=""&gt;[31.140882, 29.978643]&lt;/SPAN&gt;, &lt;SPAN class=""&gt;[31.134924, 29.978213]&lt;/SPAN&gt;, &lt;SPAN class=""&gt;[31.131502, 29.982502]&lt;/SPAN&gt;, &lt;SPAN class=""&gt;[31.134037, 29.98722]&lt;/SPAN&gt;]], 'spatialReference': {'wkid': 4326, 'latestWkid': 4326}}
&amp;lt;class 'arcgis.geometry._types.Polygon'&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;H3&gt;&lt;SPAN&gt;Resolution 10 (Fails)&lt;/SPAN&gt;&lt;/H3&gt;&lt;PRE&gt;&lt;SPAN&gt;{'rings': [], 'spatialReference': {'wkid': 4326, 'latestWkid': 4326}}
&amp;lt;class 'arcgis.geometry._types.Polygon'&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;The same geometries are successfully parsed using &lt;/SPAN&gt;&lt;SPAN&gt;arcpy.FromWKT()&lt;/SPAN&gt;&lt;SPAN&gt; and are reported as valid by DuckDB &lt;/SPAN&gt;&lt;SPAN&gt;ST_IsValid()&lt;/SPAN&gt;&lt;SPAN&gt;, suggesting the issue occurs during the &lt;/SPAN&gt;&lt;SPAN&gt;GeoAccessor.set_geometry()&lt;/SPAN&gt;&lt;SPAN&gt; conversion process.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've attached two minimal reproducible examples. The only change is the H3 resolution (8 vs 10), yet one works and the other returns an empty polygon geometry.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jun 2026 14:35:51 GMT</pubDate>
    <dc:creator>AmrMortada</dc:creator>
    <dc:date>2026-06-25T14:35:51Z</dc:date>
    <item>
      <title>Issue converting H3 cell boundary WKT to geometry with GeoAccessor.set_geometry()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-converting-h3-cell-boundary-wkt-to-geometry/m-p/1709836#M11976</link>
      <description>&lt;H1&gt;&lt;SPAN&gt;H3 polygons work at resolution 8 but become empty at resolution 9+&lt;/SPAN&gt;&lt;/H1&gt;&lt;H2&gt;&lt;SPAN&gt;Environment&lt;/SPAN&gt;&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;ArcGIS Pro 3.6&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;ArcGIS API for Python 2.4.2&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;DuckDB 1.5.4&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;DuckDB Spatial Extension&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;DuckDB H3 Extension&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Python Notebook in ArcGIS Pro&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H2&gt;&lt;SPAN&gt;Description&lt;/SPAN&gt;&lt;/H2&gt;&lt;P class=""&gt;&lt;SPAN&gt;I found what appears to be a bug in &lt;/SPAN&gt;&lt;SPAN&gt;GeoAccessor.set_geometry()&lt;/SPAN&gt;&lt;SPAN&gt; when converting H3 cell boundary WKT geometries.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Using the same workflow, H3 polygons at resolutions &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;0–8&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; are converted correctly and displayed on the map. However, polygons at resolutions &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;9–15&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; are converted to empty geometries.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;The feature class is created successfully, but no geometry is displayed on the map.&lt;/SPAN&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN&gt;Output&lt;/SPAN&gt;&lt;/H2&gt;&lt;H3&gt;&lt;SPAN&gt;Resolution 8 (Works)&lt;/SPAN&gt;&lt;/H3&gt;&lt;PRE&gt;&lt;SPAN&gt;{'rings': [[&lt;SPAN class=""&gt;[31.134037, 29.98722]&lt;/SPAN&gt;, &lt;SPAN class=""&gt;[31.139995, 29.98765]&lt;/SPAN&gt;, &lt;SPAN class=""&gt;[31.143417, 29.983361]&lt;/SPAN&gt;, &lt;SPAN class=""&gt;[31.140882, 29.978643]&lt;/SPAN&gt;, &lt;SPAN class=""&gt;[31.134924, 29.978213]&lt;/SPAN&gt;, &lt;SPAN class=""&gt;[31.131502, 29.982502]&lt;/SPAN&gt;, &lt;SPAN class=""&gt;[31.134037, 29.98722]&lt;/SPAN&gt;]], 'spatialReference': {'wkid': 4326, 'latestWkid': 4326}}
&amp;lt;class 'arcgis.geometry._types.Polygon'&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;H3&gt;&lt;SPAN&gt;Resolution 10 (Fails)&lt;/SPAN&gt;&lt;/H3&gt;&lt;PRE&gt;&lt;SPAN&gt;{'rings': [], 'spatialReference': {'wkid': 4326, 'latestWkid': 4326}}
&amp;lt;class 'arcgis.geometry._types.Polygon'&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;The same geometries are successfully parsed using &lt;/SPAN&gt;&lt;SPAN&gt;arcpy.FromWKT()&lt;/SPAN&gt;&lt;SPAN&gt; and are reported as valid by DuckDB &lt;/SPAN&gt;&lt;SPAN&gt;ST_IsValid()&lt;/SPAN&gt;&lt;SPAN&gt;, suggesting the issue occurs during the &lt;/SPAN&gt;&lt;SPAN&gt;GeoAccessor.set_geometry()&lt;/SPAN&gt;&lt;SPAN&gt; conversion process.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've attached two minimal reproducible examples. The only change is the H3 resolution (8 vs 10), yet one works and the other returns an empty polygon geometry.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2026 14:35:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-converting-h3-cell-boundary-wkt-to-geometry/m-p/1709836#M11976</guid>
      <dc:creator>AmrMortada</dc:creator>
      <dc:date>2026-06-25T14:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue converting H3 cell boundary WKT to geometry with GeoAccessor.set_geometry()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-converting-h3-cell-boundary-wkt-to-geometry/m-p/1710045#M11977</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/712380"&gt;@AmrMortada&lt;/a&gt;&amp;nbsp;I can reproduce this version 2.4.2 of the Python API but not with 2.4.3. Can you please try upgrading your environment to use 2.4.3?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;conda install esri::arcgis==2.4.3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;pip install arcgis==2.4.3&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2026 20:09:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-converting-h3-cell-boundary-wkt-to-geometry/m-p/1710045#M11977</guid>
      <dc:creator>KenGalliher1</dc:creator>
      <dc:date>2026-06-25T20:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Issue converting H3 cell boundary WKT to geometry with GeoAccessor.set_geometry()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-converting-h3-cell-boundary-wkt-to-geometry/m-p/1710128#M11978</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/108851"&gt;@KenGalliher1&lt;/a&gt;&amp;nbsp;&lt;SPAN&gt;Thanks for checking!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;I upgraded to ArcGIS API for Python 2.4.3 and tested the same two scripts again, but I'm still seeing the same behavior.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN&gt;Resolution 8&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;: Polygon is created correctly and displayed on the map.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN&gt;Resolution 10&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;GeoAccessor.set_geometry()&lt;/SPAN&gt;&lt;SPAN&gt; returns a Polygon with &lt;/SPAN&gt;&lt;SPAN&gt;rings: []&lt;/SPAN&gt;&lt;SPAN&gt;, resulting in an empty geometry.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;SPAN&gt;I've also attached two screenshots after upgrading to 2.4.3:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;One showing the successful output for &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;resolution 8&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;One showing the empty geometry for &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;resolution 10&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 26 Jun 2026 08:31:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-converting-h3-cell-boundary-wkt-to-geometry/m-p/1710128#M11978</guid>
      <dc:creator>AmrMortada</dc:creator>
      <dc:date>2026-06-26T08:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issue converting H3 cell boundary WKT to geometry with GeoAccessor.set_geometry()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-converting-h3-cell-boundary-wkt-to-geometry/m-p/1710302#M11979</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/712380"&gt;@AmrMortada&lt;/a&gt;&amp;nbsp;Thanks for trying that. I'll continue to look into it. In the meantime, if possible, can you log an issue with Tech Support to get this into our system?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2026 16:07:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-converting-h3-cell-boundary-wkt-to-geometry/m-p/1710302#M11979</guid>
      <dc:creator>KenGalliher1</dc:creator>
      <dc:date>2026-06-26T16:07:51Z</dc:date>
    </item>
  </channel>
</rss>

