<?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 Does the model only tool Get Field Value honour the geometry column in Arcpro 3.0? in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/does-the-model-only-tool-get-field-value-honour/m-p/1228710#M245</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Just wanted to check with someone to make sure I'm not making a school boy error. I have a very simple model in ArcPro 3.0.2, it is shown below. It uses the get field value tool to return the geometry which feeds into a Calculate value tool, in this simple case I am returning the area (to show the problem), but in reality I might actually be accessing some other property such as extent.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="DuncanHornby_0-1667566586747.png" style="width: 535px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55283iDB920DA07EF12BC6/image-dimensions/535x91?v=v2" width="535" height="91" role="button" title="DuncanHornby_0-1667566586747.png" alt="DuncanHornby_0-1667566586747.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Note output of Get Field Value is a precondition to Calculate&amp;nbsp;Value.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The tools are as:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="DuncanHornby_1-1667566649009.png" style="width: 630px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55284i92D33227C7E81D70/image-dimensions/630x271?v=v2" width="630" height="271" role="button" title="DuncanHornby_1-1667566649009.png" alt="DuncanHornby_1-1667566649009.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The input layer is nothing more than:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="DuncanHornby_2-1667566755951.png" style="width: 635px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55287i939609CBA3C4DFE6/image-dimensions/635x376?v=v2" width="635" height="376" role="button" title="DuncanHornby_2-1667566755951.png" alt="DuncanHornby_2-1667566755951.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The model never completes as it appears to be returning a NULL geometry?&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Executing (Get Field Value): GetFieldValue test2 Shape Polygon #&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Start Time: 04 November 2022 13:00:44&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Succeeded at 04 November 2022 13:00:44 (Elapsed Time: 0.01 seconds)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Executing (Calculate Value): CalculateValue test(%polygon%) "def test(poly):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;return poly.area" Double&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Start Time: 04 November 2022 13:00:44&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;The process did not execute because the precondition is false.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Succeeded at 04 November 2022 13:00:44 (Elapsed Time: 0.00 seconds)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Tagging&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/6246"&gt;@ShitijMehta&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/129401"&gt;@KoryKramer&lt;/a&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;There is nothing in the help file to indicate that this tool &lt;EM&gt;does not work&lt;/EM&gt; with the SHAPE field. I would have expected it to work with the SHAPE field as I am allowed to set the output data type to various geometry types?&lt;/P&gt;</description>
    <pubDate>Fri, 04 Nov 2022 13:07:43 GMT</pubDate>
    <dc:creator>DuncanHornby</dc:creator>
    <dc:date>2022-11-04T13:07:43Z</dc:date>
    <item>
      <title>Does the model only tool Get Field Value honour the geometry column in Arcpro 3.0?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/does-the-model-only-tool-get-field-value-honour/m-p/1228710#M245</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Just wanted to check with someone to make sure I'm not making a school boy error. I have a very simple model in ArcPro 3.0.2, it is shown below. It uses the get field value tool to return the geometry which feeds into a Calculate value tool, in this simple case I am returning the area (to show the problem), but in reality I might actually be accessing some other property such as extent.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="DuncanHornby_0-1667566586747.png" style="width: 535px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55283iDB920DA07EF12BC6/image-dimensions/535x91?v=v2" width="535" height="91" role="button" title="DuncanHornby_0-1667566586747.png" alt="DuncanHornby_0-1667566586747.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Note output of Get Field Value is a precondition to Calculate&amp;nbsp;Value.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The tools are as:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="DuncanHornby_1-1667566649009.png" style="width: 630px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55284i92D33227C7E81D70/image-dimensions/630x271?v=v2" width="630" height="271" role="button" title="DuncanHornby_1-1667566649009.png" alt="DuncanHornby_1-1667566649009.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The input layer is nothing more than:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="DuncanHornby_2-1667566755951.png" style="width: 635px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55287i939609CBA3C4DFE6/image-dimensions/635x376?v=v2" width="635" height="376" role="button" title="DuncanHornby_2-1667566755951.png" alt="DuncanHornby_2-1667566755951.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The model never completes as it appears to be returning a NULL geometry?&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Executing (Get Field Value): GetFieldValue test2 Shape Polygon #&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Start Time: 04 November 2022 13:00:44&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Succeeded at 04 November 2022 13:00:44 (Elapsed Time: 0.01 seconds)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Executing (Calculate Value): CalculateValue test(%polygon%) "def test(poly):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;return poly.area" Double&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Start Time: 04 November 2022 13:00:44&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;The process did not execute because the precondition is false.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Succeeded at 04 November 2022 13:00:44 (Elapsed Time: 0.00 seconds)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Tagging&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/6246"&gt;@ShitijMehta&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/129401"&gt;@KoryKramer&lt;/a&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;There is nothing in the help file to indicate that this tool &lt;EM&gt;does not work&lt;/EM&gt; with the SHAPE field. I would have expected it to work with the SHAPE field as I am allowed to set the output data type to various geometry types?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 13:07:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/does-the-model-only-tool-get-field-value-honour/m-p/1228710#M245</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2022-11-04T13:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Does the model only tool Get Field Value honour the geometry column in Arcpro 3.0?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/does-the-model-only-tool-get-field-value-honour/m-p/1229809#M246</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;Why do you need to use get field value?&amp;nbsp;&lt;BR /&gt;Are you iterating over each row?&amp;nbsp;&lt;BR /&gt;You might be able to simply do this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Horizon_0-1667971427290.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55552i42E5377DB98D0FBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Horizon_0-1667971427290.png" alt="Horizon_0-1667971427290.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 05:28:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/does-the-model-only-tool-get-field-value-honour/m-p/1229809#M246</guid>
      <dc:creator>SMehta</dc:creator>
      <dc:date>2022-11-09T05:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Does the model only tool Get Field Value honour the geometry column in Arcpro 3.0?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/does-the-model-only-tool-get-field-value-honour/m-p/1229855#M247</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I use the Get field tool as I only need to read the first row, which is what the tool does. My concern is that it appears that I can select the Shape field as the field to extract data from but it does not seem to output a geometry (polygon in my case) as when I feed it into the Calculate value tool it is Null? In your example what is &lt;EM&gt;a&lt;/EM&gt;? I see you embed it in quotes. So from my testing its not clear if the Get Field tool is failing to output a geometry or its the Calculate Value tool failing to read a geometry object. In your example you are taking a string.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 09:21:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/does-the-model-only-tool-get-field-value-honour/m-p/1229855#M247</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2022-11-09T09:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Does the model only tool Get Field Value honour the geometry column in Arcpro 3.0?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/does-the-model-only-tool-get-field-value-honour/m-p/1231797#M248</link>
      <description>&lt;P&gt;a is a feature class/layer/ string with path. I am describing it to get the extent like the test2 polygon in your first comment.&amp;nbsp;&lt;BR /&gt;Share your model or image of the cal val tool dialog and the workflow before and after that. If you want to get the first row value - get field value is the right tool, but why do u need the first row value and what value is it?&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 16:35:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/does-the-model-only-tool-get-field-value-honour/m-p/1231797#M248</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2022-11-15T16:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Does the model only tool Get Field Value honour the geometry column in Arcpro 3.0?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/does-the-model-only-tool-get-field-value-honour/m-p/1231823#M249</link>
      <description>&lt;P&gt;My original post is the workflow, its really that simple. In your reply your are extracting the extent of a &lt;EM&gt;layer&lt;/EM&gt; I want to extract out a property of a geometry that happens to be in a featureclass at the first row.&amp;nbsp; But it feels like you are getting distracted by the why case (which could be many). My question is simply does the model only tool Get Field Value honour the geometry column? I can choose polygons/points/lines but my simple model above fails and its not possible to determine if&amp;nbsp;&lt;SPAN&gt;the Get Field tool is failing to output a geometry or its the Calculate Value tool failing to read a geometry object. You are passing in strings, I am not. Why would the Get Field tool allow me to choose the output data type if it can't actually pass it out as input into another tool?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 16:52:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/does-the-model-only-tool-get-field-value-honour/m-p/1231823#M249</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2022-11-15T16:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Does the model only tool Get Field Value honour the geometry column in Arcpro 3.0?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/does-the-model-only-tool-get-field-value-honour/m-p/1232582#M250</link>
      <description>&lt;P&gt;Hello &lt;SPAN class=""&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/3515" target="_self"&gt;DuncanHornby,&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;Get field value just gets the value only and not the geometry. In case where you are returning a polygon the output&amp;nbsp; is empty. I don't thing we should be showing the shape in the get field value tool as a valid choice to for field to get the value from. a bug for us.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can still pass test2 to cal value tool directly as inline and then describe it and get the extent/etc from it.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 03:36:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/does-the-model-only-tool-get-field-value-honour/m-p/1232582#M250</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2022-11-17T03:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Does the model only tool Get Field Value honour the geometry column in Arcpro 3.0?</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/does-the-model-only-tool-get-field-value-honour/m-p/1233148#M251</link>
      <description>&lt;P&gt;Thanks for confirming that it is the Get Field Value tool that is at fault. I agree if geometry is not honoured then the shape field should not be an option.&amp;nbsp; I think the output data type list should be stream-lined to the only data types a Get Field Value tool can actually output.&amp;nbsp; Also I would recommend that the help file is updated to&amp;nbsp; explicitly state that geometry is not something that it can use.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 10:14:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/does-the-model-only-tool-get-field-value-honour/m-p/1233148#M251</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2022-11-18T10:14:02Z</dc:date>
    </item>
  </channel>
</rss>

