[Gdal-dev] win32 binary gdal distribution
Matt Wilkie
matt.wilkie at gov.yk.ca
Wed Apr 14 17:18:42 EDT 2004
Hi Ben,
Thank you for building and hosting a standalone win32 binary release of
the gdal utilities. Attached are my changes to the SETUP_GDAL.BAT which
make it a little more informative. Maybe some people will find it useful.
I've also created a one liner to launch the html docs:
%gdal_dir%\bin\gd-help.bat:
@start %gdal_dir%\html\index.html
of course before this will work someone will need to include the html
docs in the distribution.... ;-)
cheers,
--
matt wilkie
--------------------------------------------
Geographic Information,
Information Management and Technology,
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax
--------------------------------------------
-------------- next part --------------
@echo off
set GDAL_VER=120
set GDAL_DIR=c:\utils\gdal%GDAL_VER%
if exist %GDAL_DIR%\SETUP_GDAL.BAT goto DIROK
echo -----------------------------------------------------------------------
echo It appears that the GDAL_DIR environment variable is not set properly
echo in SETUP_GDAL.BAT. Please edit GDAL_SETUP.BAT, and modify the GDAL_DIR
echo variable to contain the directory containing the SETUP_GDAL.BAT ... the
echo base directory of the unzipped GDAL tree.
echo -----------------------------------------------------------------------
goto Done
:DIROK
set PATH=%GDAL_DIR%\bin;%PATH%
set INCLUDE=%GDAL_DIR%\include;%INCLUDE%
set LIB=%GDAL_DIR%\include;%LIB%
set PYTHONPATH=%GDAL_DIR%\pymod;%PYTHONPATH%
set GEOTIFF_CSV=%GDAL_DIR%\data
echo -----------------------------------------------------------------------
echo Environment is set for GDAL Utilites v%GDAL_VER%.
echo.
echo Info: %GDAL_DIR%\html\index.html
echo.
echo Available commands:
for %%a in (%GDAL_DIR%\bin\*.exe %GDAL_DIR%\bin\*.bat) do echo %%~na
echo -----------------------------------------------------------------------
:Done
More information about the Gdal-dev
mailing list