<?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 Support Empty Geometries [more simply] with ArcPy Geometry Class Constructors in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/support-empty-geometries-more-simply-with-arcpy/m-p/705061#M54565</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have spent parts of the past few weeks working through the nuances of how ArcPy supports, or doesn't support, empty geometries.&amp;nbsp; I went ahead and created the suggestion on the ArcGIS Ideas site:&amp;nbsp; &lt;A href="https://c.na9.visual.force.com/apex/ideaView?id=087E0000000CxH1&amp;amp;mc=0"&gt;Support Empty Geometries with ArcPy Geometry Class Constructors&lt;/A&gt;.&amp;nbsp; I am working through submitting an enhancement request as well.&amp;nbsp; I will update this post with the number when the enhancement request gets finalized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be remiss if I didn't point out that &lt;A href="https://community.esri.com/migrated-users/2582"&gt;David Wynne&lt;/A&gt;​ pointed out over on the ArcGIS Ideas site how the ArcPy Geometry Class constructors currently support building empty geometries, i.e., &lt;SPAN style="font-family: courier new,courier;"&gt;arcpy.Polygon(arcpy.Array(None))&lt;/SPAN&gt;.&amp;nbsp; I am thankful that David pointed it out because I had tried several similar ways that didn't work.&amp;nbsp; That said, I think the current implementation violates at least two of the Python Zen aphorisms, so I am going to advocate for something simpler, e.g., &lt;SPAN style="font-family: courier new,courier;"&gt;arcpy.Polygon()&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE:&amp;nbsp; The enhancement request is ENH-000087299:&amp;nbsp; Although creating empty geometries is supported using ArcPy Geometry Classes, there is currently no documentation on creating empty geometries.&amp;nbsp; It isn't quite what I was going for, but the lack of documentation is the bigger issue at the moment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2015 23:01:57 GMT</pubDate>
    <dc:creator>JoshuaBixby</dc:creator>
    <dc:date>2015-04-27T23:01:57Z</dc:date>
    <item>
      <title>Support Empty Geometries [more simply] with ArcPy Geometry Class Constructors</title>
      <link>https://community.esri.com/t5/python-questions/support-empty-geometries-more-simply-with-arcpy/m-p/705061#M54565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have spent parts of the past few weeks working through the nuances of how ArcPy supports, or doesn't support, empty geometries.&amp;nbsp; I went ahead and created the suggestion on the ArcGIS Ideas site:&amp;nbsp; &lt;A href="https://c.na9.visual.force.com/apex/ideaView?id=087E0000000CxH1&amp;amp;mc=0"&gt;Support Empty Geometries with ArcPy Geometry Class Constructors&lt;/A&gt;.&amp;nbsp; I am working through submitting an enhancement request as well.&amp;nbsp; I will update this post with the number when the enhancement request gets finalized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be remiss if I didn't point out that &lt;A href="https://community.esri.com/migrated-users/2582"&gt;David Wynne&lt;/A&gt;​ pointed out over on the ArcGIS Ideas site how the ArcPy Geometry Class constructors currently support building empty geometries, i.e., &lt;SPAN style="font-family: courier new,courier;"&gt;arcpy.Polygon(arcpy.Array(None))&lt;/SPAN&gt;.&amp;nbsp; I am thankful that David pointed it out because I had tried several similar ways that didn't work.&amp;nbsp; That said, I think the current implementation violates at least two of the Python Zen aphorisms, so I am going to advocate for something simpler, e.g., &lt;SPAN style="font-family: courier new,courier;"&gt;arcpy.Polygon()&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE:&amp;nbsp; The enhancement request is ENH-000087299:&amp;nbsp; Although creating empty geometries is supported using ArcPy Geometry Classes, there is currently no documentation on creating empty geometries.&amp;nbsp; It isn't quite what I was going for, but the lack of documentation is the bigger issue at the moment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 23:01:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/support-empty-geometries-more-simply-with-arcpy/m-p/705061#M54565</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2015-04-27T23:01:57Z</dc:date>
    </item>
  </channel>
</rss>

