[osgeo4w-dev] OSGeo4W.bat does not set gdal plugins directory into path

Matt Wilkie matt.wilkie at gov.yk.ca
Fri Dec 16 15:12:16 EST 2011


Hi Jukka,

I attempted to replicate this by:

0. running `gdalinfo --formtats |grep oracle` (nothing reported)
1. installing gdal-oracle package (using apt)
2. running `gdalinfo --formtats |grep oracle` again, in the same shell 
session, with result:

    C:\>gdalinfo --formats |grep -i oracle
      GeoRaster (rw+): Oracle Spatial GeoRaster

Investigation of the file system revealed that the oci plugin is at 
"%osgeo4w_root%\bin\gdalplugins\1.8\ogr_OCI.dll" instead of the 
"%osgeo4w_root%\bin\gdalplugins" you report.

My PATH does not contain either of these plugin directories and 
GDAL_DRIVER_PATH is not set. I have the following gdal packages installed:

gdal                1.8.1-1
gdal-oracle         1.8.0-1
gdal-python         1.8.0-2
gdal15dll           1.5.4-1

I repeated the test sequence in a newly installed osgeo4w environment, 
though same machine, and got the same results. The host system is 
Win7-Pro, 64bit.

cheers,

matt wilkie
--------------------------------------------
Geomatics Analyst
Information Management and Technology
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax
http://environmentyukon.gov.yk.ca/geomatics/
--------------------------------------------


On 14/12/2011 12:20 AM, Rahkonen Jukka wrote:
> Hi,
> I made a new OSGeo4W installation with GDAL Oracle OCI driver. 
> However, Oracle OCI was not listed as supported formats after 
> installation. I could made it available by adding the plugin directory 
> into path by giving SET PATH=D:\OSGeo4W\bin\gdalplugins;%PATH%.  I 
> suppose that setting GDAL_DRIVER_PATH might work too.
> -Jukka Rahkonen-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/osgeo4w-dev/attachments/20111216/466d9031/attachment.html


More information about the osgeo4w-dev mailing list