Last active
December 10, 2015 21:08
-
-
Save walkermatt/4492765 to your computer and use it in GitHub Desktop.
DOS batch file to run Loader (https://github.com/AstunTechnology/Loader) on Windows using GDAL and python provided by OSGeo4W (installation of which is documented on the wiki)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem DOS batch file to run Loader on Windows using GDAL and python | |
rem provided by OSGeo4W. As this script requires the OSGeo4W environment | |
rem to run it must be passed as an argument to OSGeo4W.bat like so: | |
rem call C:\OSGeo4W\OSGeo4W.bat C:\Temp\Loader\run_loader.bat | |
rem Change to the folder that this script is in (assumes this script is | |
rem in the same folder as the Loader readme) | |
cd /D %~dp0 | |
rem change to the python directory | |
cd python | |
rem Run Loader logging everything to the same file | |
python -u loader.py loader.config 1>> ..\loader.log 2>>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment