Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mvexel/python-osmium-examples
- Owner: mvexel
- License: apache-2.0
- Created: 2022-01-26T01:28:28.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-29T13:40:20.000Z (almost 2 years ago)
- Last Synced: 2024-10-21T23:08:21.915Z (2 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.