<?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: Rotate Raster - Model Builder - Name From Variable in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/rotate-raster-model-builder-name-from-variable/m-p/774658#M3419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both for your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/50404"&gt;Gabriel Upchurch&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i've attached a screenshot of the error. The problem seems to be that the rotate tool doesn't seem to want to accept an in-line variable as its input to the rotate tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file ie. G:\Hotlinking_Images\P1010471.JPG already exists so its not an error because the file doesn't exist / hasn't been created yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Get Field Value for the "Img_Path" i have tried setting the Data Type to string and raster dataset and it doesn't seem to make any difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also attached a screenshot of the data type for the FPath column (this is the value collected for the input .jpg)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/84114"&gt;Chris Donohue&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've changed it to "G:\Hotlinking_Images" and it doesn't make any difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Apr 2015 08:02:22 GMT</pubDate>
    <dc:creator>jamiefinney</dc:creator>
    <dc:date>2015-04-14T08:02:22Z</dc:date>
    <item>
      <title>Rotate Raster - Model Builder - Name From Variable</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/rotate-raster-model-builder-name-from-variable/m-p/774655#M3416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having some problems with a model i'm attempting to make.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a folder of jpgs that i need to rotate. &lt;BR /&gt;I have also created a shp file that contains the jpg name / path and the angle to rotate by.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm hoping to use an iterator to select each row of the table, extract the file path / name and rotate the appropriate raster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tool i'm attempting to use is the rotate raster tool &lt;BR /&gt;Toolbox &amp;gt; Data Management Tools &amp;gt; Projections and transformations &amp;gt; raster &amp;gt; rotate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however i can't seem to get the rotate tool to accept the input raster (using get field value tool)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way i can make this work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using ArcView 10 sp5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 16:02:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/rotate-raster-model-builder-name-from-variable/m-p/774655#M3416</guid>
      <dc:creator>jamiefinney</dc:creator>
      <dc:date>2015-04-13T16:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate Raster - Model Builder - Name From Variable</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/rotate-raster-model-builder-name-from-variable/m-p/774656#M3417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jamie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does the red X report the error is when you click on it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 17:30:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/rotate-raster-model-builder-name-from-variable/m-p/774656#M3417</guid>
      <dc:creator>GabrielUpchurch1</dc:creator>
      <dc:date>2015-04-13T17:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate Raster - Model Builder - Name From Variable</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/rotate-raster-model-builder-name-from-variable/m-p/774657#M3418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something to try - put an underscore in the folder name if it currently has a space.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hotlinking_Images&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 17:40:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/rotate-raster-model-builder-name-from-variable/m-p/774657#M3418</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2015-04-13T17:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate Raster - Model Builder - Name From Variable</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/rotate-raster-model-builder-name-from-variable/m-p/774658#M3419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both for your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/50404"&gt;Gabriel Upchurch&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i've attached a screenshot of the error. The problem seems to be that the rotate tool doesn't seem to want to accept an in-line variable as its input to the rotate tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file ie. G:\Hotlinking_Images\P1010471.JPG already exists so its not an error because the file doesn't exist / hasn't been created yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Get Field Value for the "Img_Path" i have tried setting the Data Type to string and raster dataset and it doesn't seem to make any difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also attached a screenshot of the data type for the FPath column (this is the value collected for the input .jpg)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/84114"&gt;Chris Donohue&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've changed it to "G:\Hotlinking_Images" and it doesn't make any difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 08:02:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/rotate-raster-model-builder-name-from-variable/m-p/774658#M3419</guid>
      <dc:creator>jamiefinney</dc:creator>
      <dc:date>2015-04-14T08:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate Raster - Model Builder - Name From Variable</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/rotate-raster-model-builder-name-from-variable/m-p/774659#M3420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As per documentation the tool takes raster layer and mosaic layer. Hence, I believe, it is giving the above error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set data type to Raster layer and see if it works. &lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00170000007s000000" title="http://resources.arcgis.com/en/help/main/10.1/index.html#//00170000007s000000"&gt;ArcGIS Help 10.1&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can create an in_memory raster layer using Make raster layer tool (Data Management) after Get Value&amp;nbsp; in model builder and provide it to Rotate tool. Here set the data type to Raster dataset in Get Value tool &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00170000006t000000" title="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00170000006t000000"&gt;ArcGIS Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;IMG alt="test.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/85091_test.png" style="width: 620px; height: 366px;" /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Kishor. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 11:27:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/rotate-raster-model-builder-name-from-variable/m-p/774659#M3420</guid>
      <dc:creator>KishorGhatage</dc:creator>
      <dc:date>2015-04-14T11:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate Raster - Model Builder - Name From Variable</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/rotate-raster-model-builder-name-from-variable/m-p/774660#M3421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/100607"&gt;Kishor Ghatage&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for this, its been driving me nuts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;solution was similar to your suggestion i set Img_path field to "Raster Dataset" type then as you suggested used the make raster tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks everyone &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 12:17:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/rotate-raster-model-builder-name-from-variable/m-p/774660#M3421</guid>
      <dc:creator>jamiefinney</dc:creator>
      <dc:date>2015-04-14T12:17:01Z</dc:date>
    </item>
  </channel>
</rss>

