Library to read binary MAPS.ME files.
Project description
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:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file mwm-0.10.1.tar.gz
.
File metadata
- Download URL: mwm-0.10.1.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3acec2082a47961141ada5135de3c0aab2c359cdd2fd78f7151ad1e185a5a27f |
|
MD5 | 75eb9326419dd91125a71a2742fa4f1a |
|
BLAKE2b-256 | c07a2670b456e33452839ea6399fcda773fbc5baac05b8d9113e5170c9cdc3c3 |