<?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: Help with model / modelbuilder: using iterator to calculate string values from one shapefile to another in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/help-with-model-modelbuilder-using-iterator-to/m-p/1147625#M3491</link>
    <description>&lt;P&gt;what is the field type/length for MeadowID in the subsetPointShapefile?&lt;/P&gt;&lt;P&gt;The "Model falls apart" is not very descriptive of the error that is happening, but it sounds like maybe you are trying to calculate a text value (sMeadowID) into a numeric field.&lt;/P&gt;&lt;P&gt;Of course, the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/spatial-join.htm" target="_self"&gt;spatial join tool&lt;/A&gt; will do this same thing in one swoop without iterating through the data.&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Feb 2022 17:48:02 GMT</pubDate>
    <dc:creator>RhettZufelt</dc:creator>
    <dc:date>2022-02-24T17:48:02Z</dc:date>
    <item>
      <title>Help with model / modelbuilder: using iterator to calculate string values from one shapefile to another</title>
      <link>https://community.esri.com/t5/arcmap-questions/help-with-model-modelbuilder-using-iterator-to/m-p/1146328#M3465</link>
      <description>&lt;P&gt;In short I have&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;a polygon shapefile with 100's of polygons (PolygonShapefile)&lt;/LI&gt;&lt;LI&gt;within the shapefile there is a field (string) that is MeadowID&lt;/LI&gt;&lt;LI&gt;i want to automate the selection of all the points (from PointShapefile with 1000's of points) that fall within each polygon&lt;/LI&gt;&lt;LI&gt;once they are selected I want to calculate the field within the selected points to equal the string MeadowID&lt;/LI&gt;&lt;LI&gt;and repeat the process for all polygons&lt;/LI&gt;&lt;LI&gt;both fields are type 'string' in the PolygonShapefile and PointShapefile&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is whenever the MeadowID string includes alphabetical characters, the model falls apart, if it's just numeric values, the model works fine. However, sadly alphabetical characters are a must.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried all sorts of things and just can't get it to work with strings. Can someone please point out what I'm doing wrong here or give me some guidance? would be greatly appreciated. Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="This is the model" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/34583i4974C949CBF881E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="ArcModel.PNG" alt="This is the model" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;This is the model&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="This is the configuration for 'Get Field Value'" style="width: 592px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/34582i32BF30E3A1AEB6AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Arc Get FieldID.PNG" alt="This is the configuration for 'Get Field Value'" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;This is the configuration for 'Get Field Value'&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="This is the configuration for 'Calculate Field'" style="width: 589px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/34581iE03ABD3B937CE1B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="ArcCalcField.PNG" alt="This is the configuration for 'Calculate Field'" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;This is the configuration for 'Calculate Field'&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 02:10:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/help-with-model-modelbuilder-using-iterator-to/m-p/1146328#M3465</guid>
      <dc:creator>ChrisVan</dc:creator>
      <dc:date>2022-02-22T02:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help with model / modelbuilder: using iterator to calculate string values from one shapefile to another</title>
      <link>https://community.esri.com/t5/arcmap-questions/help-with-model-modelbuilder-using-iterator-to/m-p/1147625#M3491</link>
      <description>&lt;P&gt;what is the field type/length for MeadowID in the subsetPointShapefile?&lt;/P&gt;&lt;P&gt;The "Model falls apart" is not very descriptive of the error that is happening, but it sounds like maybe you are trying to calculate a text value (sMeadowID) into a numeric field.&lt;/P&gt;&lt;P&gt;Of course, the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/spatial-join.htm" target="_self"&gt;spatial join tool&lt;/A&gt; will do this same thing in one swoop without iterating through the data.&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 17:48:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/help-with-model-modelbuilder-using-iterator-to/m-p/1147625#M3491</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2022-02-24T17:48:02Z</dc:date>
    </item>
  </channel>
</rss>

