<?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: Re Project in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/re-project/m-p/609481#M34318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use Model Builder or Python script. Loading the control point of .img might work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Nov 2013 18:07:52 GMT</pubDate>
    <dc:creator>NidhinKarthikeyan</dc:creator>
    <dc:date>2013-11-24T18:07:52Z</dc:date>
    <item>
      <title>Re Project</title>
      <link>https://community.esri.com/t5/data-management-questions/re-project/m-p/609480#M34317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It will be a great help if anyone can suggest me a process or automation/tool to re project a raster in jpeg format by taking the projection values and coordinate system from a preexisting raster which exist in .img format. The reason of asking the needful is as both the images are of the same area but are opening at different location. The .img format is having the correct parameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rajat&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Nov 2013 07:59:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/re-project/m-p/609480#M34317</guid>
      <dc:creator>RajatPali</dc:creator>
      <dc:date>2013-11-23T07:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re Project</title>
      <link>https://community.esri.com/t5/data-management-questions/re-project/m-p/609481#M34318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use Model Builder or Python script. Loading the control point of .img might work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2013 18:07:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/re-project/m-p/609481#M34318</guid>
      <dc:creator>NidhinKarthikeyan</dc:creator>
      <dc:date>2013-11-24T18:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Re Project</title>
      <link>https://community.esri.com/t5/data-management-questions/re-project/m-p/609482#M34319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not sure what exactly you are trying to do, because if the image image is correctly projected you should not need to do a translate. Are you trying to georeference the image? Anyway I will provide same quick snippets of accomplishing both (via python)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Getting spatial reference&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;raster = arcpy.Raster(rasterPath)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sourceSR = raster.spatialReference&amp;nbsp;&amp;nbsp;&amp;nbsp; # reading spatial reference from Raster&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sourceSR = arcpy.SpatialReference(srCode)&amp;nbsp; # if you know the code&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Getting source points&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_minX = raster.extent.XMin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_minY = raster.extent.YMin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_maxX = raster.extent.XMax&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_maxY= raster.extent.YMax&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Creating control points (you can create source and target accordingly)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;source_control_points = "'" + str(_minX) + " " + str(_maxY) + "';'" + str(_maxX) + " " + str(_maxY) + "';'" + str(_maxX)&amp;nbsp; + " " + str(_minY) + "';'" + str(_minX) + " " + str(_minY) + "'"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) Georeferencing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.Warp_management(img_path, source_control_points, target_control_points, out_raster, "POLYORDER1","NEAREST") &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps !!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 15:29:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/re-project/m-p/609482#M34319</guid>
      <dc:creator>SachinKanaujia</dc:creator>
      <dc:date>2013-11-25T15:29:45Z</dc:date>
    </item>
  </channel>
</rss>

