[gdal-dev] Re: Updating GDAL on OSGEO4w (windows)
Frank Warmerdam
warmerdam at pobox.com
Tue Nov 30 12:40:26 EST 2010
Luisa Peña wrote:
> You are absolutely rightr. It worked :)
>
> But, if I close the shell and open again, GDAL15 is again the
> pre-defined GDAL. How can I have this as defined?
> Are you familiar with winGRASS on OSGEO4w? My idea is to change current
> gdal (15) to gdal16 Or 18. Are you aware of anything regarding that?
Luisa,
The "gdal16" command is just a bat file changing a few environment variables
for the local shell - primary the path. It does not have any effect beyond
the current shell.
Also, it is affecting which GDAL utilities you pick up at the command line.
It does not affect which version of GDAL is used at runtime by things like
GRASS, MapServer or QGIS. These are all linked against a particular
version of GDAL - in the case of GRASS 1.5.
So if you want to work with GRIB files I would suggest running "gdal16"
in a shell, and then using gdal_translate to convert the grib file into
a working format like GeoTIFF which you can subsequently use in GRASS.
My hope is that after the GDAL 1.8 release we will make GDAL 1.8 the
default version of GDAL in OSGeo4W and update GRASS and other packages
to use it. The fact that 1.5 is still the default version in OSGeo4W
is my fault.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the gdal-dev
mailing list