[osgeo4w-dev] Re: [osgeo4w] #161: gdal utilities issues

OSGeo4W trac_osgeo4w at osgeo.org
Tue Mar 16 09:33:52 EDT 2010

#161: gdal utilities issues
Reporter:  lutra                 |        Owner:  osgeo4w-dev at lists.osgeo.org
    Type:  defect                |       Status:  new                        
Priority:  major                 |    Component:  Package                    
 Version:                        |   Resolution:                             
Keywords:  gdal, gdal utilities  |  
Comment (by lutra):

 Hi Jurgen,

 > QGIS however uses GDAL 1.6 (to allow attribute additions to shape
 files).  So you probably only installed QGIS and got GDAL 1.6 with it -
 and no GDAL 1.5.

 yes, it is the case.

 > If you want to use GDAL 1.6 from the command line you need to run
 > {{{gdal16.bat}}} manually first.  Running GDAL 1.5 binaries after that
 > probably not a good idea either.
 > If you start QGIS using the desktop/start menu link {{{gdal16.bat}}} is
 > automatically.  So everything should be fine from within QGIS.

 Sorry, just tested on a fresh qgis/osgeo4w install under windows Seven
 (just gdal16) and it doesn't work. I also launched manually gdal16.bat but
 apparently with no effects. Both from the command line and the plugin the
 message is always like

 Traceback (most recent call last):
   File "c:/osgeo4w/apps/gdal-16/bin/gdal_merge.py", line 31, in <module>
     import gdal
 ImportError: No module named gdal

Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/161#comment:3>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.

More information about the osgeo4w-dev mailing list