Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mapsme/mwm.py
A set of Python libraries to read binary MAPS.ME files
https://github.com/mapsme/mwm.py
Last synced: about 2 months ago
JSON representation
A set of Python libraries to read binary MAPS.ME files
- Host: GitHub
- URL: https://github.com/mapsme/mwm.py
- Owner: mapsme
- License: apache-2.0
- Created: 2017-04-11T09:48:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-20T14:12:54.000Z (over 6 years ago)
- Last Synced: 2024-09-16T06:51:22.838Z (4 months ago)
- Language: Python
- Homepage: https://pypi.org/project/mwm/
- Size: 29.3 KB
- Stars: 5
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
mwm.py
======It is a python library to read contents of MAPS.ME mwm files. Not
everything is supported, but you can get at least all the features and
their attributes. We at MAPS.ME use this script to do analytics and
maintenance.Installation
------------::
pip install mwm
Usage
-----Just add ``import mwm`` to your script, and read an mwm file with:
.. code:: python
with open('file.mwm', 'rb') as f:
data = mwm.MWM(f)Tools
-----The package installs the ``mwmtool`` command-line script. It shows
statistics about an MWM file, can search for features or convert ids.
Run it with ``-h`` to see a list of options.The script source can serve as a library usage example.
License
-------Written by Ilya Zverev for MAPS.ME. Published under the Apache License
2.0.