<?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 Re: Structure area definition query in python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757724#M58476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for checking. The reason I asked because recently when I was using a definitionQuery from a python tool, ArcGIS Pro returned an error (or, did not do anything; don't recall exactly) but I used the same definitionQuery from the python window, it worked as expected. I did not do any additional tests at that time, but I felt it’s a problem in the software. I will do some more testing and let you know what I find out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Mar 2019 16:12:37 GMT</pubDate>
    <dc:creator>PavanYadav</dc:creator>
    <dc:date>2019-03-27T16:12:37Z</dc:date>
    <item>
      <title>Structure area definition query in python</title>
      <link>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757719#M58471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm&amp;nbsp;writing a Python script tool&amp;nbsp;that will generate a map and am stumped on one item.&amp;nbsp; The user enters the fire station number, the minimum area (in square feet) of structures to be displayed, and up to seven optional layers.&amp;nbsp; The tool will then create a PDF of the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything else works fine but I keep getting an error on the structure size (SHAPE.AREA). The code for this particular part is:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;sqft = arcpy.GetParameterAsText(2)&lt;/P&gt;&lt;P&gt;stru = m.listLayers('Structures')[0]&lt;BR /&gt;stru.definitionQuery = """{} &amp;gt;= {}""".format(arcpy.AddFieldDelimiters(stru, 'SHAPE.AREA'), sqft)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The tool parameter for&amp;nbsp;sqft is set to Double.&amp;nbsp; The script&amp;nbsp;completes without crashing, however the structure layer does not display and I get an error if I try to open the attribute table: "Underlying DBMS error [ORA-00904: "SHAPE.AREA": invalid identifier].&amp;nbsp; Manually setting the definition query to SHAPE.AREA &amp;gt;= 5000 works fine, but I can't get it to go in Python.&amp;nbsp; I'm using ArcGIS Pro 2.3.1; I have not tried building the map and tool with ArcMap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Charlie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2019 21:19:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757719#M58471</guid>
      <dc:creator>deleted-user-25j2k-XonNEg</dc:creator>
      <dc:date>2019-03-26T21:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Structure area definition query in python</title>
      <link>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757720#M58472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you see if the same works from the Python Window?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2019 23:19:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757720#M58472</guid>
      <dc:creator>PavanYadav</dc:creator>
      <dc:date>2019-03-26T23:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Structure area definition query in python</title>
      <link>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757721#M58473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get the same error using the Python Window.&amp;nbsp; If I look at the definition query in the layer properties, it looks OK (SHAPE.AREA &amp;gt;= 10000).&lt;/P&gt;&lt;P&gt;If, I then edit the definition query (through layer properties, not Python) by selecting the drop-downs for the fields and relationship, then add 10000, it works fine.&amp;nbsp; Likewise, this works in the Python Window.&amp;nbsp; I may just have to hard code some preset area&amp;nbsp;values using if statements for now.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;stru.definitionQuery = 'SHAPE.AREA &amp;gt;= 10000'&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 13:12:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757721#M58473</guid>
      <dc:creator>deleted-user-25j2k-XonNEg</dc:creator>
      <dc:date>2019-03-27T13:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Structure area definition query in python</title>
      <link>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757722#M58474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have quoted the string wrong.&amp;nbsp; Just use one pair of double quotes, not 3 pairs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you may want to try using code to get the area field name instead of hard coding a name that only works for a specific database.&amp;nbsp; something like the following should work&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;sqft = arcpy.GetParameterAsText(2)

stru = m.listLayers('Structures')[0]
fc = stru.dataSource
desc = arcpy.Describe(fc)
areafieldname = desc.areaFieldName
stru.definitionQuery = "{} &amp;gt;= {}".format(arcpy.AddFieldDelimiters(stru, areafieldname), sqft)‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:07:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757722#M58474</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2021-12-12T08:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Structure area definition query in python</title>
      <link>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757723#M58475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;I'll give&amp;nbsp;it a shot, though Esri documentation shows three sets of double quotes, and that way works fine with setting the station's first-due area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Charlie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 15:07:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757723#M58475</guid>
      <dc:creator>deleted-user-25j2k-XonNEg</dc:creator>
      <dc:date>2019-03-27T15:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Structure area definition query in python</title>
      <link>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757724#M58476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for checking. The reason I asked because recently when I was using a definitionQuery from a python tool, ArcGIS Pro returned an error (or, did not do anything; don't recall exactly) but I used the same definitionQuery from the python window, it worked as expected. I did not do any additional tests at that time, but I felt it’s a problem in the software. I will do some more testing and let you know what I find out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 16:12:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757724#M58476</guid>
      <dc:creator>PavanYadav</dc:creator>
      <dc:date>2019-03-27T16:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Structure area definition query in python</title>
      <link>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757725#M58477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="string token"&gt;"{} &amp;gt;= {}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'a'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;10&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'a &amp;gt;= 10'&lt;/SPAN&gt;

&lt;SPAN class="string token"&gt;"""{} &amp;gt;= {}"""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'a'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;10&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'a &amp;gt;= 10'&lt;/SPAN&gt;

&lt;SPAN class="string token"&gt;"""""""&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"""""""&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'a'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;10&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'a &amp;gt;= 10'&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Left and right just need to match/balance in python&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:07:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757725#M58477</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-12T08:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Structure area definition query in python</title>
      <link>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757726#M58478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good to know, but in several&amp;nbsp;languages&amp;nbsp;the use of multiple quotes together makes the quotation mark a literal character within a string&amp;nbsp;and 3 pairs of quotation marks together would return a quoted string within a string equivalent to:&lt;/P&gt;&lt;P&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN class="" style="color: #669900; border: 0px; font-weight: inherit;"&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;'"a &amp;gt;= 10"'‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So given that your examples show that only the first&amp;nbsp;pair of quotation marks is required in Python to get the desired output, I consider the use of more than one pair of quotations both unnecessary and potentially confusing to those familiar with other languages (as it was to me).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 16:36:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757726#M58478</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2019-03-27T16:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Structure area definition query in python</title>
      <link>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757727#M58479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="string token"&gt;"""""""&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'{} &amp;gt;= {}'&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"""""""&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'a'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;10&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"'a &amp;gt;= 10'"&lt;/SPAN&gt;‍‍

&lt;SPAN class="string token"&gt;'''''''&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;''&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"{} &amp;gt;= {}"&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'''''''&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;''&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'a'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;10&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'"a &amp;gt;= 10"'&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;which why a knowledge of balance and quote type is important&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:07:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757727#M58479</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-12T08:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Structure area definition query in python</title>
      <link>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757728#M58480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought that using the Describe function that Richard&amp;nbsp;suggested would work, but it isn't&amp;nbsp;displaying any structures.&amp;nbsp; I'll go back to the hard-coded statements for now; there are only three choices at this point&amp;nbsp; I'll further check it as a stand-alone script and see if that makes any difference and add more flow&amp;nbsp;traces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to everyone.&lt;/P&gt;&lt;P&gt;Charlie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 16:49:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757728#M58480</guid>
      <dc:creator>deleted-user-25j2k-XonNEg</dc:creator>
      <dc:date>2019-03-27T16:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Structure area definition query in python</title>
      <link>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757729#M58481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After your code sets the definition query you should print it to verify&amp;nbsp;that it is the string you expected:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;print(stru.definitionQuery)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 16:54:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757729#M58481</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2019-03-27T16:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Structure area definition query in python</title>
      <link>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757730#M58482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do (though with arcpy.AddMessage).&lt;/P&gt;&lt;P&gt;I made a slight change as I don't like long variable names.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;# Set structure area size filter.&lt;BR /&gt;stru = m.listLayers('Structures')[0]&lt;BR /&gt;fc = stru.dataSource&lt;BR /&gt;desc = arcpy.Describe(fc)&lt;BR /&gt;area = desc.areaFieldName&lt;BR /&gt;stru.definitionQuery = "{} &amp;gt;= {}".format(arcpy.AddFieldDelimiters(stru, area), sqft)&lt;BR /&gt;arcpy.AddMessage('Structure Filter: {}'.format(stru.definitionQuery)) ## Flow trace&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Output of the script tool" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/440562_Capture.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I notice that the field's case changes from all caps to mixed (SHAPE.AREA vs Shape.AREA) but the results are the same.&amp;nbsp; I may also try ArcMap and Python 2.x to see what happens.&amp;nbsp;&amp;nbsp;I have a couple more tweaks&amp;nbsp;to do like getting the scale bars properly set, so this is not a major problem.&amp;nbsp; Hard coding will work for the time being.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 17:16:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757730#M58482</guid>
      <dc:creator>deleted-user-25j2k-XonNEg</dc:creator>
      <dc:date>2019-03-27T17:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Structure area definition query in python</title>
      <link>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757731#M58483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure where your data resides, but I have noticed with 10.2.1 arcmap and SDE data on SQL Server, the&amp;nbsp;desc.areaFieldName reports&amp;nbsp;u'Shape.area' even though in Catalog/Map it says it is 'Shape.STArea()'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I try to use the value returned from Describe, it does not select anything.&amp;nbsp; If I use the&amp;nbsp;Shape.STArea(), everything works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 19:23:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757731#M58483</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2019-03-28T19:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Structure area definition query in python</title>
      <link>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757732#M58484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found one issue - I'm using GetParametersAsText, so a string is being passed along.&amp;nbsp; I will try GetParametes to get the&amp;nbsp;integer.&amp;nbsp; I will post if I figure it out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 21:22:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757732#M58484</guid>
      <dc:creator>deleted-user-25j2k-XonNEg</dc:creator>
      <dc:date>2019-04-01T21:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Structure area definition query in python</title>
      <link>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757733#M58485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you&amp;nbsp; could just&amp;nbsp; int(&lt;SPAN style="display: inline !important; float: none; background-color: #f6f6f6; color: #3d3d3d; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;arcpy.GetParameterAsText(2)&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 23:00:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/structure-area-definition-query-in-python/m-p/757733#M58485</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-04-01T23:00:09Z</dc:date>
    </item>
  </channel>
</rss>

