<?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 Spatial Definition Queries — Python Definition in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/spatial-definition-queries-python-definition/idi-p/1683935</link>
    <description>&lt;DIV&gt;It sounds like it’s possible to build enhanced spatial definition queries using ArcPy:&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;ENHANCING THE ARCGIS PRO DEFINITION QUERY SPATIAL CLAUSE WITH ARCPY WITH A MULTI-LAYER GEOMETRY FILTER&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;A href="https://learn.finaldraftmapping.com/enhancing-the-arcgis-pro-definition-query-spatial-clause-with-arcpy-with-a-multi-layer-geometry-filter/" target="_blank" rel="noopener"&gt;https://learn.finaldraftmapping.com/enhancing-the-arcgis-pro-definition-query-spatial-clause-with-arcpy-with-a-multi-layer-geometry-filter/&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Since spatial definition queries can only be configured using the UI, not with SQL, I’m wondering if it would be useful to have a “Python Definition” section in the definition query dialog to customize the spatial definition query. It would be similar to the existing SQL definition section for non-spatial definition queries.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;There would be obvious trade offs; it would be confusing to define the non-spatial part of definition queries with SQL and the spatial part with Python. But it seems like a pretty powerful concept to customize spatial definition queries using Python, yet most people wouldn’t know that’s possible. So I’m wondering if this idea would be a way for users to fully utilize this functionality.&lt;/DIV&gt;</description>
    <pubDate>Thu, 12 Feb 2026 15:31:45 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2026-02-12T15:31:45Z</dc:date>
    <item>
      <title>Spatial Definition Queries — Python Definition</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/spatial-definition-queries-python-definition/idi-p/1683935</link>
      <description>&lt;DIV&gt;It sounds like it’s possible to build enhanced spatial definition queries using ArcPy:&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;ENHANCING THE ARCGIS PRO DEFINITION QUERY SPATIAL CLAUSE WITH ARCPY WITH A MULTI-LAYER GEOMETRY FILTER&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;A href="https://learn.finaldraftmapping.com/enhancing-the-arcgis-pro-definition-query-spatial-clause-with-arcpy-with-a-multi-layer-geometry-filter/" target="_blank" rel="noopener"&gt;https://learn.finaldraftmapping.com/enhancing-the-arcgis-pro-definition-query-spatial-clause-with-arcpy-with-a-multi-layer-geometry-filter/&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Since spatial definition queries can only be configured using the UI, not with SQL, I’m wondering if it would be useful to have a “Python Definition” section in the definition query dialog to customize the spatial definition query. It would be similar to the existing SQL definition section for non-spatial definition queries.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;There would be obvious trade offs; it would be confusing to define the non-spatial part of definition queries with SQL and the spatial part with Python. But it seems like a pretty powerful concept to customize spatial definition queries using Python, yet most people wouldn’t know that’s possible. So I’m wondering if this idea would be a way for users to fully utilize this functionality.&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 Feb 2026 15:31:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/spatial-definition-queries-python-definition/idi-p/1683935</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2026-02-12T15:31:45Z</dc:date>
    </item>
  </channel>
</rss>

