<?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: It does not work in ArcAPI Questions</title>
    <link>https://community.esri.com/t5/arcapi-questions/it-does-not-work/m-p/819592#M51</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="direction: ltr;"&gt;The problems is in source pnt and target pnt , they took the saime&amp;nbsp;image.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jul 2018 15:13:13 GMT</pubDate>
    <dc:creator>Abualgheth_J__M_Naji</dc:creator>
    <dc:date>2018-07-31T15:13:13Z</dc:date>
    <item>
      <title>It does not work</title>
      <link>https://community.esri.com/t5/arcapi-questions/it-does-not-work/m-p/819591#M50</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am tring with this python code in arcmap but it doesn't work, who can help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 14:36:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcapi-questions/it-does-not-work/m-p/819591#M50</guid>
      <dc:creator>Abualgheth_J__M_Naji</dc:creator>
      <dc:date>2018-07-31T14:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: It does not work</title>
      <link>https://community.esri.com/t5/arcapi-questions/it-does-not-work/m-p/819592#M51</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="direction: ltr;"&gt;The problems is in source pnt and target pnt , they took the saime&amp;nbsp;image.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 15:13:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcapi-questions/it-does-not-work/m-p/819592#M51</guid>
      <dc:creator>Abualgheth_J__M_Naji</dc:creator>
      <dc:date>2018-07-31T15:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: It does not work</title>
      <link>https://community.esri.com/t5/arcapi-questions/it-does-not-work/m-p/819593#M52</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;i = 0&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;while i &amp;lt;= 1:&lt;/P&gt;&lt;P&gt;inRasterworkspace = r'C:\Users\AgmnDesk\Desktop\GooleImage\GI_R'&lt;BR /&gt; #inRasterworkspace = arcpy.GetParameterAsText(0)&lt;BR /&gt; arcpy.env.workspace = inRasterworkspace&lt;BR /&gt; inRasters = arcpy.ListRasters()&lt;BR /&gt; inRaster = inRasters&lt;I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;SoTop=arcpy.GetRasterProperties_management(inRaster , "TOP")&lt;BR /&gt; SoLeft=arcpy.GetRasterProperties_management(inRaster , "LEFT")&lt;BR /&gt; SoRight=arcpy.GetRasterProperties_management(inRaster , "RIGHT")&lt;BR /&gt; SoBottom=arcpy.GetRasterProperties_management(inRaster , "BOTTOM")&lt;BR /&gt; Source_pnt = '\''+ str(SoLeft) + ' ' + str(SoTop) + '\' ;' + str(SoRight) + ' ' + str(SoTop) + '\' ;' + str(SoLeft) + ' ' + str(SoBottom)+'\''&lt;/P&gt;&lt;P&gt;# ========================&lt;BR /&gt; taRasterworkspace = r'C:\Users\AgmnDesk\Desktop\GooleImage\GI2018'&lt;BR /&gt; #taRasterworkspace = arcpy.GetParameterAsText(1)&lt;BR /&gt; arcpy.env.workspace = taRasterworkspace&lt;BR /&gt; taRasters = arcpy.ListRasters('*', 'jpg')&lt;BR /&gt; taRaster = taRasters&lt;I&gt; &lt;BR /&gt; &lt;BR /&gt; TaTop=arcpy.GetRasterProperties_management(taRaster , "TOP")&lt;BR /&gt; TaLeft=arcpy.GetRasterProperties_management(taRaster , "LEFT")&lt;BR /&gt; TaRight=arcpy.GetRasterProperties_management(taRaster , "RIGHT")&lt;BR /&gt; TaBottom=arcpy.GetRasterProperties_management(taRaster , "BOTTOM")&lt;BR /&gt; Target_pnt = '\''+ str(TaLeft) + ' ' + str(TaTop) + '\' ;' + str(TaRight) + ' ' + str(TaTop) + '\' ;' + str(TaLeft) + ' ' + str(TaBottom)+'\''&lt;/I&gt;&lt;/P&gt;&lt;P&gt;# ========================&lt;BR /&gt; arcpy.env.workspace = r'C:\Users\AgmnDesk\Desktop\GooleImage\GI2018'&lt;BR /&gt; arcpy.env.overwriteOutput = True&lt;BR /&gt; arcpy.Warp_management(str(taRaster), Source_pnt, Target_pnt, str(taRaster[:-4])+'tif', "POLYORDER2", "BILINEAR")&lt;/P&gt;&lt;P&gt;# ========================&lt;BR /&gt; i = i + 1 &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 15:13:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcapi-questions/it-does-not-work/m-p/819593#M52</guid>
      <dc:creator>Abualgheth_J__M_Naji</dc:creator>
      <dc:date>2018-07-31T15:13:26Z</dc:date>
    </item>
  </channel>
</rss>

