Line | |
---|
1 | @echo off
|
---|
2 | REM ==========================================================================
|
---|
3 | REM This script is normally invoked from FWTools\setfw.bat
|
---|
4 |
|
---|
5 | REM The FWTOOLS_OVERRIDE environment variable allows you to set a the
|
---|
6 | REM install directory in your environment, instead of having to edit
|
---|
7 | REM setfw.bat. This is especially useful if you frequently upgrade to new
|
---|
8 | REM versions, and don't want to have to edit the file every time.
|
---|
9 |
|
---|
10 | IF exist "%FWTOOLS_OVERRIDE%\setfw.bat" SET FWTOOLS_DIR=%FWTOOLS_OVERRIDE%
|
---|
11 |
|
---|
12 | IF exist "%FWTOOLS_DIR%\setfw.bat" goto skip_err
|
---|
13 |
|
---|
14 | echo FWTOOLS_DIR not set properly in setfw.bat, please fix and rerun.
|
---|
15 | goto ALL_DONE
|
---|
16 |
|
---|
17 | :SKIP_ERR
|
---|
18 |
|
---|
19 | PATH=%FWTOOLS_DIR%\bin;%FWTOOLS_DIR%\python;%PATH%
|
---|
20 | set PYTHONPATH=%FWTOOLS_DIR%\pymod
|
---|
21 | set PROJ_LIB=%FWTOOLS_DIR%\proj_lib
|
---|
22 | set GEOTIFF_CSV=%FWTOOLS_DIR%\data
|
---|
23 | set GDAL_DATA=%FWTOOLS_DIR%\data
|
---|
24 | set GDAL_DRIVER_PATH=%FWTOOLS_DIR%\gdal_plugins
|
---|
25 | REM set CPL_DEBUG=ON
|
---|
26 |
|
---|
27 | :ALL_DONE
|
---|
Note: See
TracBrowser
for help on using the repository browser.