Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mvexel/python-osmium-examples

A set of examples showing practical usage of PyOsmium, a thin wrapper around the osmium library.
https://github.com/mvexel/python-osmium-examples

Last synced: 24 days ago
JSON representation

A set of examples showing practical usage of PyOsmium, a thin wrapper around the osmium library.

Awesome Lists containing this project

README

        

# Python Osmium Examples

This is a set (currently of size 1) of examples showing practical usage of PyOsmium, a thin wrapper around the osmium library.

If you have other useful scripts, please submit a pull request to include them. If you do, please also update `setup.py` accordingly. See the [Click documentation](https://click.palletsprojects.com/en/8.0.x/setuptools/#setuptools-integration) for information.

## How to install

```bash
git clone [email protected]:mvexel/python-osmium-examples.git
cd python-osmium-examples
python3 -m venv venv
source venv/bin/activate
pip install .
```

## The Scripts

You can get basic syntax help by calling the script with `--help`.

### count_highway_mappers

Counts edits to major highways by user. The result is written as a CSV file with one row per mapper and one column per highway value.

The highway tag values to include are hard-coded in the script.