-
-
Notifications
You must be signed in to change notification settings - Fork 40
Installation
- Home
- Examples and Resources
- Installation (this page)
- Usage
Python This is a Python script, therefore you need a functional Python 2.7 or later environment on your computer. See http://python.org/
Protocol Buffers
The imposm.parser
library (below) utilizes the "Protocol Buffers" library
to read .pbf
files. You will need to download and install the Protocol Buffers library. This can usually be accomplished with something like:
cd /usr/local/src/
wget https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz
tar xzf protobuf-2.6.1.tar.gz
cd protobuf-2.6.1
./configure
make
make check
make install
imposm.parser
curvature makes use of the imposm.parser
which you can find at
imposm.org and installed
with pip
or easy_install
:
pip install imposm.parser
or
easy_install imposm.parser
msgpack
curvature makes use of msgpack
which you can find at
python.org and installed
with pip
or easy_install
:
pip install msgpack-python
or
easy_install msgpack-python
Once your Python environment set up and the imposm.parser
and msgpack-python
modules are installed, just download
Curvature and run one of the provided processing chains:
git clone https://github.com/adamfranco/curvature.git
cd curvature
./processing_chains/adams_default.sh -h
You can run the unit tests for curvature by running the following from the project directory:
py.test