<?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 Query Layers — Include features with null shape in attribute table in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/query-layers-include-features-with-null-shape-in/idi-p/1349515</link>
    <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 2.6.8; Oracle 18c 10.7.1 EGDB (edit: SDE.ST_Geometry):&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I have feature classes that have rows where the shape is null. If I create a query layer on one of those FCs, the query layer will automatically hide the rows that have null shapes from the attribute table.&lt;/P&gt;&lt;P&gt;Video:&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6341137277112w672h540r387" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6341137277112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6341137277112w672h540r387');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6341137277112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;It's confusing when the query layer attribute table has fewer rows than the underlying datasource. The user isn't warned that the rows get automatically hidden. We also have specific cases where we want to see null shape rows in the attribute table so that we can investigate them. Like this:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/export-fc-while-maintaining-objectid-values/m-p/1349354/highlight/true#M75180" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-pro-questions/export-fc-while-maintaining-objectid-values/m-p/1349354/highlight/true#M75180&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Null shapes are perfectly valid. We can create them using the attribute table, field calculator, python, and SQL. For example, we have a workflow where we load data into a FC from a non-spatial source (like a spreadsheet) and then populate the shapes after the fact. If null shapes are valid, then I don't think query layers should hide them from the attribute table.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To be honest, I've always had trust issues with query layers. They often silently exclude data, which makes analysis problematic. So, I end up avoiding ArcGIS Pro for queries and using other platforms that don't silently exclude rows. Improving things like this would go a long way in terms of making query layers more reliable.&lt;/P&gt;&lt;P&gt;Note: I've only talked about null shapes here. But this idea also applies to features where the shape is &lt;U&gt;not&lt;/U&gt; null, but the geometry is nil or null. See states #2 and #3 here: &lt;A href="https://community.esri.com/t5/data-management-questions/select-features-that-have-blank-shapes/m-p/1346965" target="_self"&gt;Select features that have blank shapes&lt;/A&gt;. Such features should also be included in the attribute table.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Nov 2023 09:26:23 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2023-11-23T09:26:23Z</dc:date>
    <item>
      <title>Query Layers — Include features with null shape in attribute table</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/query-layers-include-features-with-null-shape-in/idi-p/1349515</link>
      <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 2.6.8; Oracle 18c 10.7.1 EGDB (edit: SDE.ST_Geometry):&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I have feature classes that have rows where the shape is null. If I create a query layer on one of those FCs, the query layer will automatically hide the rows that have null shapes from the attribute table.&lt;/P&gt;&lt;P&gt;Video:&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6341137277112w672h540r137" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6341137277112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6341137277112w672h540r137');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6341137277112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;It's confusing when the query layer attribute table has fewer rows than the underlying datasource. The user isn't warned that the rows get automatically hidden. We also have specific cases where we want to see null shape rows in the attribute table so that we can investigate them. Like this:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/export-fc-while-maintaining-objectid-values/m-p/1349354/highlight/true#M75180" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-pro-questions/export-fc-while-maintaining-objectid-values/m-p/1349354/highlight/true#M75180&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Null shapes are perfectly valid. We can create them using the attribute table, field calculator, python, and SQL. For example, we have a workflow where we load data into a FC from a non-spatial source (like a spreadsheet) and then populate the shapes after the fact. If null shapes are valid, then I don't think query layers should hide them from the attribute table.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To be honest, I've always had trust issues with query layers. They often silently exclude data, which makes analysis problematic. So, I end up avoiding ArcGIS Pro for queries and using other platforms that don't silently exclude rows. Improving things like this would go a long way in terms of making query layers more reliable.&lt;/P&gt;&lt;P&gt;Note: I've only talked about null shapes here. But this idea also applies to features where the shape is &lt;U&gt;not&lt;/U&gt; null, but the geometry is nil or null. See states #2 and #3 here: &lt;A href="https://community.esri.com/t5/data-management-questions/select-features-that-have-blank-shapes/m-p/1346965" target="_self"&gt;Select features that have blank shapes&lt;/A&gt;. Such features should also be included in the attribute table.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 09:26:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/query-layers-include-features-with-null-shape-in/idi-p/1349515</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-11-23T09:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Query Layers — Include features with null shape in attribute table</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/query-layers-include-features-with-null-shape-in/idc-p/1349786#M27020</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/351335"&gt;@Bud&lt;/a&gt;&amp;nbsp;have you considered using&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/check-geometry.htm" target="_blank"&gt;Check Geometry (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It will identify your null geometries.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 17:23:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/query-layers-include-features-with-null-shape-in/idc-p/1349786#M27020</guid>
      <dc:creator>JonathanNeal</dc:creator>
      <dc:date>2023-11-15T17:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Query Layers — Include features with null shape in attribute table</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/query-layers-include-features-with-null-shape-in/idc-p/1349888#M27037</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/342593"&gt;@JonathanNeal&lt;/a&gt;&amp;nbsp;I don’t think that tool supports&amp;nbsp;&lt;EM&gt;SDE.ST_Geometry.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 19:42:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/query-layers-include-features-with-null-shape-in/idc-p/1349888#M27037</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-11-15T19:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Query Layers — Include features with null shape in attribute table</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/query-layers-include-features-with-null-shape-in/idc-p/1349932#M27038</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/351335"&gt;@Bud&lt;/a&gt;&amp;nbsp;Thanks confirmed (and learned) that ST_Geometry is not supported for the Check Geometry tool.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 20:16:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/query-layers-include-features-with-null-shape-in/idc-p/1349932#M27038</guid>
      <dc:creator>JonathanNeal</dc:creator>
      <dc:date>2023-11-15T20:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Query Layers — Include features with null shape in attribute table</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/query-layers-include-features-with-null-shape-in/idc-p/1356049#M27383</link>
      <description>&lt;P&gt;I actually ran into this issue a bit ago. My query layer had about 1,000 records until we exported it, then the copy had 5,000 records. We eventually figured out that a case statement deciding geometry stuff was addressing the stuff we had cases for and ignoring everything else. Pro very gamely figured out that we probably didn't want to see that stuff on our map or our table, but apparently forgot when it came time to export. The workaround was to add a where clause excluding what we didn't have cases for, but either entirely ignoring that stuff OR showing it but somehow marking it as null geometry would be helpful.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2023 00:34:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/query-layers-include-features-with-null-shape-in/idc-p/1356049#M27383</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2023-12-02T00:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Query Layers — Include features with null shape in attribute table</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/query-layers-include-features-with-null-shape-in/idc-p/1622119#M35095</link>
      <description>&lt;P&gt;Esri mentioned the info below in an message about documentation feedback:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P class=""&gt;&lt;SPAN&gt;ArcGIS Pro was previously applying a spatial filter when querying for all rows in a spatial table, which was incorrect and led to fields without a spatial value being excluded. &lt;STRONG&gt;That was fixed in ArcGIS Pro 3.3, though.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;The behavior across the platform can be inconsistent if the table does not contain unique ID values or if you create a join that results in duplicate ID values, which makes it difficult to state exactly what behavior you will encounter. That is why we opted for the general statement about the unique ID requirement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;That said, though, I notice that the page on which you commented does not include the statement about the unique ID. I suppose it wasn’t called out because all layers—not just query layers—must have a unique ID. But I think we can add a bullet to the &lt;A title="https://pro.arcgis.com/en/pro-app/3.4/help/mapping/layer-properties/what-is-a-query-layer-.htm#:~:text=Keep%20the%20following%20in%20mind%20when%20working%20with%20query%20layers" href="https://pro.arcgis.com/en/pro-app/3.4/help/mapping/layer-properties/what-is-a-query-layer-.htm#:~:text=Keep%20the%20following%20in%20mind%20when%20working%20with%20query%20layers" target="_blank" rel="noopener noreferrer"&gt;list of things to keep in mind&lt;/A&gt; and link it to the unique identifier fields page.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Other things that would prevent you from seeing all the rows are mentioned in each page about creating a query layer. They’re the spatial property settings. I’ll see if I can work in a bullet about those too.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/342593"&gt;@JonathanNeal&lt;/a&gt;, should this idea be closed?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 01:29:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/query-layers-include-features-with-null-shape-in/idc-p/1622119#M35095</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2025-06-10T01:29:06Z</dc:date>
    </item>
  </channel>
</rss>

