PARC / pyosm

A Python library for parsing OSM streams.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyosm

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 directory.

About

A Python library for parsing OSM streams.

License:MIT License


Languages

Language:Python 100.0%