Skip to content
Matt Walker edited this page Mar 15, 2012 · 13 revisions

Windows

  1. Download the ZIP file of the loader from https://github.com/AstunTechnology/Loader/downloads and extract the contents to a folder that you can remember
  2. Install Python 2.7 using the MSI Installer from http://www.python.org/getit/releases/2.7/
  3. Install LXML 2.3 for Python 2.7 using the MS Windows installer from http://pypi.python.org/pypi/lxml/2.3/
  4. Install GDAL 1.8 using the OSGeo4W Installer from http://trac.osgeo.org/osgeo4w/
  5. Download and run the OSGeo4W Installer
  6. Choose Advanced Install
  7. On the Select Packages page expand Commandline_Utilities and Select gdal (1.8.x ) from the list

Once the following has been installed you should have everything required to run the loader. To run the loader:

  1. First configure the loader by editing loader.config in a text editor (see Configuration Examples), you may need to provide the full path to Python in the prep_cmd if python.exe is not in your PATH, changing prep_cmd=python ... to prep_cmd=C:\\python27\\python ...
  2. Open the OSGeo4W Shell by choosing Start > Programs > OSGeo4W > OSGeo4W > OSGeo4W Shell
  3. Navigate to the python folder of the loader (if you've extracted the loader to C:\Temp\Loader then cd C:\Temp\Loader\python)
  4. Run the loader by entering the following command C:\python27\python loader.py loader.config
  5. If something goes wrong or you're not sure what's going on try running in debug mode by entering: C:\python27\python loader.py loader.config debug=True. Debug mode prints out more information as the loader runs and will leave the temporary files it creates.
Clone this wiki locally