Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mwm-0.10.1.tar.gz (15.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page