<?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 What does &amp;quot;is empty&amp;quot; mean? in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/what-does-quot-is-empty-quot-mean/m-p/1343956#M8663</link>
    <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 2.6.8; Oracle 18c; 10.7.1 EGDB; SDE.ST_GEOMETRY&lt;/EM&gt;&lt;EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Regarding the &lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/st-isempty.htm" target="_self"&gt;isEmpty ST_GEOMETRY SQL function&lt;/A&gt;:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;ST_IsEmpty returns 1 (Oracle and SQLite) or t (PostgreSQL) if the ST_Geometry object is empty; otherwise, it returns 0 (Oracle and SQLite) or f (PostgreSQL).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;It seems like an empty geometry can either be:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Shape is not null, and geometry is not null (geometry is Nil/zero-vertex), or&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Shape is not null, but geometry is null&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;In other words, the shape is not null, and the geometry is either zero-vertex or null.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is that correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;SQL testing:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1698769205120.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84580i393519F990B04593/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_0-1698769205120.png" alt="Bud_0-1698769205120.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;select
    objectid,
    shape,
    (shape).points as geometry,
    sde.st_area(shape) as area,
    sde.st_isempty(shape) as is_empty,
    comment3,
    (shape).entity,
    sde.st_entity(shape),
    (shape).numpts
from
    infrastr.inf_record_sp&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Related: Idea - &lt;A href="https://community.esri.com/t5/data-management-ideas/define-quot-is-empty-quot-in-the-st-geometry/idi-p/1343961" target="_self"&gt;Define "is empty" in the ST_GEOMETRY documentation&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Nov 2023 23:13:32 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2023-11-28T23:13:32Z</dc:date>
    <item>
      <title>What does "is empty" mean?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/what-does-quot-is-empty-quot-mean/m-p/1343956#M8663</link>
      <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 2.6.8; Oracle 18c; 10.7.1 EGDB; SDE.ST_GEOMETRY&lt;/EM&gt;&lt;EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Regarding the &lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/st-isempty.htm" target="_self"&gt;isEmpty ST_GEOMETRY SQL function&lt;/A&gt;:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;ST_IsEmpty returns 1 (Oracle and SQLite) or t (PostgreSQL) if the ST_Geometry object is empty; otherwise, it returns 0 (Oracle and SQLite) or f (PostgreSQL).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;It seems like an empty geometry can either be:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Shape is not null, and geometry is not null (geometry is Nil/zero-vertex), or&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Shape is not null, but geometry is null&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;In other words, the shape is not null, and the geometry is either zero-vertex or null.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is that correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;SQL testing:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1698769205120.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84580i393519F990B04593/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_0-1698769205120.png" alt="Bud_0-1698769205120.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;select
    objectid,
    shape,
    (shape).points as geometry,
    sde.st_area(shape) as area,
    sde.st_isempty(shape) as is_empty,
    comment3,
    (shape).entity,
    sde.st_entity(shape),
    (shape).numpts
from
    infrastr.inf_record_sp&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Related: Idea - &lt;A href="https://community.esri.com/t5/data-management-ideas/define-quot-is-empty-quot-in-the-st-geometry/idi-p/1343961" target="_self"&gt;Define "is empty" in the ST_GEOMETRY documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 23:13:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/what-does-quot-is-empty-quot-mean/m-p/1343956#M8663</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-11-28T23:13:32Z</dc:date>
    </item>
  </channel>
</rss>

