-
Notifications
You must be signed in to change notification settings - Fork 36
Installation
walkermatt edited this page Nov 10, 2011
·
13 revisions
- Install Python 2.7 using the MSI Installer from http://www.python.org/getit/releases/2.7/
- Install LXML 2.3 for Python 2.7 using the MS Windows installer from http://pypi.python.org/pypi/lxml/2.3
- Install GDAL 1.8 using the OSGeo4W Installer from http://trac.osgeo.org/osgeo4w/
- Download and run the OSGeo4W Installer
- Choose Advanced Install
- 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:
- 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 yourPATH
, changingprep_cmd=python ...
toprep_cmd=C:\python27\python ...
- Open the OSGeo4W Shell by choosing Start > Programs > OSGeo4W > OSGeo4W > OSGeo4W Shell
- Navigate to the python folder of the loader (if you've downloaded the loader to C:\Temp\osmmloader the
cd C:\Temp\osmmloader\python
) - Run the loader by entering the following command
C:\python27\python osmmloader.py osmmloader.config