<?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: Feature class input as Geometry type through Model Builder in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/feature-class-input-as-geometry-type-through-model/m-p/730112#M41298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'd tried your suggestion and it works...to a certain extent. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to connect the output from calculate value to as Location&amp;nbsp; parameter for Get Cell Value. However when validating/running the tool, it seems to refused to acknowledge that location input was there. I.e.: Error 000735: Location: Value is required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clues? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Sep 2014 07:35:24 GMT</pubDate>
    <dc:creator>LinaYap1</dc:creator>
    <dc:date>2014-09-26T07:35:24Z</dc:date>
    <item>
      <title>Feature class input as Geometry type through Model Builder</title>
      <link>https://community.esri.com/t5/data-management-questions/feature-class-input-as-geometry-type-through-model/m-p/730110#M41296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to provide a feature class as an input to "Get Cell Value", but it only strictly accepts a Point Geometry (or x &amp;amp; y coordinate value) - not a feature class/shapefile etc. How can I actually grab the point data from the feature class?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing it in ArcMap 10.2.2, using model builder to build the workflow. Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 03:12:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/feature-class-input-as-geometry-type-through-model/m-p/730110#M41296</guid>
      <dc:creator>LinaYap1</dc:creator>
      <dc:date>2014-09-23T03:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Feature class input as Geometry type through Model Builder</title>
      <link>https://community.esri.com/t5/data-management-questions/feature-class-input-as-geometry-type-through-model/m-p/730111#M41297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the Calculate Value tool. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the parameters to use for the Calculate Value tool. For the purposes of the example, I am assuming the name of your input feature class model element is: "Input Point Feature".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&amp;nbsp; &lt;SPAN style="font-family: 'courier new', courier;"&gt;GetPoint(r"%Input Point Feature%")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code Block:&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14114511930999494 jive_text_macro" jivemacro_uid="_14114511930999494"&gt;
&lt;P&gt;import arcpy&lt;/P&gt;
&lt;P&gt;def GetPoint(fc):&lt;/P&gt;
&lt;P&gt;&amp;nbsp; pt = arcpy.da.SearchCursor(fc, "SHAPE@").next()[0]&lt;/P&gt;
&lt;P&gt;&amp;nbsp; return pt &lt;/P&gt;




&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data Type:&amp;nbsp; &lt;STRONG&gt;Point&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calculate Value always returns a text representation of the value; the Data Type parameter is used to tell the tool you connect the output to what the output is, in your case, a point geometry. So, if you use Data Type "Point", you should be able to connect the "Point" output to the Get Cell Value tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set your feature class to be a precondition to your Calculate Value tool. This makes sure "Input Point Feature" variable is populated and ready to go when you run the Calculate Value tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 05:51:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/feature-class-input-as-geometry-type-through-model/m-p/730111#M41297</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2014-09-23T05:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Feature class input as Geometry type through Model Builder</title>
      <link>https://community.esri.com/t5/data-management-questions/feature-class-input-as-geometry-type-through-model/m-p/730112#M41298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'd tried your suggestion and it works...to a certain extent. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to connect the output from calculate value to as Location&amp;nbsp; parameter for Get Cell Value. However when validating/running the tool, it seems to refused to acknowledge that location input was there. I.e.: Error 000735: Location: Value is required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clues? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 07:35:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/feature-class-input-as-geometry-type-through-model/m-p/730112#M41298</guid>
      <dc:creator>LinaYap1</dc:creator>
      <dc:date>2014-09-26T07:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Feature class input as Geometry type through Model Builder</title>
      <link>https://community.esri.com/t5/data-management-questions/feature-class-input-as-geometry-type-through-model/m-p/730113#M41299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may want to try shape@xy instead of shape@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 14:09:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/feature-class-input-as-geometry-type-through-model/m-p/730113#M41299</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2014-09-26T14:09:25Z</dc:date>
    </item>
  </channel>
</rss>

