<?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: How to create pivot point from fields in a feature class to rotate a raster? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/how-to-create-pivot-point-from-fields-in-a-feature/m-p/429380#M24544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;collect the pivot point coordinates in a variable&lt;/SPAN&gt; and define the inline variabel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Apr 2016 08:21:58 GMT</pubDate>
    <dc:creator>FrankHanssen</dc:creator>
    <dc:date>2016-04-28T08:21:58Z</dc:date>
    <item>
      <title>How to create pivot point from fields in a feature class to rotate a raster?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-create-pivot-point-from-fields-in-a-feature/m-p/429375#M24539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have a feature class that contains all attributes of a given raster dataset.&amp;nbsp; I need to rotate the raster dataset about the center of the raster.&amp;nbsp; I have the center x and y values and need to create the pivot point from these values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 16:06:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-create-pivot-point-from-fields-in-a-feature/m-p/429375#M24539</guid>
      <dc:creator>RitchieEyster</dc:creator>
      <dc:date>2016-03-18T16:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to create pivot point from fields in a feature class to rotate a raster?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-create-pivot-point-from-fields-in-a-feature/m-p/429376#M24540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you've found the &lt;A href="http://resources.arcgis.com/en/help/main/10.2/#/Rotate/00170000007s000000/"&gt;Rotate &lt;/A&gt;tool and want to use the optional pivot point parameter. Doesn't it work to type in the xy values you want to use?&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="191463" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/191463_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: I'm not sure what this means: "&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;I have a feature class that contains all attributes of a given raster dataset." You do have a raster to rotate, correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 16:15:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-create-pivot-point-from-fields-in-a-feature/m-p/429376#M24540</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2016-03-18T16:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to create pivot point from fields in a feature class to rotate a raster?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-create-pivot-point-from-fields-in-a-feature/m-p/429377#M24541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the rotate tool but I am doing this in Modelbuilder.  I would like to automatically create the pivot point from the x and y values for each of the 339 rasters that I have .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 16:29:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-create-pivot-point-from-fields-in-a-feature/m-p/429377#M24541</guid>
      <dc:creator>RitchieEyster</dc:creator>
      <dc:date>2016-03-18T16:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to create pivot point from fields in a feature class to rotate a raster?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-create-pivot-point-from-fields-in-a-feature/m-p/429378#M24542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then you'll have to use an iterator, collect the pivot point coordinates in a variable, and pass those using &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//002w0000001t000000"&gt;inline variable substitution&lt;/A&gt;. But, that's about as much help as I'll be with Modelbuilder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 16:35:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-create-pivot-point-from-fields-in-a-feature/m-p/429378#M24542</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2016-03-18T16:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to create pivot point from fields in a feature class to rotate a raster?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-create-pivot-point-from-fields-in-a-feature/m-p/429379#M24543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Darren.  I believe I have it working now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 17:31:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-create-pivot-point-from-fields-in-a-feature/m-p/429379#M24543</guid>
      <dc:creator>RitchieEyster</dc:creator>
      <dc:date>2016-03-18T17:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to create pivot point from fields in a feature class to rotate a raster?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-create-pivot-point-from-fields-in-a-feature/m-p/429380#M24544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you &lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;collect the pivot point coordinates in a variable&lt;/SPAN&gt; and define the inline variabel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 08:21:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-create-pivot-point-from-fields-in-a-feature/m-p/429380#M24544</guid>
      <dc:creator>FrankHanssen</dc:creator>
      <dc:date>2016-04-28T08:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to create pivot point from fields in a feature class to rotate a raster?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-create-pivot-point-from-fields-in-a-feature/m-p/429381#M24545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured out how to do this. But the output pivot point was not in real coordinates. My input raster is in UTM33 (WGS84). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 14:12:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-create-pivot-point-from-fields-in-a-feature/m-p/429381#M24545</guid>
      <dc:creator>FrankHanssen</dc:creator>
      <dc:date>2016-04-28T14:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to create pivot point from fields in a feature class to rotate a raster?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-create-pivot-point-from-fields-in-a-feature/m-p/429382#M24546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To get real coordinates for the pivot point use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;def fn(Input):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;&amp;nbsp; import arcpy&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;&amp;nbsp; myRaster = arcpy.Raster(Input)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;&amp;nbsp; ext = myRaster.extent&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;&amp;nbsp; midx = ext.XMin + ((ext.XMax - ext.XMin) / 2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;&amp;nbsp; midy = ext.YMin + ((ext.YMax - ext.YMin) / 2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="color: #1f497d;"&gt;return "{0} {1}".format(midx,midy)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 07:39:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-create-pivot-point-from-fields-in-a-feature/m-p/429382#M24546</guid>
      <dc:creator>FrankHanssen</dc:creator>
      <dc:date>2016-04-29T07:39:10Z</dc:date>
    </item>
  </channel>
</rss>

