Ivan, <br><br>Thank you, this works. I must have overlooked the gdal-python bindings package in the Advanced settings on my last try.<br><br>Comparing to FWTools, I get a sense that the  OSGeo4W GDAL/Python bundle is pretty complete. At least it has all the usual GDAL utility programs and python scripts. <br>
<br>One thing I am currently missing in OSGeo4W GDAL is support for ECW and MrSID -- is it available? I&#39;ve installed the gdal-ecw and gdal-mrsid packages, but it seems I am missing the DLLs. E.g. when I try &quot;gdalinfo --formats&quot; I get complaints:<br>
ERROR 1: Can&#39;t load requested DLL: C:\OSGeo4W\apps\gdal-16\bin\gdalplugins\gdal_ECW_JP2ECW.dll<br>126: The specified module could not be found.<br><br>ERROR 1: Can&#39;t load requested DLL: C:\OSGeo4W\apps\gdal-16\bin\gdalplugins\gdal_MrSID.dll<br>
126: The specified module could not be found.<br><br>Have tried this with both gdal-* and gdal16-* packages. And remembered to run gdal16.bat to activate the GDAL 1.6 environment. However, can&#39;t get ECW and MrSID support. <br>
<br>I suspect this is due to licensing issues. Do I need to install support for these formats separately?<br><br>Thank you,<br><br>Aleksey<br><br><br><br><div class="gmail_quote">On Mon, Oct 19, 2009 at 10:49 PM, Ivan <span dir="ltr">&lt;<a href="mailto:ivan.lucena@pmldnet.com">ivan.lucena@pmldnet.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Aleksey<br>
<br>
Installing GDAL + Python 2.5 + &quot;GDAL Python bindings&quot; through the advanced settings usually works pretty easy.<br>
<br>
And the you should be able to launch the OSGeo4W Shell and access it, example:<br>
<br>
  C:\OSGeo4W&gt; Python<br>
  &gt;&gt;&gt; from osgeo import gdal<br>
  &gt;&gt;&gt; gdal.VersionInfo()<br>
  &#39;1520&#39;<br>
  &gt;&gt;&gt;<br>
<br>
Notice that OSGeo4W install its own Python 2.5 distribution. So if you have a previous installation of Python 2.5, that is not going to access the GDAL bindings.<br>
<br>
Regards,<br>
<br>
Ivan<br>
<br>
<br>
Aleksey Naumov wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
Dear GDAL users,<br>
<br>
My apologies if this is a repeated question, I searched the mail acrhives and found a few discussions on this subject, but no resolution, AFAIK. I may have overlooked a good thread, would appreciate a link.<br>
<br>
My problem is being able to do scripting with GDAL using Python 2.5 (this version is important because of integration/compatibility with a number of other packages, mainly IPython), and I need to be able to do it on Windows. I attempted a few approaches, but could not figure out how to get all the pieces to work together:<br>

   - FWTools 2.4.5; however it comes with Python 2.3, an older version<br>
   - OSGEO4W<br>
      - Went through the Express setup and chose GDAL (+ GRASS, QGIS).It installed Python 2.5.2; however on &quot;import gdal&quot; I get error &quot;No module named gdal&quot;.<br>
      - I looked through the Advanced setup and tried it a few times with various options related to GDAL, however was not able to get it to work. Are there specific options that should be enabled to make GDAL/Python scripting possible in OSGEO4W?<br>

   - Tried to &quot;easy_install gdal&quot;, this finds GDAL 1.6.1 and puts a suitable *.egg into C:\Python25\Lib\site-packages. But when I try to &quot;import gdal&quot; I get the error stating that gdal16.dll was not found.<br>

<br>
Is there a way to achieve this on Windows? Do I need to compile GDAL on my windows box; if so, should I be using Cygwin or try to download MS VC++?<br>
<br>
Thank you<br>
<br>
Aleksey<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote>
<br>
</blockquote></div><br>