<?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: Multiple Ring Buffer in ModelBuilder error: could not convert string to float in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/multiple-ring-buffer-in-modelbuilder-error-could/m-p/864587#M939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using an iterator and collecting the results that become a list to feed into another tool then the iterator, the connected tools and the collects tool usually need to be in a sub-model. Read the help file on the topic of sub-models.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Apr 2020 11:27:55 GMT</pubDate>
    <dc:creator>DuncanHornby</dc:creator>
    <dc:date>2020-04-10T11:27:55Z</dc:date>
    <item>
      <title>Multiple Ring Buffer in ModelBuilder error: could not convert string to float</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/multiple-ring-buffer-in-modelbuilder-error-could/m-p/864583#M935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I'm currently using ModelBuilder to automate a process on about 400 shapefiles, but I'm having trouble to get it working. First, I create a study area (buffer) and then clip land use area. Then I select the land use classes of interest and calculate 21 radius values which I want to use to run Multiple Ring Buffer (MRB). Below, you can find the model including the error I get when running it. I don't know why it's trying to convert a string to float at all, because all the radius values are stored as Double and in the Get Field Value command I also specified the data type Double. Does anyone know why this occurs and how to fix this error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-5 j-img-original" src="https://community.esri.com/legacyfs/online/488045_ModelBuilder.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you can see the attribute table from which Get Field Value draw the radius values (rCircle00, ... rCircle20):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-6 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/488046_MRB_input.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this are the parameters I set for the MRB (1) before running the model and (2) what it looks like after running the model when I get the error. I'm not sure about the (1) Distances = 1 which was generated when I connected the Collect Value Output to the MRB. However, it seems that the distances were passed correctly, as seen in (2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="488041" alt="MRB Parameters start" class="jive-emoji jive-image image-3 j-img-original" src="https://community.esri.com/legacyfs/online/488041_MRB_settingsStart.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-7 jive-emoji jive-image j-img-original" src="https://community.esri.com/legacyfs/online/488047_MRB_settingsRun.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2020 07:44:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/multiple-ring-buffer-in-modelbuilder-error-could/m-p/864583#M935</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-04-09T07:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Ring Buffer in ModelBuilder error: could not convert string to float</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/multiple-ring-buffer-in-modelbuilder-error-could/m-p/864584#M936</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;It looks to me like the issue is with the commas instead of decimal places in the double field - I personally didn't even realise you could&amp;nbsp;have a decimal using a comma in ArcGIS. Regardless of ArcGIS accepting it that way, when it comes to executing the tool in python (multiple ring buffer is a python script tool) something like 123,456&amp;nbsp;will not be able to be converted to a float (the required input for this tool) due to the comma, as floats in python have a . for decimals.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2020 08:58:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/multiple-ring-buffer-in-modelbuilder-error-could/m-p/864584#M936</guid>
      <dc:creator>JoshuaSharp-Heward</dc:creator>
      <dc:date>2020-04-09T08:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Ring Buffer in ModelBuilder error: could not convert string to float</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/multiple-ring-buffer-in-modelbuilder-error-could/m-p/864585#M937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer! Indeed the solution turned out to be changing decimal separator from comma to dot in my windows settings (originally had European/German format using comma as decimal separator). I wouldn't have come up with that solution by myself because so far I never got any problems with using comma in ArcGIS before.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2020 10:58:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/multiple-ring-buffer-in-modelbuilder-error-could/m-p/864585#M937</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-04-09T10:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Ring Buffer in ModelBuilder error: could not convert string to float</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/multiple-ring-buffer-in-modelbuilder-error-could/m-p/864586#M938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With that problem being solved I finished setting up the final model. However, now I have another problem about the red part of the model:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/488109_ModelBuilder_CollectValues.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "Collect Values" command is not being reset after each iteration. Instead, it keeps the values from the first run and on top of those also collects the values of the second run. Therefore, the Multiple Ring Buffer of my first run is correct, but in my second run I end up with something screwed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/488110_IterationError.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an idea how I can fix this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2020 15:52:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/multiple-ring-buffer-in-modelbuilder-error-could/m-p/864586#M938</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-04-09T15:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Ring Buffer in ModelBuilder error: could not convert string to float</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/multiple-ring-buffer-in-modelbuilder-error-could/m-p/864587#M939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using an iterator and collecting the results that become a list to feed into another tool then the iterator, the connected tools and the collects tool usually need to be in a sub-model. Read the help file on the topic of sub-models.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2020 11:27:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/multiple-ring-buffer-in-modelbuilder-error-could/m-p/864587#M939</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2020-04-10T11:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Ring Buffer in ModelBuilder error: could not convert string to float</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/multiple-ring-buffer-in-modelbuilder-error-could/m-p/864588#M940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! I got it fixed by integrating a sub-model now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2020 07:05:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/multiple-ring-buffer-in-modelbuilder-error-could/m-p/864588#M940</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-04-12T07:05:57Z</dc:date>
    </item>
  </channel>
</rss>

