<?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 Attribute Table — Indicate if SHAPE field is null vs. geometry is empty in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/attribute-table-indicate-if-shape-field-is-null-vs/idi-p/1342903</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;/P&gt;&lt;P&gt;If I understand correctly, a feature can either have:&lt;/P&gt;&lt;OL class="lia-list-style-type-upper-alpha"&gt;&lt;LI&gt;Null SHAPE field, or&lt;/LI&gt;&lt;LI&gt;SHAPE field is not null, but the geometry is null&lt;BR /&gt;(Never both at the same time)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;There isn't a way to visually determine if the feature is A or B from within the attribute table.&lt;/P&gt;&lt;P&gt;However, when querying using Select By Attributes or a definition query, it's important for the user to know if a feature is A or B. For example, if we use the SQL expression SHAPE IS NULL, that's only going to catch A, not B. If we didn't know there were B rows, then we wouldn't think to query for them.&lt;/P&gt;&lt;P&gt;I'm aware that I can use St_Geometry's &lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/st-isempty.htm" target="_self"&gt;isEmpty SQL function&lt;/A&gt; in some cases. That does work (beware of a &lt;A href="https://support.esri.com/en-us/bug/stgeometry-functions-applied-to-the-shape-field-in-sele-bug-000150273" target="_self"&gt;bug for versioned data&lt;/A&gt;), but I think it would be helpful to have an option to display B differently from A in the attribute table, as a way of alerting the user.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Nov 2023 17:36:33 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2023-11-23T17:36:33Z</dc:date>
    <item>
      <title>Attribute Table — Indicate if SHAPE field is null vs. geometry is empty</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/attribute-table-indicate-if-shape-field-is-null-vs/idi-p/1342903</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;/P&gt;&lt;P&gt;If I understand correctly, a feature can either have:&lt;/P&gt;&lt;OL class="lia-list-style-type-upper-alpha"&gt;&lt;LI&gt;Null SHAPE field, or&lt;/LI&gt;&lt;LI&gt;SHAPE field is not null, but the geometry is null&lt;BR /&gt;(Never both at the same time)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;There isn't a way to visually determine if the feature is A or B from within the attribute table.&lt;/P&gt;&lt;P&gt;However, when querying using Select By Attributes or a definition query, it's important for the user to know if a feature is A or B. For example, if we use the SQL expression SHAPE IS NULL, that's only going to catch A, not B. If we didn't know there were B rows, then we wouldn't think to query for them.&lt;/P&gt;&lt;P&gt;I'm aware that I can use St_Geometry's &lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/st-isempty.htm" target="_self"&gt;isEmpty SQL function&lt;/A&gt; in some cases. That does work (beware of a &lt;A href="https://support.esri.com/en-us/bug/stgeometry-functions-applied-to-the-shape-field-in-sele-bug-000150273" target="_self"&gt;bug for versioned data&lt;/A&gt;), but I think it would be helpful to have an option to display B differently from A in the attribute table, as a way of alerting the user.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 17:36:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/attribute-table-indicate-if-shape-field-is-null-vs/idi-p/1342903</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-11-23T17:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Table — Indicate if SHAPE field is null vs. object's geometry is empty</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/attribute-table-indicate-if-shape-field-is-null-vs/idc-p/1342935#M26726</link>
      <description>&lt;P&gt;This might be an issue of terms, because as you point out, there's quite a bit of conflict and overlap, however:&lt;/P&gt;&lt;P&gt;Can the Shape field&amp;nbsp;&lt;STRONG&gt;ever&lt;/STRONG&gt; be NULL?&amp;nbsp; I know a feature can potentially have NULL geometry, but I always viewed the shape field as being dictated by the chosen geometry type of the feature class.&lt;/P&gt;&lt;P&gt;i.e., If I create a new Polygon Feature Class that has Z coordinate values, the Shape field is always going to say "Polygon Z" for all features in that feature class, isn't it, as shown below?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MErikReedAugusta_0-1698438767989.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84324iBC7323CB9BED18BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MErikReedAugusta_0-1698438767989.png" alt="MErikReedAugusta_0-1698438767989.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I wasn't aware it was possible for that field to ever be NULL, even if the geometry of the feature is NULL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: My experience thus far is largely with FGDBs, so it's possible what you're discussing is possible in Enterprise, but not FGDB.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 20:35:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/attribute-table-indicate-if-shape-field-is-null-vs/idc-p/1342935#M26726</guid>
      <dc:creator>MErikReedAugusta</dc:creator>
      <dc:date>2023-10-27T20:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Table — Indicate if SHAPE field is null vs. object's geometry is empty</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/attribute-table-indicate-if-shape-field-is-null-vs/idc-p/1343005#M26728</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/569244"&gt;@MErikReedAugusta&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's possible to set a SHAPE field to null using the attribute table, field calculator, Python, and SQL. Here's how to do it in the field calculator:&lt;/P&gt;&lt;P&gt;Right-click the SHAPE field —&amp;gt; Field Calculator —&amp;gt; Type &lt;EM&gt;None&lt;/EM&gt; —&amp;gt; Apply.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1698450230655.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84339iF79DE7F3E1EAF351/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_1-1698450230655.png" alt="Bud_1-1698450230655.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Verify that the SHAPE is now null by querying in a SQL client like SQL developer:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_4-1698450638044.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84342i61F809D1F4B9CC72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_4-1698450638044.png" alt="Bud_4-1698450638044.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the attribute table in ArcGIS Pro, the SHAPE is still shown as "Polygon", even though the SHAPE is really null in the underlying data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_2-1698450352522.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84340i9F27E7C7AB717C87/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_2-1698450352522.png" alt="Bud_2-1698450352522.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So that makes me think that the "Polygon" text is fake. Maybe ArcGIS Pro just grabs that text from the FC system tables and uses it to show&amp;nbsp;&lt;EM&gt;something&lt;/EM&gt; in the SHAPE field. Maybe Esri couldn't think of anything better to display there, since it's not like they're going to list the feature coordinates (too long &amp;amp; slow).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just guessing.&lt;/P&gt;&lt;P&gt;Related:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/display-null-shape-as-lt-null-gt-in-the-attribute/idi-p/1343011" target="_self"&gt;Display null SHAPE as &amp;lt;Null&amp;gt; in the attribute table&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 17:38:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/attribute-table-indicate-if-shape-field-is-null-vs/idc-p/1343005#M26728</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-11-23T17:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Table — Indicate if SHAPE field is null vs. object's geometry is empty</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/attribute-table-indicate-if-shape-field-is-null-vs/idc-p/1343292#M26735</link>
      <description>&lt;P&gt;Likewise, "Click to add new row" in the attribute table creates a row with a null SHAPE.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1698677380355.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84423i6DB5F1194A1BC0D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_0-1698677380355.png" alt="Bud_0-1698677380355.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And if I were to load non-spatial data into the FC from Excel, etc. using the Load/Append tool, the SHAPE would also be null.&lt;/P&gt;&lt;P&gt;Yet, the SHAPE field in the attribute table would be displayed as "Polygon", not "&amp;lt;Null&amp;gt;".&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 14:52:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/attribute-table-indicate-if-shape-field-is-null-vs/idc-p/1343292#M26735</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-10-30T14:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Table — Indicate if SHAPE field is null vs. object's geometry is empty</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/attribute-table-indicate-if-shape-field-is-null-vs/idc-p/1343447#M26746</link>
      <description>&lt;P&gt;I've always viewed that SHAPE&amp;nbsp;&lt;STRONG&gt;field&lt;/STRONG&gt; as being the type of geometry that the feature&amp;nbsp;&lt;EM&gt;can hold&lt;/EM&gt;, not necessarily what it&amp;nbsp;&lt;EM&gt;is holding.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I'll agree, though, that this is further complicated by things like the Data Access cursors in ArcPy, where the field name/token "SHAPE@" gets you the geometry object, which can be NULL.&lt;/P&gt;&lt;P&gt;You're probably right that "Polygon" in your screenshots means absolutely nothing in practice, and better UI would be to show what type of geometry is contained in the feature.&amp;nbsp; 99/100, it'll be the same as the geometry of your Feature Class, because otherwise why bother with a geolocated feature in the first place.&amp;nbsp; But it would help find that 1/100 mistake with NULL geometry.&lt;/P&gt;&lt;P&gt;Though as an aside, I've never understood why NULL geometry would need to be permitted.&amp;nbsp; We're talking about a geographically-aware Feature Class; there are other data structures for when the position isn't vitally important.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 17:46:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/attribute-table-indicate-if-shape-field-is-null-vs/idc-p/1343447#M26746</guid>
      <dc:creator>MErikReedAugusta</dc:creator>
      <dc:date>2023-10-30T17:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Table — Indicate if SHAPE field is null vs. geometry is empty</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/attribute-table-indicate-if-shape-field-is-null-vs/idc-p/1353014#M27211</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/569244"&gt;@MErikReedAugusta&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Though as an aside, I've never understood why NULL geometry would need to be permitted.&amp;nbsp; We're talking about a geographically-aware Feature Class; there are other data structures for when the position isn't vitally important.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;We have a workflow where we load rows from a non-spatial datasource (like a spreadsheet) into a FC. Then we go in after the fact and create/digitize the shapes. It's worked well for us in the past.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 17:40:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/attribute-table-indicate-if-shape-field-is-null-vs/idc-p/1353014#M27211</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-11-23T17:40:57Z</dc:date>
    </item>
  </channel>
</rss>

