Skip to content
walkermatt edited this page Nov 10, 2011 · 13 revisions

Windows

  1. Install Python 2.7 using the MSI Installer from http://www.python.org/getit/releases/2.7/
  2. Install LXML 2.3 for Python 2.7 using the MS Windows installer from http://pypi.python.org/pypi/lxml/2.3
  3. Install GDAL 1.8 using the OSGeo4W Installer from http://trac.osgeo.org/osgeo4w/
  4. Download and run the OSGeo4W Installer
  5. Choose Advanced Install
  6. 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 osmmloader.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 downloaded the loader to C:\Temp\osmmloader the cd C:\Temp\osmmloader\python)
  4. Run the loader by entering the following command C:\python27\python osmmloader.py osmmloader.config
Clone this wiki locally