<?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 to raster, loop for model builder in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/feature-to-raster-loop-for-model-builder/m-p/554546#M18332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Marcelo,&lt;BR /&gt;&lt;BR /&gt;You could accomplish this using python.&amp;nbsp; Here is an example:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy

fc = r"C:\raster\polygon.shp"

list = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]

for month in list:
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.FeatureToRaster_conversion(fc, month, r"C:\raster\precipitation_" + month + ".tif")&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much, work very good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Question: can i do this as a model in model builder?.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you again&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 23:57:49 GMT</pubDate>
    <dc:creator>MarceloOyuela</dc:creator>
    <dc:date>2021-12-11T23:57:49Z</dc:date>
    <item>
      <title>Feature to raster, loop for model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-to-raster-loop-for-model-builder/m-p/554544#M18330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to make a model for feature to raster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The feature has 12 columns named for each month of the year. The values ??????for each month are precipitation amount.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to convert the features to raster using a&amp;nbsp; model but can not find the way to make it automatic. The result would be 12 rasters representing precipitation for the month selected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My problem its: the "field" parameter in the feature to raster tool, how can i use iterator for columun or&amp;nbsp; theres another way?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marcelo Oyuela&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 15:07:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-to-raster-loop-for-model-builder/m-p/554544#M18330</guid>
      <dc:creator>MarceloOyuela</dc:creator>
      <dc:date>2013-02-21T15:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Feature to raster, loop for model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-to-raster-loop-for-model-builder/m-p/554545#M18331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Marcelo,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could accomplish this using python.&amp;nbsp; Here is an example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy

fc = r"C:\raster\polygon.shp"

list = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]

for month in list:
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.FeatureToRaster_conversion(fc, month, r"C:\raster\precipitation_" + month + ".tif")&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:57:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-to-raster-loop-for-model-builder/m-p/554545#M18331</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2021-12-11T23:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Feature to raster, loop for model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-to-raster-loop-for-model-builder/m-p/554546#M18332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Marcelo,&lt;BR /&gt;&lt;BR /&gt;You could accomplish this using python.&amp;nbsp; Here is an example:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy

fc = r"C:\raster\polygon.shp"

list = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]

for month in list:
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.FeatureToRaster_conversion(fc, month, r"C:\raster\precipitation_" + month + ".tif")&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much, work very good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Question: can i do this as a model in model builder?.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you again&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:57:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-to-raster-loop-for-model-builder/m-p/554546#M18332</guid>
      <dc:creator>MarceloOyuela</dc:creator>
      <dc:date>2021-12-11T23:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Feature to raster, loop for model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-to-raster-loop-for-model-builder/m-p/554547#M18333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you can actually add a python script to a model.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 13:20:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-to-raster-loop-for-model-builder/m-p/554547#M18333</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2013-02-25T13:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Feature to raster, loop for model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-to-raster-loop-for-model-builder/m-p/554548#M18334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok, But, I want to know how to make a model that can do the same process. What iterator type should I use?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 13:27:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-to-raster-loop-for-model-builder/m-p/554548#M18334</guid>
      <dc:creator>MarceloOyuela</dc:creator>
      <dc:date>2013-02-25T13:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Feature to raster, loop for model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/feature-to-raster-loop-for-model-builder/m-p/554549#M18335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't believe this will be possible without writing a script.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 15:14:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/feature-to-raster-loop-for-model-builder/m-p/554549#M18335</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2013-02-25T15:14:15Z</dc:date>
    </item>
  </channel>
</rss>

