MennoTammens / pyosmium

Python bindings for libosmium

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyosmium

Provides Python bindings for the libosmium C++ library, a library for working with OpenStreetMap data in a fast and flexible manner.

Depends

Python >= 2.7 is supported (that includes python 3.x).

pyosmium uses Boost.Python to create the bindings.

Installation

To compile and install the bindings, simply run

python setup.py install

libosmium is expected to reside in the same directory as pyosmium or to be installed globally.

Examples

The example/ directory contains small examples on how to use the library. They are for most parts ports of the examples in libosmium and osmium/contrib.

Testing

There is a small test suite in the test directory. This provides regression test for the python bindings, it is not meant to be a test suite for libosmium. The suit can be run with:

cd test
python run_tests.py

License

Pyosmium is available under the BSD 2-Clause License. See LICENSE.TXT.

Authors

Sarah Hoffmann (lonvia@denofr.de)

About

Python bindings for libosmium

License:BSD 2-Clause "Simplified" License


Languages

Language:C++ 56.8%Language:Python 43.2%