<?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: Batch convert Raster to Other Format in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/batch-convert-raster-to-other-format/m-p/125670#M9794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, I am not so familar with python code, I program with visual basic and c# languages. Recently, I just have finished my document reading and processing sdk, which contains the &lt;/SPAN&gt;&lt;A href="http://www.rasteredge.com/how-to/vb-net-imaging/tiff-converting/"&gt;tiff converter&lt;/A&gt;&lt;SPAN&gt; that allows to convert multi-page tiff document into rasther images, such as &lt;/SPAN&gt;&lt;A href="http://www.rasteredge.com/how-to/vb-net-imaging/tiff-convert-bmp/"&gt;tiff to bmp&lt;/A&gt;&lt;SPAN&gt;, tiff to png, tiff to gif and jpeg. Also, this tiff converting tool supports converting in batch mode, users who are going to use it needn't to convert one by one. If you are interested, you can try the barch tiff converter and give me some feedback to perfect it. Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2014 02:43:04 GMT</pubDate>
    <dc:creator>HILLARYHALL</dc:creator>
    <dc:date>2014-04-24T02:43:04Z</dc:date>
    <item>
      <title>Batch convert Raster to Other Format</title>
      <link>https://community.esri.com/t5/python-questions/batch-convert-raster-to-other-format/m-p/125668#M9792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using below python code to convert rasters from one format to tiff, but this code converts one by one. Can anyone help me how to use it as batch tool?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need help really urgently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcgisscripting&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Create the Geoprocessor object&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp = arcgisscripting.create()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;try:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Set local variables&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; InRaster = "C:\\\\L71010028_02820020717\L71010028_02820020717_HDF.L1G"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OutWorkspace = "C:\\\\Image Test"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Process: RasterToOtherFormat_conversion (convert to TIFF format)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.RasterToOtherFormat_conversion(InRaster,OutWorkspace,"TIFF")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;except:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Print error message if an error occurs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print gp.GetMessages()&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 20:05:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/batch-convert-raster-to-other-format/m-p/125668#M9792</guid>
      <dc:creator>OsmanSABAN</dc:creator>
      <dc:date>2012-02-24T20:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Batch convert Raster to Other Format</title>
      <link>https://community.esri.com/t5/python-questions/batch-convert-raster-to-other-format/m-p/125669#M9793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; I need help really urgently.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a tool in 9.3 that does this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Raster%20To%20Other%20Format%20(multiple)%20(Conversion)"&gt;Raster To Other Format (Multiple)&lt;/A&gt;&lt;SPAN&gt; in the Conversion toolbox.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Feb 2012 03:48:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/batch-convert-raster-to-other-format/m-p/125669#M9793</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2012-02-25T03:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Batch convert Raster to Other Format</title>
      <link>https://community.esri.com/t5/python-questions/batch-convert-raster-to-other-format/m-p/125670#M9794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, I am not so familar with python code, I program with visual basic and c# languages. Recently, I just have finished my document reading and processing sdk, which contains the &lt;/SPAN&gt;&lt;A href="http://www.rasteredge.com/how-to/vb-net-imaging/tiff-converting/"&gt;tiff converter&lt;/A&gt;&lt;SPAN&gt; that allows to convert multi-page tiff document into rasther images, such as &lt;/SPAN&gt;&lt;A href="http://www.rasteredge.com/how-to/vb-net-imaging/tiff-convert-bmp/"&gt;tiff to bmp&lt;/A&gt;&lt;SPAN&gt;, tiff to png, tiff to gif and jpeg. Also, this tiff converting tool supports converting in batch mode, users who are going to use it needn't to convert one by one. If you are interested, you can try the barch tiff converter and give me some feedback to perfect it. Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 02:43:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/batch-convert-raster-to-other-format/m-p/125670#M9794</guid>
      <dc:creator>HILLARYHALL</dc:creator>
      <dc:date>2014-04-24T02:43:04Z</dc:date>
    </item>
  </channel>
</rss>

