<?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 Select By Attributes — SQL expression using SHAPE field in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/select-by-attributes-sql-expression-using-shape/idi-p/1342821</link>
    <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 2.6.8; Oracle 18c; 10.7.1 EGDB; versioned (with the option to move edits to base)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As far as I can tell, it isn't possible to Select By Attributes using a SQL expression that references the SHAPE column:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1698426408854.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84303iE7A01660A1AA7EF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_0-1698426408854.png" alt="Bud_0-1698426408854.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Whereas, it is possible to do it in a definition query.&lt;/P&gt;&lt;P&gt;That seems like an oversight. We should be able to query the SHAPE column, such as WHERE SHAPE IS NULL. And more complex use cases.&lt;/P&gt;&lt;P&gt;Could that functionality be changed?&lt;/P&gt;</description>
    <pubDate>Fri, 27 Oct 2023 17:11:19 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2023-10-27T17:11:19Z</dc:date>
    <item>
      <title>Select By Attributes — SQL expression using SHAPE field</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/select-by-attributes-sql-expression-using-shape/idi-p/1342821</link>
      <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 2.6.8; Oracle 18c; 10.7.1 EGDB; versioned (with the option to move edits to base)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As far as I can tell, it isn't possible to Select By Attributes using a SQL expression that references the SHAPE column:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1698426408854.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84303iE7A01660A1AA7EF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_0-1698426408854.png" alt="Bud_0-1698426408854.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Whereas, it is possible to do it in a definition query.&lt;/P&gt;&lt;P&gt;That seems like an oversight. We should be able to query the SHAPE column, such as WHERE SHAPE IS NULL. And more complex use cases.&lt;/P&gt;&lt;P&gt;Could that functionality be changed?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 17:11:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/select-by-attributes-sql-expression-using-shape/idi-p/1342821</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-10-27T17:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Select By Attributes — SQL expression using SHAPE field</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/select-by-attributes-sql-expression-using-shape/idc-p/1342839#M26718</link>
      <description>&lt;P&gt;I'm using ArcGIS Pro. 3.2.x and in the Select by Attributes GP window, you do not see the SHAPE field to build a query via the Clause Builder.&amp;nbsp; But if you switch it to the SQL Builder, you can create a query here.&amp;nbsp; So I wonder if it's a ArcGIS Pro version issue and/or a DB issue.&lt;BR /&gt;&lt;BR /&gt;See image below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ShapeIsNull.JPG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84309iDE60E85D51DCE924/image-size/large?v=v2&amp;amp;px=999" role="button" title="ShapeIsNull.JPG" alt="ShapeIsNull.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If the goal is to find geometry issues, there is a &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/repair-geometry.htm" target="_self"&gt;Repair Geometry&lt;/A&gt; (Data Management) GP tool to assist.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 17:31:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/select-by-attributes-sql-expression-using-shape/idc-p/1342839#M26718</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2023-10-27T17:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Select By Attributes — SQL expression using SHAPE field</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/select-by-attributes-sql-expression-using-shape/idc-p/1342845#M26720</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2538"&gt;@Robert_LeClair&lt;/a&gt;&amp;nbsp;Thanks.&lt;/P&gt;&lt;P&gt;If I recall,&amp;nbsp; Repair Geometry doesn't support ST_GEOMETRY, even though geometry problems are possible in ST_GEOMETRY features.&amp;nbsp;&lt;A href="https://community.esri.com/t5/geodatabase-questions/find-amp-repair-problem-st-geometry-rows-quot/m-p/1306565" target="_self"&gt;Find &amp;amp; repair problem ST_GEOMETRY rows — "Shape integrity error"&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In this case, I was just trying to select features that didn't have the SHAPE populated. So that I could investigate why the shapes were blank, so it wasn't a case of broken geometry, just null geometry. Null geometry is a legitimate state for features.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 17:39:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/select-by-attributes-sql-expression-using-shape/idc-p/1342845#M26720</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-10-27T17:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Select By Attributes — SQL expression using SHAPE field</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/select-by-attributes-sql-expression-using-shape/idc-p/1342851#M26721</link>
      <description>&lt;P&gt;I think the problem might be specific to versioning. I created a copy FC that isn't versioned and Select By Attributes worked on it without issue. If I register as versioned, then I get the error.&lt;/P&gt;&lt;P&gt;For what it's worth, SHAPE IS NULL works in definition queries, regardless if the FC is versioned or not. So that makes me think there is a bug specifically with Select By Attributes.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 20:29:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/select-by-attributes-sql-expression-using-shape/idc-p/1342851#M26721</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-10-30T20:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Select By Attributes — SQL expression using SHAPE field</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/select-by-attributes-sql-expression-using-shape/idc-p/1342895#M26722</link>
      <description>&lt;P&gt;Certainly - happy to assist where I can.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're correct that Repair Geometry does not support ST_Geometry spatial types only the following ones:&lt;/P&gt;&lt;P&gt;Microsoft SQL Server—Geometry and Geography&lt;BR /&gt;PostgreSQL—PostGIS, Geometry, and Geography&lt;BR /&gt;Oracle—SDO_Geometry&lt;BR /&gt;SAP HANA—ST_Geometry&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 19:03:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/select-by-attributes-sql-expression-using-shape/idc-p/1342895#M26722</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2023-10-27T19:03:13Z</dc:date>
    </item>
  </channel>
</rss>

