Skip to main content

Parses OSM XML files in a fast and reliable way.

Project description

A Python library for parsing OSM streams.

Installation

Assuming Ubuntu 12.04 and an active python virtualenv:

  1. Install build dependencies:

    sudo apt-get install -y build-essential python-dev

  2. Install lxml dependencies:

    sudo apt-get install -y libxml2-dev libxslt-dev

  3. Install requirements:

    pip install -r requirements.txt

  4. Install pyosm:

    python setup.py install

Usage

There are several examples in the [examples](https://github.com/iandees/pyosm/tree/master/examples) directory.

Project details


Release history Release notifications

This version
History Node

0.5.1

History Node

0.4.0

History Node

0.3.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyosm-0.5.1.tar.gz (6.6 kB) Copy SHA256 hash SHA256 Source None May 31, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page