[osgeo4w-dev] Re: [osgeo4w] #161: gdal utilities issues
OSGeo4W
trac_osgeo4w at osgeo.org
Wed Mar 17 19:03:13 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 brushtyler):
Replying to [comment:19 jef]:
> Replying to [comment:17 brushtyler]:
> > But how can I import the gdal16 lib in python?
>
> You're not supposed to. You run python from a OSGeo4W shell after
running {{{gdal16.bat}}} or prepare a batchfile you can run anywhere (like
{{{%OSGEO4W_ROOT%\bin\qgis-dev.bat}}}).
No, I meant import gdal16 in python plugins into qgis.
[[BR]]
In this moment I run qgis-dev.bat then the gdal16.bat was yet called. But
gdaltools-plugin fails to import gdal16-python tools by calling "import
gdal", because it tried to import the inexistent gdal lib!
[[BR]]
About gdal in qgis, in linux gdal1.6 *overwrite* gdal1.5, then why the
osgeo4w on win doesn't have the same behaviour? [[BR]] If I install gdal16
lib, I suppose and want (if supported) it will be used!
I think this is an osgeo4w issue, do you?
--
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/161#comment:21>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.
More information about the osgeo4w-dev
mailing list